docker pull gcr.io/google_containers/kube-apiserver-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-controller-manager-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-proxy-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-scheduler-amd64:v1.5.0
docker pull weaveworks/weave-npc:1.8.2
docker pull weaveworks/weave-kube:1.8.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Swift syntax highlighting for Vim | |
| # Original Source: http://wingsquare.com/blog/swift-script-syntax-highlighting-and-indentation-for-vim-text-editor/ | |
| # Another helpful article: https://billyto.github.io/blog/swift-syntax-vim | |
| # More about Vim packages: http://vimcasts.org/episodes/packages/ | |
| echo "--- creating ~/.vim/pack/bundle/start dir.." | |
| mkdir -p ~/.vim/pack/bundle/start | |
| echo "--- Cloning Apple's Swift repo.." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface "eth1" { | |
| # 发送终端名,这个抓盒子发的包直接送出去就好了,是个32字节的字符串 | |
| send host-name "00109199************************"; | |
| # 发送机顶盒的MAC地址,我的华为的盒子是54:93:59开头的 | |
| send dhcp-client-identifier "\054:93:59:**:**:**"; | |
| # 电信用了Option60验证终端是否为盒子,按照抓包出来的字符串原样发送 | |
| send vendor-class-identifier "SCITV"; | |
| request subnet-mask, rfc3442-classless-static-routes, static-routes, | |
| routers, domain-name-servers, host-name, domain-name, | |
| interface-mtu, broadcast-address, ntp-servers, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #EXTM3U name="四川电信IPTV" | |
| #EXTINF:-1,CCTV-1高清 | |
| http://192.168.2.2/rtp/239.93.0.184:5140 | |
| #EXTINF:-1,CCTV-2高清 | |
| http://192.168.2.2/rtp/239.93.1.23:6000 | |
| #EXTINF:-1,CCTV-3高清 | |
| http://192.168.2.2/rtp/239.93.1.11:2223 | |
| #EXTINF:-1,CCTV-5高清 | |
| http://192.168.2.2/rtp/239.93.1.12:2224 | |
| #EXTINF:-1,CCTV-6高清 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Reset VMware Fusion Networking | |
| # Clear out the Configuration | |
| sudo rm -f "Library/Preferences/VMware Fusion/networking" | |
| sudo rm -f "Library/Preferences/VMware Fusion/locations" | |
| sudo rm -f /Library/Preferences/VMware\ Fusion/networking* | |
| sudo rm -f /Library/Preferences/VMware\ Fusion/*location* | |
| sudo rm -rf /Library/Preferences/VMware\ Fusion/vmnet* | |
| sudo rm -rf /var/db/vmware/vmnet-dhcpd-vmnet* |
A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe.
- Copy the code into a file OR download the script and save it as reset_mamp4.sh
- Open the Terminal app and write
chmod +xthen drag and drop the file on the Terminal. You should have something likechmod +x reset_mamp4.sh. Press Enter to run it. - Now, run the file itself by dragging and dropping it on the Terminal (something like
reset_mamp4.sh) then pressing Enter. - Open MAMP PRO and check if you have 14 days left now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " ------------------------------ | |
| " Name: vimrc for windows | |
| " Author: keelii | |
| " Email: keeliizhou@gmail.com | |
| " ------------------------------ | |
| " Startup {{{ | |
| filetype indent plugin on | |
| augroup vimrcEx |
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
| B085E65E 2F5F5360 8489D422 FB8FC1AA | |
| 93F6323C FD7F7544 3F39C318 D95E6480 | |
| FCCC7561 8A4A1741 68FA4223 ADCEDE07 |
NewerOlder