Skip to content

Instantly share code, notes, and snippets.

View gordallott's full-sized avatar
💭
i feel like statuses in github is a silly concept at best

Gordon Allott gordallott

💭
i feel like statuses in github is a silly concept at best
View GitHub Profile
{
"sublimelinter_mark_style": "none",
"sublimelinter_gutter_marks": true,
"sublimelinter_popup_errors_on_save": true,
"jshint_options":
{
// To fix column positions for JSHint errors you may want to add `"indent": 1` to your
// **User** "jshint_options". This issue affects users with tabs for indentation.
// This fix was reverted due to a conflict with using the `"white": true` option.
// "indent": 1,
#!/bin/sh -e
### BEGIN INIT INFO
# Provides: openvpn
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Should-Start: network-manager
# Should-Stop: network-manager
# X-Start-Before: $x-display-manager gdm kdm xdm wdm ldm sdm nodm
# X-Interactive: true
{
"sublimelinter_mark_style": "none",
"sublimelinter_gutter_marks": true,
"sublimelinter_popup_errors_on_save": true,
"jshint_options":
{
// To fix column positions for JSHint errors you may want to add `"indent": 1` to your
// **User** "jshint_options". This issue affects users with tabs for indentation.
// This fix was reverted due to a conflict with using the `"white": true` option.
// "indent": 1,
-(uint64_t)getFreeDiskspace {
uint64_t totalSpace = 0;
uint64_t totalFreeSpace = 0;
NSError *error = nil;
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSDictionary *dictionary = [[NSFileManager defaultManager] attributesOfFileSystemForPath:[paths lastObject] error: &error];
if (dictionary) {
NSNumber *fileSystemSizeInBytes = [dictionary objectForKey: NSFileSystemSize];
NSNumber *freeFileSystemSizeInBytes = [dictionary objectForKey:NSFileSystemFreeSize];
string path = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
NSDictionary dictionary = NSFileManager.DefaultManager.GetFileSystemAttributes(path);
NSNumber number = (NSNumber)dictionary.ObjectForKey(NSObject.FromObject(NSFileManager.SystemFreeSize));
ulong freeBytes = number.UInt64Value;
The Witcher 3: Wild Hunt Action role-playing, Hack and slash, Open world CD Projekt RED CD Projekt RED No 2015 2015 2015 [209]
The Amazing Spider-Man 2 Action-adventure, Open world Beenox Activision No May 2, 2014 TBA April 29, 2014 [6]
Infamous Second Son Action-adventure, Open world Sucker Punch Productions Sony Computer Entertainment Yes March 21, 2014 2014 March 21, 2014 [89]
Murdered: Soul Suspect Action-adventure, Open world Airtight Games Square Enix No June 6, 2014 TBA June 3, 2014 [123]
Ryū ga Gotoku Ishin! Action-adventure, Open world Sega Sega Sony TBA February 22, 2014 TBA [160]
Whore of the Orient Action-adventure, Open world Team Bondi TBA No 2015 2015 2015 [206][207][208]
Assassin's Creed IV: Black Flag Action-adventure, Open world, Stealth Ubisoft Montreal Ubisoft No November 22, 2013 TBA November 15, 2013 [9][10]
Assassin's Creed Unity Action-adventure, Open world, Stealth Ubisoft Toronto Ubisoft No 2014 2014 2014 [9][10]
Metal
"games: " 230 steam-calculator-howsad.user.js:70
"notplayed: " 163 steam-calculator-howsad.user.js:71
"total spent:" 2807.4199999999896 steam-calculator-howsad.user.js:73
"Total Discount:" 1212.090000000001 steam-calculator-howsad.user.js:74
"not played spent:" 1919.0100000000011 steam-calculator-howsad.user.js:76
"not played discount:" 853.120000000001
"games: " 51 steam-calculator-howsad.user.js:63
"notplayed: " 33 steam-calculator-howsad.user.js:64
"Total spent:" "$773.56" steam-calculator-howsad.user.js:66
"Total Discounted:" "$355.31" steam-calculator-howsad.user.js:67
"Not played games total:" "$458.73" steam-calculator-howsad.user.js:69
"Not played games discount total:" "$230.73"
"stats for year: 09"
"PS3: 13"
"GEN: 10"
"Wii: 8"
"PS2: 8"
"DC: 6"
"PSN: 4"
"VC: 3"
"PC: 2"
"GBA: 2"
"stats for year: 08"
"PS2: 41"
"GCN: 25"
"PS3: 19"
"NDS: 16"
"Wii: 15"
"PS: 14"
"VC: 8"
"GBA: 7"
"PSN: 7"