Full-page background made with JavaScript and Canvas: the animation follows movement on non-touch devices
Forked from Marco Guglielmelli's Pen Animated Background.
let 🌍 = "🐶🐺🐱🐭🐹🐰🐸🐯🐨🐻🐷🐽🐮🐗🐵🐒🐴🐑🐘🐼🐧🐦🐤🐥🐣🐔🐍🐢🐛🐝🐜🐞🐌🐙🐚🐠🐟🐬🐳🐋🐄🐏🐀🐃🐅🐇🐉🐎🐐🐓🐕🐖🐁🐂🐲🐡🐊🐫🐪🐆🐈🐩" | |
var 🚢: String[] = [] | |
for 💕 in 🌍 { | |
switch 💕 { | |
case "🐑", "🐏", "🐐", "🐂": | |
for 🛁 in 1...7 { | |
🚢.append(💕 + 💕) | |
} |
#!/usr/bin/env xcrun swift | |
import Foundation | |
func isFolderPath(pathURL: NSURL) -> Bool { | |
var isDir: ObjCBool = false | |
guard let path = pathURL.path else { | |
return false | |
} |
# For training rest 5 min on compounds, 3-5 minutes on smaller ones | |
# Training A (first set to failure, second set -10% weight + 1 rep): | |
# Deadlift - 2x4-5 | |
# Overhead Press - 1x6-8 | |
# Weighted Chinup - 2x4-6 | |
# Chest-Supported Rows - 2x6-8 | |
# Close-grip chinup - 1x6-10 | |
# Training B (first set to failure, second set -10% weight + 1 rep): |
// NSString_stripHtml.h | |
// Copyright 2011 Leigh McCulloch. Released under the MIT license. | |
#import <Foundation/Foundation.h> | |
@interface NSString (stripHtml) | |
- (NSString*)stripHtml; | |
@end |
Full-page background made with JavaScript and Canvas: the animation follows movement on non-touch devices
Forked from Marco Guglielmelli's Pen Animated Background.
#!/usr/bin/env bash | |
<% for type in types.classes { -%> | |
<%_ if type.attributes["final"] != nil || type.attributes["open"] != nil || types.based[type.name]?.isEmpty == false { continue } -%> | |
<%_ _%>git grep -lz 'class <%= type.name %>' | xargs -0 perl -i'' -pE "s/class <%= type.name %>(?=\s|:)/final class <%= type.name %>/g" | |
<% } %> |
I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
// PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
#import <objc/runtime.h> | |
#import <objc/message.h> |
Search for : (.*(\n|$)){2} | |
alt+R - to toggle regular expression search | |
alt+ENTER - to select all results |