Skip to content

Instantly share code, notes, and snippets.

View Poltergeist's full-sized avatar

Philipp Hinrichsen Poltergeist

  • Hamburg
View GitHub Profile
@emelent
emelent / bible_verse.sh
Last active January 10, 2023 23:41
Bash script to print random Bible verse
#!/bin/bash
function random_verse {
ping -q -w1 -c1 google.com &>/dev/null &&
data=`curl -s https://beta.ourmanna.com/api/v1/get\?format\=json\&order\=random` &&
print_verse $data
}
function daily_verse {
data=`curl -s https://beta.ourmanna.com/api/v1/get\?format\=json`
@t-io
t-io / osx_install.sh
Last active October 22, 2023 13:04
Install most of my Apps with homebrew & cask
#!/bin/sh
echo Install all AppStore Apps at first!
# no solution to automate AppStore installs
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Install and Set San Francisco as System Font
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active May 2, 2024 05:55
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@markusfisch
markusfisch / tweet.sh
Last active March 25, 2016 10:54
Shell script to tweet from the command line. Breaks longer messages into multiple tweets. Requires curl.
#!/usr/bin/env bash
# Post a tweet
#
# @param ... - tweet
tweet()
{
# Make a SSL request
#
# @param ... - request arguments
@necolas
necolas / contain-floats.css
Created April 22, 2011 00:36
Cross-browser, consistent float-containment methods
/*
* Containing floats in a consistent manner
* By Jonathan Neal and Nicolas Gallagher
*/
/*
* New block formatting context method
* IE 6+, Firefox 2+, Safari 4+, Opera 9+, Chrome
*/