Skip to content

Instantly share code, notes, and snippets.

View revington's full-sized avatar
🎸
hey ho lets go!

Pedro Narciso García Revington revington

🎸
hey ho lets go!
View GitHub Profile
@msmith
msmith / couchdb-ec2-install.sh
Created August 25, 2011 17:26
Set up CouchDB on EC2
#!/bin/bash
#
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance.
#
# Must be run with root privileges
# Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5)
#
export BUILD_DIR="$PWD"
var foo = {
a: {
b: {
c: 456
}
}
};
function getProp(obj, path) {
return path.split('.').reduce(function (prev, curr) {
@mruediger
mruediger / USB Bootstick.md
Last active December 8, 2020 16:09
USB Bootstick for multiple isos using UEFI and BIOS

This small Howto is about setting up a USB stick to boot different iso files using grub's loopback capability. I only tested this on Fedora, but it should also work on other Linux distributions.

First, lets find the USB Stick

lsblk

This should give you a list of all your block devices. My stick is found as /dev/sdc

Then we need to partition the USB stick using GPT.

  • we will use gdisk sudo gdisk /dev/USBDEV
  • create a new empty partition table by pressing o
@skevy
skevy / .babelrc
Created December 15, 2015 17:06
Transformer.js and babelrc for RN + Relay
{
"retainLines": true,
"compact": true,
"comments": false,
"plugins": [
"syntax-flow",
"transform-decorators-legacy",
"transform-function-bind",
"transform-export-extensions",
"transform-class-constructor-call",