View shellshock
1 2 3 4 5 6 7 8 9 10
$ # If you want to disable auto-imported functions, uncomment the following
$ # export ADD_IMPORT_FUNCTIONS_PATCH=YES
$ mkdir bash-fix
$ cd bash-fix
$ curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz | tar zxf -
$ cd bash-92/bash-3.2
$ curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-052 | patch -p0
$ curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-053 | patch -p0
$ # See note above about ADD_IMPORT_FUNCTIONS_PATCH
$ [ "$ADD_IMPORT_FUNCTIONS_PATCH" == "YES" ] && curl http://alblue.bandlem.com/import_functions.patch | patch -p0
View Xcode console error message
1 2 3 4 5 6 7 8 9 10
2014-09-23 08:27:40.512 Rooms[7288:414440] CDVPlugin class CDVNotification (pluginName: Notification) does not exist.
2014-09-23 08:27:40.512 Rooms[7288:414440] ERROR: Plugin 'Notification' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2014-09-23 08:27:40.512 Rooms[7288:414440] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
"Notification1434422161",
"Notification",
"alert",
[
"You have to perform the setup, before you can use the application.",
"Perform Setup",
"Don't worry, it's easy"
View lotusScriptFastLoop
1 2 3 4 5 6 7 8 9 10
Option Public
Option Declare
Sub Initialize
Dim s As New NotesSession
Dim db As NotesDatabase
Dim vRequest As NotesView
Dim vMatchVacancy As NotesView
Dim veRequest As NotesViewEntry
Dim veMatchVacancy As NotesViewEntry
Dim rowIds As String
View open-webinspector.applescript
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/osascript
 
# Name of the device as visible in Safari->Develop menu
set deviceName to "iPhone Simulator"
 
# Number of seconds to wait for the simulator window to show up
set maxWait to 30
 
# ---------------------------------------
# You shouldn't modify anything below here
View lotusScriptSlowLoop
1 2 3 4 5 6 7 8 9 10
Option Public
Option Declare
Use "helpers"
Sub Initialize
Dim s As New NotesSession
Dim db As NotesDatabase
Dim vRequest As NotesView
Dim vMatchVacancy As NotesView
Dim vcRequest As NotesViewEntryCollection
Dim vcMatchVacancy As NotesViewEntryCollection
View dabblet.css
1 2 3 4 5 6 7 8
/**
* Problems with table borders in IE7
*/
 
td{
padding: 3%;
border: 2px solid red;
}
View gist:1090202
1 2 3 4 5 6 7 8 9
/*
The idea is to just use 2 views that can hold whatever (in my case images).
Swipe:ing left/right will move the views that is currently hidden accordingly, making it seem like it's an infinite number of views at any direction.
This should be a very memory efficient approach.
The code below requires Appcelerator Titanium: http://appcelerator.com
*/
 
Something went wrong with that request. Please try again.