Skip to content

Instantly share code, notes, and snippets.

Gianni Gianino giannigdev

  • Indie Developer
  • Turin, Italy
Block or report user

Report or block giannigdev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
giannigdev / BubbleSort.m
Last active Aug 29, 2015
List of most useful Algorithms in Objc (work in progress..)
View BubbleSort.m
//Begin test Bubble Sorting Code
NSArray *dArray =@[@101, @201, @301,@121,@11,@123,@21,@14,@32,@76,@89,@987,@65];
NSMutableArray *dataArray = [NSMutableArray arrayWithArray:dArray];
//Check Bubble Sort
NSArray *bubbleSortedArray = [self bubbleSort:dataArray];
NSLog(@"bubbleSortCount %d",bubbleSortCount); //Number of Iterations //bubbleSortCount is a static variable initialized to 0 //Gives the average & worst case of n^2
NSLog(@"bubbleSortedArray %@",bubbleSortedArray); //Prints the sorted array
bubbleSortCount =0; //Reinitialize the static variable to 0 to retest
NSLog(@"bubbleSortedArray %@",[self bubbleSort:bubbleSortedArray]); //Resort the already sorted array
giannigdev /
Last active Aug 29, 2015
Unix Commands (Work in progress...this list will be updated/filtered with the most common used commands)

Unix Commands


  • find - locate file (i.e. find . -name *.tex -print)
  • info - start the info explorer program
  • man - find manual information about commands
  • whatis - describe what a command is
  • whereis - locate source, binary, or man page for a program

Keybase proof

I hereby claim:

  • I am giannigdev on github.
  • I am giannigdev ( on keybase.
  • I have a public key whose fingerprint is 5B2F 47E1 41E7 509C B501 1CBF 3EBA 7C62 6244 FE7C

To claim this, I am signing this object:

You can’t perform that action at this time.