Skip to content

Instantly share code, notes, and snippets.

View levinalex's full-sized avatar

Levin Alexander levinalex

View GitHub Profile
@seeekr
seeekr / setup-raid-coreos.sh
Last active April 24, 2022 21:58
Using RAID with CoreOS (btrfs; RAID0, RAID1)
#!/bin/sh
# replace with whatever your additional device is called
# /dev/sda should be where your CoreOS install lives right now
newdevice="/dev/sdb"
# 0 or 1
raidtype="0"
# make sure to download the single-partition.layout file as well
@murtaugh
murtaugh / 1. single-line.html
Last active April 21, 2021 16:23
Blockquote patterns for ALA
<figure class="quote">
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote>
</figure>
@mislav
mislav / geoip_service.rb
Created September 3, 2012 11:48
Simple GeoIP service class using freegeoip.net and Faraday
require 'faraday_middleware'
require 'hashie/mash'
# Public: GeoIP service using freegeoip.net
#
# See https://github.com/fiorix/freegeoip#readme
#
# Examples
#
# res = GeoipService.new.call '173.194.64.19'