Skip to content

Instantly share code, notes, and snippets.

View IngCr3at1on's full-sized avatar
🛠️
Working from home

Nathan Bass IngCr3at1on

🛠️
Working from home
View GitHub Profile
@IngCr3at1on
IngCr3at1on / Android.mk
Created October 12, 2013 07:13
nandroid_backup backup custpack
# Put this after quick fixes.
ifdef RECOVERY_DEVICE_USES_CUSTPACK
LOCAL_CFLAGS += -DRECOVERY_DEVICE_USES_CUSTPACK=true
endif
@IngCr3at1on
IngCr3at1on / bitcoindepends-ubuntu1204.sh
Last active November 9, 2015 20:34
Bitcoin depends
#!/bin/sh
sudo apt-get update
sudo apt-get -y install python-software-properties
sudo add-apt-repository -y ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get -y install \
build-essential \
git \
libboost-all-dev \
package stringsplus
import (
"strings"
)
// SplitX works similarly to strings.SplitN except instead of splitting into
// a given number of strings it splits on the given index of the split string.
func SplitX(s, sep string, x int) []string {
return splitX(s, sep, 0, x)

Keybase proof

I hereby claim:

  • I am ingcr3at1on on github.
  • I am ingcr3at1on (https://keybase.io/ingcr3at1on) on keybase.
  • I have a public key ASB40_Hnv7V-dkNq0UoyA2_unmUm919Vx1nOAcK7P-bwOgo

To claim this, I am signing this object:

@IngCr3at1on
IngCr3at1on / fancontrol.go
Last active September 6, 2019 05:37
dell ipmi fan override
package main
import (
"bytes"
"flag"
"fmt"
"os"
"os/exec"
"strconv"
"strings"
@IngCr3at1on
IngCr3at1on / cmd_internal_auth.go
Created September 30, 2019 15:45
Gmail delete by query
package internal
import (
"context"
"encoding/json"
"fmt"
"net/http"
"os"
"golang.org/x/oauth2"
@IngCr3at1on
IngCr3at1on / certman-prod.yaml
Created December 15, 2019 18:54
dns challenge (for either internal or external TLS)
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
namespace: cert-manager
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: <your email>