This file contains 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
@echo off | |
echo Dell iDRAC 6 SSL Key upload system | |
echo. | |
echo ===[credentials]=== | |
set default_hostname=your.idrac.address | |
rem Host Section | |
set /p host="Host (Default. %default_hostname%): " | |
IF NOT DEFINED host ( |
This file contains 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 | |
TOKEN="YOUR_TOKEN_HERE" # The API v2 OAuth token | |
ACCOUNT_ID="YOUR_ACCOUNT_ID_HERE" # Replace with your account ID | |
ZONE_ID="example.com" # The zone ID is the name of the zone (or domain) | |
RECORD_ID="42424242" # Replace with the Record ID | |
IP=`curl -s -4 v4.ifconfig.co` # or provide your own value | |
curl -H "Authorization: Bearer $TOKEN" \ | |
-H "Content-Type: application/json" \ | |
-H "Accept: application/json" \ | |
-X "PATCH" \ |
This file contains 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/sh | |
####################################################### | |
# | |
# Edits the proxmox Subscription file to make it | |
# think that it has a Subscription. | |
# | |
# Will disable the annoying login message about | |
# missing subscription. | |
# |
This file contains 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" | |
_ "unsafe" | |
) | |
//go:linkname goarm runtime.goarm | |
var goarm uint8 |
This file contains 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
Warning, raw notes below... | |
Functions: | |
DEFINES | |
input("email", "text", title: "E-mail", description: "Your neviweb® account login e-mail") | |
input("password", "password", title: "Password", description: "Your neviweb® account login password") | |
input("gatewayname", "text", title: "Network Name:", description: "Name of your neviweb® network") | |
input("devicename", "text", title: "Device Name:", description: "Name of your neviweb® thermostat") |
An experimental change for fast Clojure REPL startup:
- Download the JAR: clojure-1.8.0-fast.jar
- Launch it via
java -jar clojure-1.8.0-fast.jar
The code used to create this JAR is on GitHub.
What's it doing?
It is:
This file contains 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 | |
// This is a basic example of running an nsqd instance embedded. It creates | |
// and runs an nsqd with all of the default options, and then produces | |
// and consumes a single message. You are probably better off running a | |
// standalone instance, but embedding it can simplify deployment and is | |
// useful in testing. | |
// See https://github.com/nsqio/nsq/blob/master/nsqd/options.go and | |
// https://github.com/nsqio/nsq/blob/master/apps/nsqd/nsqd.go for |
This file contains 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
$ cd ~/.boot2docker | |
$ curl http://static.dockerfiles.io/boot2docker-v1.2.0-virtualbox-guest-additions-v4.3.14.iso > boot2docker.iso | |
$ boot2docker init | |
$ VBoxManage sharedfolder add boot2docker-vm -name home -hostpath /Users | |
$ boot2docker up | |
$ boot2docker ssh "sudo modprobe vboxsf && mkdir -v -p /Users && sudo mount -v -t vboxsf -o uid=0,gid=0 home /Users" |
This file contains 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/sh | |
# | |
# aixsetup.sh: Set up an AIX 6.1 server to have all the prerequisites to run Omnibus. | |
# | |
# Authors: Scott Hain (<shain@getchef.com>), Julian Dunn (<jdunn@getchef.com>) | |
# | |
# Notes: | |
# 1. /bin/sh is actually ksh. Your bashisms ain't gonna work here, sonny! | |
# 2. Run this script as superuser. | |
# 3. I've tried to be clear about what requires GNU Make and what requires BSD make |
NewerOlder