Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
// The tshello server demonstrates how to use Tailscale as a library. | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"html" | |
"log" | |
"net/http" | |
"strings" |
{ | |
auto_https off | |
} | |
:443 { | |
bind tailscale+tls/app | |
handle / { | |
reverse_proxy / http://192.168.1.1:29552 | |
} |
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
# Retrieving credentials | |
(echo protocol=https; echo url=https://clly@github.com; echo host=github.com) | git-credential-manager-core get | |
# OR | |
(echo url=https://clly@github.com) | git credential fill | |
## To replace credentials use the INPUT/OUTPUT format in git-credentials[1]: https://git-scm.com/docs/git-credential#IOFMT | |
cat <<EOF | git-credential-manager-core store | |
protocol=https |
RUN apt-get update && apt-get install -y \ | |
packages\ | |
&& rm -rf /var/lib/apt/lists/* |
package main | |
import ( | |
"bytes" | |
"code.google.com/p/go.crypto/openpgp" | |
"encoding/base64" | |
"io/ioutil" | |
"log" | |
"os" | |
) |
I hereby claim:
To claim this, I am signing this object:
sc stop DiagTrack | |
sc stop diagnosticshub.standardcollector.service | |
sc stop dmwappushservice | |
sc stop WMPNetworkSvc | |
sc stop WSearch | |
sc config DiagTrack start= disabled | |
sc config diagnosticshub.standardcollector.service start= disabled | |
sc config dmwappushservice start= disabled | |
REM sc config RemoteRegistry start= disabled |
// Author: Connor Kelly | |
import ( | |
"fmt" | |
"log" | |
"github.com/gocql/gocql" | |
) | |
func main() { | |
cluster := gocql.NewCluster("127.0.0.1") |