I hereby claim:
- I am hibooboo2 on github.
- I am wizardofmath (https://keybase.io/wizardofmath) on keybase.
- I have a public key whose fingerprint is F402 0FF9 F8F3 E7D7 3D5F B9D3 A67F 3BFB 02C5 7B31
To claim this, I am signing this object:
package main | |
import ( | |
"time" | |
"github.com/janeczku/go-spinner" | |
) | |
func main() { | |
s := spinner.StartNew("This may take some while...") |
package main | |
func main() { | |
items := map[string]interface{}{ | |
"boom": "man", | |
"sweet": "awesome", | |
"ok": "another", | |
"able": "able", | |
"about": "about", | |
"above": "above", |
package main | |
import ( | |
"database/sql" | |
"fmt" | |
_ "github.com/cznic/ql/driver" | |
) | |
var tables = [...]string{`CREATE TABLE IF NOT EXISTS things ( |
I hereby claim:
To claim this, I am signing this object:
package dev | |
import ( | |
"fmt" | |
"log" | |
"runtime" | |
"strings" | |
) | |
func notImplemented() error { |
set -x | |
: ${PORT:=443} | |
: ${DOMAIN:=example.com} | |
openssl s_client -showcerts -connect ${DOMAIN}:${PORT} </dev/null 2>/dev/null|openssl x509 -outform PEM >ca.crt | |
sudo cp ca.crt /etc/docker/certs.d/${DOMAIN}/ca.crt | |
cat ca.crt | sudo tee -a /etc/ssl/certs/ca-certificates.crt | |
sudo service docker restart |
# ------------- SCRIPT ------------- # | |
#!/bin/bash | |
echo | |
echo "# arguments called with ----> ${@} " | |
echo "# \$1 ----------------------> $1 " | |
echo "# \$2 ----------------------> $2 " | |
echo "# path to me ---------------> ${0} " | |
echo "# parent path --------------> ${0%/*} " |
[core] | |
editor = gedit -w | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] |
void makeFolder(String folderLocation) | |
{ | |
File f= new File(folderLocation); | |
try | |
{ | |
if (f.mkdir()) | |
{ | |
System.out.println("Directory Created"); | |
} |
File logFile= new File(this.logFileName); | |
if (!logFile.exists()) | |
{ | |
try | |
{ | |
logFile.createNewFile(); | |
} | |
catch (IOException e) | |
{ | |
System.out.println("IOExeception from writing to log. Can't access log file or make one."); |