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
| # 192.168.123.234 your server ip | |
| 192.168.123.234 mqtt.bj.cleargrass.com | |
| 192.168.123.234 gateway.cleargrass.com | |
| 192.168.123.234 qing.cleargrass.com | |
| 192.168.123.234 cn.ots.io.mi.com | |
| 192.168.123.234 cn.ot.io.mi.com | |
| 192.168.123.234 baidu.com | |
| 192.168.123.234 www.baidu.com | |
| 192.168.123.234 qingosapi.dev.cleargrass.com | |
| 192.168.123.234 vip3.alidns.com |
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
| start ms-cxh:localonly |
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
| # install ubuntu in virtual machine | |
| # https://ubuntuforums.org/showthread.php?t=1481300 | |
| # Get arch type of ubuntu | |
| # i686 = 32 bit | |
| # x86_64 = 64 bit | |
| uname -m | |
| # download forticlient | |
| https://hadler.me/linux/forticlient-sslvpn-deb-packages |
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
| sudo apt-get install expect | |
| wget https://hadler.me/files/forticlient-sslvpn_4.4.2333-1_amd64.deb | |
| sudo dpkg -i forticlient-sslvpn_4.4.2333-1_amd64.deb | |
| /opt/forticlient-sslvpn/64bit/helper/setup | |
| cat > sslvpn << EOF | |
| #!/usr/bin/expect -f |
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
| # root@pve2:/etc/apt/sources.list.d# lspci | grep -i real | |
| # 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8125 (rev 05) | |
| # boot up with "DEBUG" mode | |
| # ctrl-d for the first prompt | |
| # connect another thethering network ... | |
| ip addr show | |
| ip link set enp12s0f3u3 up |
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
| function create_clientlist_listview() { | |
| all_list = []; | |
| wired_list = []; | |
| wl1_list = []; | |
| wl2_list = []; | |
| wl3_list = []; | |
| if (document.getElementById("clientlist_viewlist_block") != null) { | |
| removeElement(document.getElementById("clientlist_viewlist_block")); | |
| } | |
| var divObj = document.createElement("div"); |
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
| export GPG_TTY=$(tty) | |
| # https://github.com/keybase/keybase-issues/issues/2798 |
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
| https://drive.google.com/drive/folders/14jpjmTpV6zpgyDiZVMoFPhkrn9RG91D7?usp=sharing |
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
| #I'm using gitlab-ce docker image, at this moment: 04/2020 | |
| #cd: /var/opt/gitlab/git-data/repositories | |
| #locating .bundle files here | |
| find . -type f | grep -i '.bundle' | while read i; do | |
| dir=`dirname "$i"`; | |
| pushd "$dir"; | |
| git clone `basename "$i"` --bare; | |
| popd; | |
| done |
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
| ; -- START GCODE -- | |
| G21 ;set units to millimetres | |
| G90 ;set to absolute positioning | |
| M106 S0 ;set fan speed to zero (turned off) | |
| G28 X Y ;home all axis | |
| M420 S1 ;turn on mesh bed levelling if enabled in firmware | |
| G92 E0 ;zero the extruded length | |
| G1 Z1 F1000 ;move up slightly | |
| G1 X5 Y60.0 Z0 E9.0 F1000.0;intro line | |
| G1 Y100.0 E21.5 F1000.0 ;continue line |
NewerOlder