Inspired by my former colleague Paco. Original post: http://dribbble.com/shots/491245-Switch-iOS-Icon
Created with CSS (3) and some simple JS code to toggle on/off states.
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="style.css"> | |
<style></style> | |
<script type="text/javascript" src="jquery-1.8.3.min.js"></script> | |
<script type="text/javascript" src="script.js"></script> | |
</head> | |
<body class="play"> | |
<div class="container"> |
@SuppressWarnings("restriction") | |
@SupportedSourceVersion(SourceVersion.RELEASE_6) | |
@SupportedAnnotationTypes( "*" ) | |
@SupportedOptions( {"method"} ) | |
public class CodeAnalisysProcessor extends AbstractProcessor { | |
public class Analisys extends TreePathScanner<Object,Trees> { | |
final String method; | |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
// | |
// How to use: | |
// | |
// 1. Start node: | |
// node nodeproxy.js | |
// 2. Send a URL like this: | |
// http://localhost:8080/http://www.google.com | |
// | |
// Watch www.google.com come through your local HTTP proxy. | |
// |
Inspired by my former colleague Paco. Original post: http://dribbble.com/shots/491245-Switch-iOS-Icon
Created with CSS (3) and some simple JS code to toggle on/off states.
- (void)testMBRequest | |
{ | |
NSURL *url = ....; | |
NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url]; | |
MBJSONRequest *jsonRequest = [[MBJSONRequest alloc] init]; | |
__block BOOL loaded = NO; | |
[jsonRequest performJSONRequest:urlRequest completionHandler:^(id responseJSON, NSError *error) { |
// ### removeRecursive, copyRecursive when/promise compliant | |
// NodeJS: | |
// Delete a file or delete a DIR recursively | |
// be aware that this is a power full delete function | |
// so best is to check if the PATH given is really | |
// the path you want to DELETE ENTIRELY | |
// | |
// Copy DIR to another location recursively | |
// | |
// ### usage example |
package org.bsc.jna; | |
import com.sun.jna.Library; | |
import com.sun.jna.Native; | |
import com.sun.jna.Pointer; | |
import com.sun.jna.platform.win32.ShellAPI; | |
import com.sun.jna.platform.win32.ShellAPI.APPBARDATA; | |
import com.sun.jna.platform.win32.WinDef.DWORD; | |
import com.sun.jna.platform.win32.WinDef.HWND; | |
import com.sun.jna.platform.win32.WinDef.UINT_PTR; |
# Documentation: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md | |
# /usr/local/Library/Contributions/example-formula.rb | |
# | |
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | |
# | |
# FOR LOCAL INSTALLATION COPY IT IN /usr/local/Library/Formula/ | |
# | |
class J2objc < Formula | |
homepage "http://j2objc.org/" |