% HELLO(1) Version 1.0 | Frivolous "Hello World" Documentation
hello — prints Hello, World!
javascript:(function() { | |
function copyToClipboard(text) { | |
if (window.clipboardData && window.clipboardData.setData) { | |
/*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
return clipboardData.setData("Text", text); | |
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
var textarea = document.createElement("textarea"); | |
textarea.textContent = text; |
Back in July of 2008 I started thinking about HTML microformats for linking together and discovering social objects on the web.
I later discussed this with folks at the Internet Identity Workshop and after a few rounds of discussion we ended up working on Activity Streams instead, which shifted the focus to machine-readable descriptions of actions on social objects. However, the social object research here was the initial basis of what went on to become the "Object Types" in Activity Base Schema, after many iterations.
04/26/2103. From a lecture by Professor John Ousterhout at Stanford, class CS142.
This is my most touchy-feely thought for the weekend. Here’s the basic idea: It’s really hard to build relationships that last for a long time. If you haven’t discovered this, you will discover this sooner or later. And it's hard both for personal relationships and for business relationships. And to me, it's pretty amazing that two people can stay married for 25 years without killing each other.
[Laughter]
> But honestly, most professional relationships don't last anywhere near that long. The best bands always seem to break up after 2 or 3 years. And business partnerships fall apart, and there's all these problems in these relationships that just don't last. So, why is that? Well, in my view, it’s relationships don't fail because there some single catastrophic event to destroy them, although often there is a single catastrophic event around the the end of the relation
function encodeuri { | |
local string="${@}" | |
local strlen=${#string} | |
local encoded="" | |
for (( pos = 0; pos < strlen; pos ++ )); do | |
c=${string:$pos:1} | |
case "$c" in | |
[-_.~a-zA-Z0-9]) o="${c}" ;; | |
*) printf -v o '%%%02x' "'$c" |
{
address = "irc.twitch.tv";
chatnet = "Twitch";
// add-note.scpt | |
// | |
// Example of creating a new note in Notes.app using JavaScript for Automation | |
// Steven Frank <[email protected]> | |
notesApp = Application('Notes'); | |
notesApp.activate(); | |
var note = notesApp.Note({ |
/* <![CDATA[ */ | |
//============================================================ | |
// ZALGO text script by tchouky | |
//============================================================ | |
// data set of leet unicode chars | |
//--------------------------------------------------- | |
//those go UP | |
var zalgo_up = [ |
// List all fonts on iPhone | |
for (NSString* family in [UIFont familyNames]) { | |
NSLog(@"Family name: %@", family); | |
for (NSString* name in [UIFont fontNamesForFamilyName: family]) { | |
NSLog(@" Font name: %@", name); | |
} | |
} |