git config --global url."https://${GITHUB_TOKEN}:[email protected]/".insteadOf "https://github.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
8OOOOOOOOOOOO | |
DOOOOOOOOOOOOOOOOOO | |
OOOOOO8 8OOOOOO | |
DOOOOO 8OOOOO | |
8OOOO OOOOO | |
OOOO OOOO | |
OOOO OOOO | |
88OOOO88OOOOO8OOOOO OOOOO8OOOOOOOOOO8888 | |
OOOOOOOOOOOOOOOOOOOOOOOOOO 8OOOOOOOOOOOOOOOOOOOOOOOOO8 | |
OO77777777777777777777$OOOOOOOOOOO888$$$$$$$$$$$$$$$$$$$$OO8 |
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 ( | |
"fmt" | |
"net" | |
) | |
func main() { | |
fmt.Println(GetIPAddress()) | |
} |
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 ( | |
"io/ioutil" | |
) | |
func readFile(file string) (string, error) { | |
data, err := ioutil.ReadFile(file) | |
if err != nil { | |
return "", err |
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
import ( | |
"io/ioutil" | |
"log" | |
"sort" | |
vendorfile "github.com/kardianos/govendor/vendorfile" | |
) | |
func readFile(file string) (string, error) { | |
data, err := ioutil.ReadFile(file) |
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 ( | |
"net/http" | |
"os" | |
) | |
func main() { | |
port := os.Getenv("PORT") | |
if port == "" { |
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
# Update system | |
sudo apt-get update && sudo apt-get upgrade | |
# Enable PPA | |
sudo apt-get install software-properties-common | |
# Install TLP to save battery and prevent overheating | |
sudo apt install tlp tlp-rdw | |
# Install Google Chrome |
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
/* VS Code 1.17 */ | |
{ | |
"editor.minimap.enabled": false, | |
"editor.renderIndentGuides": false, | |
"editor.renderWhitespace": "all", | |
"editor.roundedSelection": false, | |
"editor.tabSize": 8, | |
"extensions.autoUpdate": false, | |
"extensions.ignoreRecommendations": true, | |
"files.insertFinalNewline": true, |
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 ( | |
"context" | |
"os" | |
"os/signal" | |
"syscall" | |
"time" | |
) |
I hereby claim:
- I am ariefrahmansyah on github.
- I am ariefrahmansyah (https://keybase.io/ariefrahmansyah) on keybase.
- I have a public key ASBgdfGLLmNFh244WvWZc9Bgazl0y2GBjm8YvSiQ1g2zHwo
To claim this, I am signing this object:
OlderNewer