-
Notifications
You must be signed in to change notification settings - Fork 4
/
.laptop.local
134 lines (134 loc) · 5.2 KB
/
.laptop.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#!/bin/sh
#brew_cask_expand_alias() {
#brew cask info "$1" 2>/dev/null | head -1 | awk '{gsub(/:/, ""); print $1}'
#}
#
#brew_cask_is_installed() {
#local NAME=$(brew_cask_expand_alias "$1")
#brew cask list -1 | grep -Fqx "$NAME"
#}
#
#brew_cask_install() {
#if ! brew_cask_is_installed "$1"; then
#brew cask install "$@"
#fi
#}
#
#brew_cask_install_or_upgrade() {
#if brew_cask_is_installed "$1"; then
#echo "$1 is already installed, brew cask upgrade is not yet implemented"
#else
#brew cask install "$@"
#fi
#}
#
#append_to_zshrc 'alias nginx.start="sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist"'
#append_to_zshrc 'alias nginx.stop="sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist"'
#append_to_zshrc 'alias nginx.restart="nginx.stop && nginx.start"'
#
#append_to_zshrc 'PHP_AUTOCONF="$(which autoconf)"'
#append_to_zshrc 'export PATH="$(brew --prefix homebrew/php/php56)/sbin:$PATH"'
#append_to_zshrc 'alias php-fpm.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist"'
#append_to_zshrc 'alias php-fpm.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist"'
#append_to_zshrc 'alias php-fpm.restart="php-fpm.stop && php-fpm.start"'
#
#
#append_to_zshrc 'alias mysql.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist"'
#append_to_zshrc 'alias mysql.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist"'
#append_to_zshrc 'alias mysql.restart="mysql.stop && mysql.start"'
#append_to_zshrc 'alias nginx.logs.error="tail -250f /usr/local/etc/nginx/logs/error.log"'
#append_to_zshrc 'alias nginx.logs.access="tail -250f /usr/local/etc/nginx/logs/access.log"'
#append_to_zshrc 'alias nginx.logs.default.access="tail -250f /usr/local/etc/nginx/logs/default.access.log"'
#append_to_zshrc 'alias nginx.logs.default-ssl.access="tail -250f /usr/local/etc/nginx/logs/default-ssl.access.log"'
#append_to_zshrc 'alias nginx.logs.phpmyadmin.error="tail -250f /usr/local/etc/nginx/logs/phpmyadmin.error.log"'
#append_to_zshrc 'alias nginx.logs.phpmyadmin.access="tail -250f /usr/local/etc/nginx/logs/phpmyadmin.access.log"'
#brew_tap 'homebrew/dupes'
#brew_tap 'caskroom/cask'
#brew_tap 'homebrew/nginx'
#brew_tap 'caskroom/versions'
#
#brew_tap 'josegonzalez/php'
#brew_tap 'homebrew/php'
#
#brew update
#
#brew_install_or_upgrade --without-apache --with-fpm --with-mysql php56
#
#mkdir -p ~/Library/LaunchAgents
#brew_install_or_upgrade 'mysql'
#brew_install_or_upgrade 'nginx'
#mkdir -p /usr/local/etc/nginx/logs
#mkdir -p /usr/local/etc/nginx/sites-enabled
#
#brew_install_or_upgrade 'autoconf'
#brew_install_or_upgrade 'phpmyadmin'
#brew_install_or_upgrade 'php56-mcrypt'
#brew_install_or_upgrade 'josegonzalez/php/composer'
#
#brew_install_or_upgrade 'brew-cask'
#brew_install_or_upgrade 'exif'
#brew_install_or_upgrade 'exiftags'
#brew_install_or_upgrade 'exiftool'
#brew_install_or_upgrade 'ffmpeg'
#brew_install_or_upgrade 'ffmpeg'
#brew_install_or_upgrade 'ffmpeg2theora'
#brew_install_or_upgrade 'ffmpegthumbnailer'
#brew_install_or_upgrade 'flac'
#brew_install_or_upgrade 'imagemagick'
#brew_install_or_upgrade 'phpunit'
#
#brew_install_or_upgrade 'python'
#brew_install_or_upgrade 'theora'
#brew_install_or_upgrade 'wget'
#
#ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
#launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
#sudo cp -v /usr/local/opt/nginx/*.plist /Library/LaunchDaemons/
#sudo chown root:wheel /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
#sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
#sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
#
#cp /usr/local/opt/php56/homebrew.mxcl.php56.plist ~/Library/LaunchAgents/
#launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist
#
#brew_cask_install_or_upgrade 'adventure'
#brew_cask_install_or_upgrade 'alfred'
#brew_cask_install_or_upgrade 'caffeine'
#brew_cask_install_or_upgrade 'chromecast'
#brew_cask_install_or_upgrade 'dropbox'
#brew_cask_install_or_upgrade 'droplr'
#brew_cask_install_or_upgrade 'electric-sheep'
#brew_cask_install_or_upgrade 'firefox'
#brew_cask_install_or_upgrade 'flash'
#brew_cask_install_or_upgrade 'flux'
#brew_cask_install_or_upgrade 'google-chrome'
#brew_cask_install_or_upgrade 'google-drive'
#brew_cask_install_or_upgrade 'iterm2'
#brew_cask_install_or_upgrade 'istat'
#brew_cask_install_or_upgrade 'java'
#brew_cask_install_or_upgrade 'paintbrush'
#
#brew_cask_install_or_upgrade 'phpstorm-eap'
#
#brew_cask_install_or_upgrade 'sequel-pro'
#brew_cask_install_or_upgrade 'skype'
#brew_cask_install_or_upgrade 'slack'
#brew_cask_install_or_upgrade 'spotify'
#brew_cask_install_or_upgrade 'sublime-text3'
#brew_cask_install_or_upgrade 'teamviewer'
#brew_cask_install_or_upgrade 'textexpander'
#brew_cask_install_or_upgrade 'transmit'
#brew_cask_install_or_upgrade 'transmission'
#brew_cask_install_or_upgrade 'vagrant'
#brew_cask_install_or_upgrade 'virtualbox'
#brew_cask_install_or_upgrade 'vlc'
#
#brew_cask_install_or_upgrade 'adobe-creative-cloud'
#brew_cask_install_or_upgrade 'skyfonts'
#brew_cask_install_or_upgrade 'glueprint'
#brew_cask_install_or_upgrade 'dash'
#brew_cask_install_or_upgrade 'cactus'
#brew_cask_install_or_upgrade 'sketch-toolbox'
#
#brew update
#brew cleanup