Skip to content

Commit

Permalink
🎉 初始化 dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
GodD6366 committed Sep 27, 2022
1 parent 288e55f commit e3ddd53
Show file tree
Hide file tree
Showing 14 changed files with 2,126 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: macOS

on:
push:
branches:
- master

jobs:
ci:
runs-on: macos-latest
steps:
- run: curl -o- https://raw.githubusercontent.com/SukkaW/dotfiles/master/_install/macos.zsh | zsh
12 changes: 12 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Ubuntu

on:
push:
branches:
- master

jobs:
ci:
runs-on: ubuntu-latest
steps:
- run: curl -o- https://raw.githubusercontent.com/SukkaW/dotfiles/master/_install/wsl.sh | bash
107 changes: 107 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
tap "buo/cask-upgrade"
tap "cloudflare/cloudflare"
tap "github/gh"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
tap "homebrew/core"
tap "homebrew/services"
tap "jesseduffield/lazygit"
brew "axel"
brew "openjdk"
brew "bfg"
brew "bind"
brew "cmake"
brew "curl"
brew "dua-cli"
brew "fd"
brew "fnm"
brew "fontforge"
brew "fzf"
brew "gawk"
brew "gh"
brew "git"
brew "git-lfs"
brew "go"
brew "graphviz"
brew "gsmartcontrol"
brew "imagemagick"
brew "jq"
brew "protobuf"
brew "knot"
brew "lazygit"
brew "mas"
brew "nano"
brew "ncdu"
brew "neofetch"
brew "nmap"
brew "openjdk@11"
brew "openjdk@8"
brew "pyenv"
brew "pyenv-virtualenv"
brew "qemu"
brew "six"
brew "telnet"
brew "thefuck"
brew "tree"
brew "wgcf"
brew "wget"
brew "whois"
brew "zsh"
brew "cloudflare/cloudflare/cloudflared"
cask "android-file-transfer"
cask "android-platform-tools"
cask "anydesk"
cask "appcleaner"
cask "discord"
cask "docker"
cask "exifcleaner"
cask "firefox"
cask "firefox-developer-edition"
cask "font-jetbrains-mono"
cask "font-jetbrains-mono-nerd-font"
cask "google-chrome"
cask "google-chrome-canary"
cask "hackintool"
cask "iina"
cask "intel-power-gadget"
cask "iterm2"
cask "keka"
cask "kekaexternalhelper"
cask "maccy"
cask "maczip"
cask "microsoft-auto-update"
cask "microsoft-office"
cask "motrix"
cask "neteasemusic"
cask "qlcolorcode"
cask "qlimagesize"
cask "qlmarkdown"
cask "qlstephen"
cask "qlvideo"
cask "quicklook-json"
cask "quicklookase"
cask "scroll-reverser"
cask "sensiblesidebuttons"
cask "shottr"
cask "signal"
cask "snipaste"
cask "sogouinput"
cask "surge"
cask "switchhosts"
cask "telegram"
cask "temurin"
cask "tencent-meeting"
cask "textmate"
cask "unnaturalscrollwheels"
cask "visual-studio-code"
cask "webpquicklook"
cask "wireshark"
mas "AdGuard for Safari", id: 1440147259
mas "FastZip", id: 1565629813
mas "iRightMouse Lite", id: 1552554632
mas "Numbers", id: 409203825
mas "Rayon", id: 1609781496
mas "uBlacklist for Safari", id: 1547912640
mas "Xcode", id: 497799835
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# dotfiles
🔧 My development environment and config

## Usage

### macOS Setup

```bash
curl -o- https://raw.githubusercontent.com/SukkaW/dotfiles/master/_install/macos.zsh | zsh
```

### WSL Ubuntu Setup

```bash
curl -o- https://raw.githubusercontent.com/SukkaW/dotfiles/master/_install/wsl.sh | bash
```


> Fork From [SukkaW/dotfiles](https://github.com/SukkaW/dotfiles)
13 changes: 13 additions & 0 deletions _init/docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

echo "创建名为docker的组"
sudo groupadd docker

echo "将当前用户加入组docker"
sudo gpasswd -a ${USER} docker

echo "重启docker服务"
sudo systemctl restart docker

echo "添加访问和执行权限"
sudo chmod a+rw /var/run/docker.sock
Loading

0 comments on commit e3ddd53

Please sign in to comment.