thanks 4 putting source for a noob to learn a little
-
DocSets-for-iOS and paid 4 it too https://github.com/omz/DocSets-for-iOS/
-
Real Time Congress
| # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. | |
| [General] | |
| # warning, notify, info, verbose | |
| loglevel = notify | |
| [Proxy] | |
| # http, https, socks5 | |
| Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module |
thanks 4 putting source for a noob to learn a little
DocSets-for-iOS and paid 4 it too https://github.com/omz/DocSets-for-iOS/
Real Time Congress
| #Get the current configuration and save it locally | |
| curl -X GET http://user:[email protected]/job/myjobname/config.xml -o mylocalconfig.xml | |
| #Update the configuration via posting a local configuration file | |
| curl -X POST http://user:[email protected]/job/myjobname/config.xml --data-binary "@mymodifiedlocalconfig.xml" | |
| #Creating a new job via posting a local configuration file | |
| curl -X POST "http://user:[email protected]/createItem?name=newjobname" --data-binary "@newconfig.xml" -H "Content-Type: text/xml" |
| #!/usr/bin/env python | |
| # Taken from http://zulko.github.io/blog/2015/02/01/extracting-perfectly-looping-gifs-from-videos-with-python-and-moviepy/ | |
| import os | |
| import sys | |
| import moviepy.editor as mp | |
| from moviepy.video.tools.cuts import FramesMatches | |
| if len(sys.argv) != 2: |
| #!/usr/bin/env bash | |
| # Derived from: https://gist.github.com/RichardBronosky/2878446 | |
| realpath(){ | |
| echo "$(cd "$(dirname "$1")"; echo -n "$(pwd)/$(basename "$1")")"; | |
| } | |
| IPA_SRC="$(realpath $1)" | |
| PROVISIONING_PROFILE="$(realpath $2)" |
| Basically, UIPasteBoard allows us to share data to other application. Below is an example of UIpasteBoard usage. | |
| COPY | |
| UIPasteboard *appPasteBoard = [UIPasteboard generalPasteboard]; | |
| appPasteBoard.persistent = YES; | |
| [appPasteBoard setString:@"STRING TO COPY"]; | |
| PASTE |
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Updated: 2010/12/05 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2013 Diego Perini (http://www.iport.it) | |
| // | |
| // Permission is hereby granted, free of charge, to any person |
| function doesAppExist() { | |
| // try to open iOS application | |
| document.location = 'customiosappurl://'; | |
| // if above failed, nothing happened | |
| // set a timeout and do something else | |
| !window.document.webkitHidden && setTimeout(function() { | |
| setTimeout(function() { | |
| window.location = '//apple.itunes.com/whatever' | |
| }, 100); |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>App Redirection</title> | |
| </head> | |
| <body> | |
| <!-- iframe used for attempting to load a custom protocol --> | |
| <iframe style="display:none" height="0" width="0" id="loader"></iframe> |