Skip to content

Instantly share code, notes, and snippets.

View rokity's full-sized avatar
🏠
Working from home

Riccardo Amadio rokity

🏠
Working from home
View GitHub Profile
@houoop
houoop / get-tomorrow-date.js
Created April 28, 2013 03:44
js get tomorrow date
new Date(new Date().getTime() + 24 * 60 * 60 * 1000)
@Morse-Code
Morse-Code / stringReverse.c
Created April 4, 2013 12:36
Reverse a C string using bitwise XOR operator.
void stringReverse(char *str)
{
char *p1, *p2;
if (!str || !*str)
{
NSLog(@"No string passed into reverse function.");
}
for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2)
{