Skip to content

Instantly share code, notes, and snippets.

View ailispaw's full-sized avatar
🏠
Working from home

A.I. ailispaw

🏠
Working from home
View GitHub Profile
@diyism
diyism / BargeOS on Digitalocean
Last active March 26, 2021 14:38
BargeOS on Digitalocean
1.download latest release barge.img file (13MB) from: https://github.com/bargees/barge-os/releases
2.login and goto https://cloud.digitalocean.com/images/custom_images
3.click "Upload Image" and select barge.img to upload
4.Create Droplets/Custom images/barge.img
5.ssh bargee@<vps ip> (password is also bargee)
6.sudo fdisk -l, found the "EndLBA" is <26635>
7.sudo fdisk /dev/vda,
Command (m for help): n,
Partition type: p,
Partition number (1-4): 2,
@goocey
goocey / Vagrantfile
Last active January 25, 2017 09:43
barge
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
@rgl
rgl / add-virtualbox-5.1-support-to-vagrant.sh
Created July 16, 2016 14:18
Add VirtualBox 5.1 support to Vagrant 1.8.4
# see https://github.com/mitchellh/vagrant/pull/7574
curl -s https://github.com/mitchellh/vagrant/commit/b57b0e0d48fe8b4196ca6b7e01bb6c1ecb4b69f9.patch \
| sudo patch -p1 -d /opt/vagrant/embedded/gems/gems/vagrant-1.8.4
// ==Taberareloo==
// {
// "name" : "WikiHub Model for RAC Articles"
// , "description" : "Post an article to https://rac.wikihub.io/articles"
// , "include" : ["background"]
// , "version" : "0.0.2"
// , "downloadURL" : "https://gist.githubusercontent.com/raw/87ea769b18357185f27babb24e471a31/model.wikihub.rac.tbrl.js"
// }
// ==/Taberareloo==
@mathewdgardner
mathewdgardner / docker-save-load-images.sh
Created March 1, 2016 02:55
Save / load compressed docker images
#!/bin/bash
# Save docker images
ds() {
docker images | \
cut -d ' ' -f 1 | \
tail -n +2 | \
xargs -t -n 1 -I {} -P 4 \
sh -c 'docker save {} | bzip2 > $(echo "{}" | sed "s/^.*\///").tar.bz2'
}
// ==Taberareloo==
// {
// "name" : "Update Tumblr's favicon 2015.06"
// , "description" : "Update Tumblr's favicon 2015.06"
// , "include" : ["background"]
// , "version" : "0.1.1"
// , "downloadURL" : "https://gist.github.com/taizooo/581c4e1ad5147a963378/raw/patch.update.tumble.favicon.tbrl.js"
// }
// ==/Taberareloo==
@bruienne
bruienne / xhyverun.sh
Last active October 4, 2018 09:40
xhyve boot2docker sample config
#!/bin/sh
KERNEL="/path/to/vmlinuz64"
INITRD="/path/to/initrd.img"
#CMDLINE="earlyprintk=serial console=ttyS0 acpi=off"
CMDLINE="loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base"
MEM="-m 1G"
#SMP="-c 2"
NET="-s 2:0,virtio-net,en0"
// ==Taberareloo==
// {
// "name" : "Fix Tumblr.getTumblelogs 2015.04"
// , "description" : "Fix Tumblr.getTumblelogs 2015.04"
// , "include" : ["background"]
// , "version" : "0.1.2"
// , "downloadURL" : "https://gist.github.com/mactkg/d19a5421c55fa40f5799/raw/ca2da60df200603d322cc7fcafb76eda1febc37f/patch.fix.tumblr.getTumblelogs.tbrl.js"
// }
// ==/Taberareloo==
_ ;-.-._ /----------------------------------------------\
.-" "-. \. _{ ( Welcome to HuevOS )
/ \ / o )_ / \----------------------------------------------/
; | ; ,__(_<` /
| / | \()
| /`\ ( | ;
\ \ | '-..-'; |\
'.;| ,_ _.= \ /`|
\ '. '-' |
\ '=. /
@kfigiela
kfigiela / bootpd.plist
Last active May 30, 2016 17:33
Using native OS X NAT with VirtualBox
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bootp_enabled</key>
<true/>
<key>detect_other_dhcp_server</key>
<integer>1</integer>
<key>dhcp_enabled</key>
<array>