Skip to content

Instantly share code, notes, and snippets.

Avatar

Patryk Laurent plaurent

View GitHub Profile
View gist:3849275
- (void)resetDefaults {
NSUserDefaults * defs = [NSUserDefaults standardUserDefaults];
NSDictionary * dict = [defs dictionaryRepresentation];
for (id key in dict) {
[defs removeObjectForKey:key];
}
[defs synchronize];
}
View gist:3848586
============================================================
Pakl's guide to a complete tentd and tentd-admin
and Nginx proxy:80 installation.
============================================================
Oct 7, 2012 -- Version 1.2 (adds missing commands for installing nginx)
History
Oct 7, 2012 -- Version 1.1 (adds missing nodejs repository)
Oct 7, 2021 - 1.0 initial release
View gist:3848516
============================================================
Pakl's guide to a complete tentd and tentd-admin
and Nginx proxy:80 installation.
============================================================
Oct 7, 2012 -- Version 1.1 (adds missing nodejs repository)
History
Oct 7, 2021 - 1.0 initial release
View gist:3848510
============================================================
Pakl's guide to a complete tentd and tentd-admin
and Nginx proxy:80 installation.
============================================================
Oct 7, 2012 -- Version 1.0
On a fresh install of Ubuntu 12.04 32-bit server.
View gist:3837463
2012-10-04 21:05:57.446 TentClient[5633:303] making request to http://canvas.pakl.net/followings with baseURL http://canvas.pakl.net
2012-10-04 21:05:57.446 TentClient[5633:303] normalizedRequestString looks like
1349399157
8BogKvgK
GET
/followings
canvas.pakl.net
80
2012-10-04 21:05:57.446 TentClient[5633:303] httpBody looks like