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
// ==UserScript== | |
// @name Stop the Medium The Pay Wall | |
// @namespace StopThePayWall | |
// @version 1 | |
// @include *medium* | |
// @include *datascience* | |
// ==/UserScript== | |
async function abc () { | |
var resp = (await fetch(location, { "credentials": "omit", "headers": { "Accept": "text/html,text/xhtml,text/xml,*/*", "Connection": "keep-alive", }, "method": "GET", "mode": "cors" })); |
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
apiVersion: machine.openshift.io/v1beta1 | |
kind: MachineSet | |
metadata: | |
labels: | |
machine.openshift.io/cluster-api-cluster: aravindh-winc-6h9df | |
name: aravindh-winc-6h9df-windows-worker-a | |
namespace: openshift-machine-api | |
spec: | |
replicas: 1 | |
selector: |
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
#!/bin/bash | |
# Usage: buildall [-e] [-cmp] [-work] | |
# | |
# Builds everything (std) for every GOOS/GOARCH combination but installs nothing. | |
# | |
# By default, runs the builds with -toolexec 'toolstash -cmp', to test that the | |
# toolchain is producing bit identical output to a previous known good toolchain. | |
# | |
# Options: |
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 | |
// Core | |
import ( | |
"fmt" | |
"io" | |
// Crypto, core | |
"crypto/aes" | |
"crypto/cipher" |
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
{ | |
"id": "nsqadmin-http", | |
"kind": "Service", | |
"apiVersion": "v1beta1", | |
"port": 14171, | |
"protocol": "TCP", | |
"selector": { "name": "nsqadmin" } | |
} | |
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 ( | |
"log" | |
"os" | |
"strings" | |
gq "github.com/PuerkitoBio/goquery" | |
) |
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" | |
"log" | |
"mime/multipart" | |
"net/http" | |
"os" | |
"path/filepath" | |
"runtime" |
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
#!/bin/bash | |
# password and hash pair generation with apg, htpasswd/bcrypt | |
# example usage: | |
# source this file or include the passnhash function in your .bash_profile/.bashrc | |
# then: `passnhash 0 35 14` | |
# prerequisites: | |
# 1) recent version of htpasswd that supports bcrypt (-B flag) | |
# deb: `apt-get install apache2-utils` |
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 ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
"runtime" | |
) |
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 ( | |
"log" | |
"net" | |
"os" | |
"os/user" | |
"code.google.com/p/go.crypto/ssh" | |
"code.google.com/p/go.crypto/ssh/agent" |
NewerOlder