Skip to content

Instantly share code, notes, and snippets.

View iggym's full-sized avatar
🎯
😄

Iggy iggym

🎯
😄
View GitHub Profile
@iggym
iggym / 0_reuse_code.js
Last active September 15, 2015 06:50
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@iggym
iggym / List-of-URLs-checked-by-Twitter-for-its app-targeting
Last active August 29, 2015 14:10 — forked from genadyo/gist:295a5e8f0d743f57137f
List of URLs checked by Twitter for its app targeting
{
"491289025" : "ijinshan-kappmarket://",
"301521403" : "fb103361823069955://",
"492178411" : "ils492178411://",
"346142396" : "fb234434003713://",
"310633997" : "whatsapp://",
"370614765" : "com.condenet.newyorker://",
"325058491" : "rnmddisco://",
"382952264" : "epichttp://",
"477048487" : "predictwind://",
@iggym
iggym / Swift-Conditional-compilation
Created November 4, 2014 23:50
Swift Conditional compilation
Here are the valid values for the builtin functions:
os() — OSX, iOS
arch() — x86_64, arm, arm64, i386
To determine the OS for type aliasing, use os() and pass it either OSX or iOS, as in the following example:
// OSX, iOS
#if os(iOS)
@iggym
iggym / TerminalGoodnessOSX.txt
Created May 15, 2014 13:51
Terminal Goodness
Links
see http://www.mitchchn.me/2014/os-x-terminal/
http://ss64.com/osx/
@iggym
iggym / AD_CS_Options
Last active August 29, 2015 14:01
AD Links
Links:
http://www.codeproject.com/Articles/18102/Howto-Almost-Everything-In-Active-Directory-via-C
http://blogs.neudesic.com/post/2012/03/22/Code-to-look-up-Current-User-in-Active-Directory.aspx
http://www.codeproject.com/Articles/8819/Authorize-and-authenticate-users-with-AD
http://www.codeproject.com/Articles/19689/Working-with-Active-Directory-in-VB-NET
http://stackoverflow.com/questions/6692767/how-do-i-get-the-ad-display-name-of-the-currently-logged-in-user/6692790#6692790
https://www.google.com/search?q=active+directory+login+winforms&oq=active+directory+login+winforms&aqs=chrome..69i57j0.10614j0j7&sourceid=chrome&es_sm=91&ie=UTF-8#q=code+active+directory+c%23
@iggym
iggym / TSQL_Useful_Scripts
Created April 16, 2014 13:44
TSQL Useful Script snippets
some links to useful scripts
http://wiki.lessthandot.com/index.php/SQL_Server_Admin_Hacks
http://wiki.lessthandot.com/index.php/SQL_Server_Programming_Hacks_-_100%2B_List
http://wiki.lessthandot.com/index.php/Category:Microsoft_SQL_Server

A number of tech news outlets, including WIRED, GigaOm, and MIT Technology Review, have recently started writing about Multipeer Connectivity ("one weird trick that the NSA hates"). Since the NSHipster article on the subject has been linked to in a lot of this coverage, I wanted to share some additional thoughts on the matter:

Multipeer Connectivity(http://nshipster.com/multipeer-connectivity/) represents a significant shift in the opposite direction of how we conventionally think about mobile applications. Nearly every app on your phone operates in a client-server model, with the device making requests to remote cloud services to send and receive messages, photos, and videos. The [

@iggym
iggym / gist:9261657
Last active January 8, 2025 16:16
Github pages via Terminal --- Creating a
from http://pages.github.com/ modified because it didn't work for me
Create a repository
using the web interface -- the name should be username.github.mypages
Clone the repo
Go to terminal,
mkdir mypages, cd mypages
~$git clone https://github.com/username/username.github.mypages
cd usernam.mypages
@iggym
iggym / Check-if-iOS7.m
Created January 21, 2014 21:27
Check if you are on iOS 7
if (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_6_1) {
// do stuff for iOS 7 and newer
}
else {
// do stuff for older versions than iOS 7
}
@iggym
iggym / Some-Useful-Pods.txt
Last active January 2, 2016 12:59
List of some useful Pods
#useful pods
pod 'AFNetworking', '~> 2.0.3’
pod 'CTFeedback', '~> 1.0.4’ #wrapper around your standard mail feedback writer.
pod 'FastImageCache', '~> 1.2’
pod 'JPNG', '~> 1.2’
pod 'MRProgress', '~> 0.2.2’
pod 'RMStore', '~> 0.4.2’
pod 'TDBadgedCell', '~> 2.4.1’
pod 'TWSReleaseNotesView', '~> 1.2.0’
pod 'UAAppReviewManager', '~> 0.2.0’