Skip to content

Instantly share code, notes, and snippets.

@subzey
subzey / LICENSE.txt
Created June 18, 2011 14:25 — forked from 140bytes/LICENSE.txt
unit display
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 subzey <subzey@immelman.ru>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@iilei
iilei / ios_simulator.sh
Created February 17, 2014 19:58
open any page within Safari running on iOS Simulator from the terminal
#!/bin/bash
# best used with an alias.
# then simply run `ios example.com` (assuming `ios` is an alias for this script) to open http://example.com
# ios simulator. As I am using it mainly for running jasmine I pointed it to http://localhost:8888 by default.
# Change it as you will.
#first option: url - with or without http:// - can be omitted completely.
if [ -n "$1" ]
then