Skip to content

Instantly share code, notes, and snippets.

@Gerst20051
Gerst20051 / dabblet.css
Created November 29, 2013 03:25 — forked from chriscoyier/dabblet.css
Ratings Stars
/*
Ratings Stars
(with as little code as possible)
*/
.rating {
unicode-bidi: bidi-override;
direction: rtl;
text-align: center;
}
.rating > span {
@Gerst20051
Gerst20051 / dabblet.css
Created November 29, 2013 03:36 — forked from anonymous/dabblet.css
Untitled
.wrapper:hover label{
background-position:left bottom;
}
label{
background:url('http://img833.imageshack.us/img833/5959/stard.png') no-repeat left bottom;
float:right;
line-height:20px;
padding-left:20px;
height:15px;
}
@Gerst20051
Gerst20051 / dabblet.css
Created November 29, 2013 03:37 — forked from anonymous/dabblet.css
Ratings Stars
/*
Ratings Stars
(with as little code as possible)
- Modified by @mprogano -
*/
.rating {
unicode-bidi: bidi-override;
direction: rtl;
text-align: center;
@Gerst20051
Gerst20051 / git.css
Last active December 11, 2016 02:33 — forked from neilgee/git.css
/*
* Set up your Git configuration
*/
git config --global user.email "you@yourdomain.com"
git config --global user.name "Your Name"
git config --global core.editor "nano"
@Gerst20051
Gerst20051 / .jshintrc
Last active August 29, 2015 14:11 — forked from artanisdesign/.jshintrc
Titanium .jshintrc
{
"bitwise": true,
"camelcase": true,
"eqeqeq": true,
"newcap": true,
"indent": 4,
"unused": true,
"onevar": true,
"undef": true,
"trailing": true,
@Gerst20051
Gerst20051 / getCurrentFormattedDate.js
Last active December 2, 2016 20:50 — forked from akb/gist:1187817
Get Current Formatted Date
function getMonthStrings() {
return [
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
@Gerst20051
Gerst20051 / dict2xml.py
Created February 16, 2016 23:58 — forked from reimund/dict2xml.py
Simple dictionary to xml serializer.
"""
Simple xml serializer.
@author Reimund Trost 2013
Example:
mydict = {
'name': 'The Andersson\'s',
'size': 4,
@Gerst20051
Gerst20051 / README.md
Created June 25, 2016 02:03 — forked from atenni/README.md
How to permalink to a gist's raw file

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]

@Gerst20051
Gerst20051 / clean_xcode.sh
Created June 25, 2016 05:06 — forked from Jerrot/clean_xcode.sh
Resets all installed Xcode simulators and deletes the contents of Derived Data
#!/bin/sh
instruments -s devices \
| grep "(\d[.0-9]\+) \[[0-9A-F]\{8\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{12\}\]" \
| grep -o "[0-9A-F]\{8\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{12\}" \
| while read -r line ; do
echo "Reseting Simulator with UDID: $line"
xcrun simctl erase $line
done