#iOS:
- Tabs
- Window NavBar
- Window Toolbar
- Window Constructor
- Animation
- Nav Group
- Modal Windows
- Custom Fonts
#!/bin/bash | |
# This shell script was created at solowizard.com | |
# | |
# http://github.com/tommyh/solo_wizard | |
# (c) 2012, Tom Hallett | |
# This script may be freely distributed under the MIT license. | |
pushd `pwd` | |
if rvm --version 2>/dev/null; then | |
gem install soloist |
static VALUE | |
rb_ary_transpose_test(VALUE ary) | |
{ | |
long elen = -1, alen, i, j, k; | |
VALUE tmp, result = 0; | |
// get the longest sub-array so we know how much to extend to | |
long elen_max = -1; | |
for (i=0; i<alen; i++) { |
function add_linkage(doc){ | |
var package=prompt('Choose a package or leave it blank',''); | |
if(package==null){ | |
alert('Command cancelled by user'); | |
} | |
var library=doc.library; | |
var items=library.items; | |
var items_length=items.length; | |
for(var h = 0; h < items_length; h++){ |
$("#timeTable > table > tbody > tr").each(function() { var hour = ($(".hour", this).text()); var times = []; $(".timeData", this).each(function() { times.push($(".info01", this).text().replace(/\s+/g, '')+" "+$(".info02", this).text().replace(/\s+/g, '')+" "+$(this).attr('class').replace(/timeData|dir|\s+/g, '')); }); console.log(hour, times)}) |
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-agent="Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3" |
/* Please only use this workaround if you really just HAVE TO use wikipedia today */ | |
#mw-page-base, #mw-head-base, #mw-head, #mw-panel, #footer, #content { display: block !important; } | |
#mw-sopaOverlay { display: none; } | |
/* SOPA HAS WON, IT HAS BLACKED OUT WIKIPEDIA ;) */ |
input[type=email] | |
{ | |
display: inline-block; | |
width: 210px; | |
padding: 4px; | |
font-size: 13px; | |
line-height: 18px; | |
height: 18px; | |
color: #808080; | |
border: 1px solid #ccc; |
<?php | |
/* | |
* Plugin Name: SyntaxHighlighter Evolved: Custom Brushes | |
* Description: Adds support for IL code to the SyntaxHighlighter Evolved plugin. | |
* Author: Zoltan Dezso | |
* Version: 1.0.0 | |
* Author URI: http://zaki.asia | |
* */ | |
add_action( 'init', 'syntaxhighlighter_il_regscript' ); |
x = 1 # Variable defined outside lambda | |
# 1. lambda closes over outside env, so you can use x if was in scope when | |
# lambda was defined | |
lmbd1 = lambda { print x } | |
lmbd1.call # => 1 | |
# 2.1 the outside var must exist and be in scope when you define lambda | |
lmbd2_1 = lambda { print u } | |
u = 1 |