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
| helm ls --all | grep DELETED | awk '{print $1}' | xargs -I% helm delete % --purge |
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
| version: "3" | |
| services: | |
| shadowsocks: | |
| image: shadowsocks/shadowsocks-libev | |
| entrypoint: ss-local -s $SERVER_ADDR -p $SERVER_PORT -k $PASSWORD -m $METHOD -l 1080 -b 0.0.0.0 | |
| polipo: | |
| image: lsiocommunity/polipo | |
| depends_on: |
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
| version: '3' | |
| services: | |
| redmine: | |
| image: redmine | |
| restart: always | |
| ports: | |
| - 3000:3000 | |
| environment: |
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
| for /r %%i in (*_ani) do apng2gif %%i -b "#EBEBEB" | |
| for /r %%i in (*.gif) do aseprite -b %%i --save-as %%i.gif |
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
| // Observable ... | |
| type Observable interface{} | |
| // Callback ... | |
| type Callback func(Observable) | |
| // Human ... | |
| type Human struct { | |
| name string | |
| } |
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
| package common | |
| import ( | |
| "io" | |
| "os" | |
| "strconv" | |
| pb "gopkg.in/cheggaaa/pb.v1" | |
| "github.com/sirupsen/logrus" |
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
| package main | |
| import ( | |
| "archive/tar" | |
| "compress/gzip" | |
| "fmt" | |
| "io" | |
| "os" | |
| "path/filepath" | |
| ) |
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
| #!/usr/bin/env python | |
| import subprocess | |
| import threading | |
| import time | |
| def call_async(on_exit, *popen_args, **popen_kw_args): | |
| def run_in_thread(on_exit): | |
| result_code = proc.wait() |
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
| { | |
| "server": "server ip", | |
| "server_port": server port, | |
| "local_port": local port, | |
| "password": "server password", | |
| "timeout": timeout time, | |
| "method": "encrypt method" | |
| } |
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": "A", | |
| "nodes": [ | |
| { | |
| "name": "B", | |
| "nodes": [ | |
| { | |
| "name": "E" | |
| } |