Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
// ==UserScript== | |
// @name Reddit outage refresher | |
// @version 0.1 | |
// @author frdmn | |
// @match http://www.reddit.com/* | |
// ==/UserScript== | |
var xpathResult = document.evaluate("(//text()[contains(., 'try again and hopefully we will be fast enough this time.')])[1]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null); | |
var node=xpathResult.singleNodeValue; | |
if (node!=null) { |
#!/bin/bash | |
# Description: MOTD for Debian/Ubuntu | |
# 2013/07/15 @ysaotome | |
# 2014/05/29 @frdmn | |
BIN_DATE='/bin/date' | |
BIN_FIGLET='/usr/bin/figlet' | |
BIN_HOSTNAME='/bin/hostname' | |
BIN_IP='/sbin/ip' | |
BIN_GREP='/bin/grep' |
#!/bin/bash | |
############################################################### | |
# LiveConfig mail path lookup by Jonas Friedmann (iWelt AG) # | |
# j@frd.mn # | |
# http://frd.mn # | |
# http://twitter.com/frdmn # | |
############################################################### | |
STRING=${1} |
-- Moved to https://github.com/frdmn/PIA |
Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
I hereby claim:
To claim this, I am signing this object:
function 2utf8(){ | |
local tmp=$(mktemp) | |
iconv -f ISO-8859-1 -t UTF-8 $1 > $tmp | |
if [ -f $tmp ]; then | |
mv "$tmp" "$1" | |
fi | |
} |
#!/usr/bin/env bash | |
repodir="/opt/minecraft/mc-yeahwhat/plugins" | |
wallmsgprefix="[git] [plugin-configs]" | |
wallmsg="${wallmsgprefix} Caution: there are changes in \"${repodir}\" that are not tracked. Make sure to add and commit them!" | |
tempfile=$(mktemp /tmp/git-dirty_XXXXXXX) | |
#### | |
echo ${wallmsg} > ${tempfile} |
#!/usr/bin/env bash | |
# Installation instructions: | |
# $ curl -s https://gist.githubusercontent.com/frdmn/c6700ade5a0fc906271f/raw/checker.sh > /usr/local/bin/osx-checker | |
# $ chmod +x /usr/local/bin/osx-checker | |
# $ osx-checker | |
URL="https://itunes.apple.com/search?entity=macSoftware&term=OS+X" | |
SEARCH_STRING="OS X El Capitan" | |
TIMEOUT_IN_SECONDS="60" |
vagrant@vagrant-ubuntu-trusty-64:~$ sudo su | |
root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get -y update | |
Ign http://archive.ubuntu.com trusty InRelease | |
Get:1 http://security.ubuntu.com trusty-security InRelease [64.4 kB] | |
Get:2 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB] | |
Get:3 http://security.ubuntu.com trusty-security/main Sources [101 kB] | |
Get:4 http://archive.ubuntu.com trusty-backports InRelease [64.5 kB] | |
Hit http://archive.ubuntu.com trusty Release.gpg | |
Get:5 http://security.ubuntu.com trusty-security/universe Sources [31.9 kB] | |
Get:6 http://security.ubuntu.com trusty-security/main amd64 Packages [396 kB] |