Install ScriptListener Plugin plugin
You'd find logs in ScriptingListenerJS.log like this
| #! /usr/bin/ruby | |
| ## | |
| # == remember: | |
| # * insert your login and password at Line 100, and save this file. | |
| # * of couse, be very carefull if you send this to a friend... REMOVE your credentials first! | |
| # * if you are using Google Hosted for your Domain (Google Apps), your_login is something like: me@mydomain.com | |
| # * example: go = GoGmail.new($*[0], 'imap.gmail.com', 993, $*[1], 'tree@forest.org', 'littlebird', $*[2]) | |
| # | |
| # == usage: |
| fs = require 'fs' | |
| path = require 'path' | |
| PSD = require './psd.js/src/psd' | |
| Parser = require './psd.js/src/parser' | |
| psd = PSD.fromFile process.argv[2] | |
| psd.parse() | |
| for layer in psd["layerMask"]["layers"] | |
| if layer["adjustments"].hasOwnProperty "solid_fill" |
Install ScriptListener Plugin plugin
You'd find logs in ScriptingListenerJS.log like this
| import getpass | |
| from pydelicious import DeliciousAPI, DeliciousItemExistsError | |
| sourceUser = raw_input("Username [source]: ") | |
| sourcePasswd = getpass.getpass("Password [source]: ") | |
| sourceDlcs = DeliciousAPI(sourceUser, sourcePasswd) | |
| print "Getting all bookmarks from source:" + sourceUser | |
| sourceBkmrks = sourceDlcs.posts_all()['posts'] | |
| print "Done getting bookmarks" | |
| fromTag = ' from:' + sourceUser | |
| destUser = raw_input("Username [destination]: ") |
| javascript:void(function(){var%20i,a,s;a=document.getElementsByTagName('link');for(i=0;i%3Ca.length;i++){s=a[i];if(s.rel.toLowerCase().indexOf('stylesheet')%3E=0&&s.href)%20{var%20h=s.href.replace(/(&|%5C?)forceReload=\d+/,'');s.href=h+(h.indexOf('?')%3E=0?'&':'?')+'forceReload='+(new%20Date().valueOf())}}})(); |
| // | |
| // MyController.h | |
| // | |
| // Created by Ben Copsey on 20/07/2009. | |
| // Copyright 2009 All-Seeing Interactive. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> | |
| #import <GHUnit/GHUnit.h> | |
| @class ASINetworkQueue; |
| <li class="result-block <%= result[:type] %>"> | |
| <div class="subject"> | |
| <%= yield :subject %> | |
| </div> | |
| <div class="snippet"> | |
| <%= yield :snippet %> | |
| </div> | |
| </li> |
| class SampleInherit | |
| include Comparable | |
| def <=>(anOther) | |
| if anOther.respond_to? 'str' and self.respond_to? 'str' | |
| self.str.size <=> anOther.str.size | |
| elsif anOther.respond_to? 'num' and self.respond_to? 'num' | |
| self.num <=> anOther.num | |
| elsif anOther.respond_to? 'num' and self.respond_to? 'str' | |
| self.str.size <=> anOther.num |
| $(window).keydown(function(e) { | |
| if (event.keyCode === 13) { | |
| if ((navigator.userAgent.indexOf('Mac OS X') !== -1) && e.metaKey) { | |
| return saveBookmark(); | |
| } else if ((navigator.userAgent.indexOf('Mac OS X') === -1) && e.ctrlKey) { | |
| return saveBookmark(); | |
| } | |
| } | |
| }); |
| [14] irb(main)> k = {:i => 1} | |
| => {:i=>1} | |
| [15] irb(main)> n[k] = 5 | |
| => 5 | |
| [16] irb(main)> n | |
| => {{:i=>1}=>5} |