Skip to content

Instantly share code, notes, and snippets.

View vineetchoudhary's full-sized avatar

Vineet Choudhary vineetchoudhary

View GitHub Profile
@vineetchoudhary
vineetchoudhary / fix-xcode.rb
Created March 16, 2016 13:10 — forked from markrickert/fix-xcode.rb
Quick fix to all your Xcode SDK issues. When you update Xcode, just run this script and all is well.
#!/usr/bin/env ruby
# fix-xcode
# Mark Rickert <mjar81@gmail.com>
# Symlinks all your old SDKs to Xcode.app every time it is updated.
# Create a directory called /SDKs and run this script.
#
# Each time you upgrade Xcode, run fix-xcode.
@vineetchoudhary
vineetchoudhary / manifest.plist
Created March 9, 2016 13:15 — forked from hramos/manifest.plist
Sample manifest file for Over The Air iOS deployment
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
@vineetchoudhary
vineetchoudhary / BlockVariable.h
Created February 5, 2016 12:48
Creating block variable
//defining a block variable
typedef void (^Completionhandler)(BOOL success);
//creating a block variable
Completionhandler myCompletionHandler;
@vineetchoudhary
vineetchoudhary / -->.c
Last active December 11, 2015 09:09
What is the name of the “-->” operator?
#include<stdio.h>
int main(){
int x = 10;
while (x-->0){
printf("%d",x);
}
}