This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
john@joran ~/bin/gfxbench ❯ gdb ./gfxbench_gl | |
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9 | |
Copyright (C) 2015 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
john@joran ~ ❯ la ~/.config/unity3d/ | |
total 17k | |
drwxr-xr-x 3 john 4.1k 2015-12-26 10:14 E_Line Media/ | |
drwx------ 3 john 4.1k 2015-12-26 10:14 E-Line Media/ | |
-rw-rw-r-- 1 john 124 2015-12-26 10:14 global.prefs | |
-rw-rw-r-- 1 john 163 2015-12-27 21:40 Player.log | |
john@joran ~ ❯ la ~/.config/unity3d/E*/N* | |
/home/john/.config/unity3d/E_Line Media/Never Alone: | |
total 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
john@joran ~ ❯ ssh whoami.filippo.io | |
+---[RSA 2048]----+ | |
| .oE | | |
| +.. | | |
| . = . | | |
| = * . | | |
| . * S . | | |
| + B . o | | |
| . * + . | | |
| . + | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import yaml | |
import pytz | |
# Monkey Patching pyyaml so it doesn’t auto-UTC all our timestamps | |
class FixedOffset(tzinfo): | |
"""Fixed offset in minutes east from UTC.""" | |
def __init__(self, offset): | |
self.__offset = offset | |
self.__name = 'Fixed Offset: ' + str(offset) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mydate is loaded via yaml.load() from a blob of yaml on the next line | |
# Date: 2011-02-11 14:23:01 | |
print mydate, 'offset: ', mydate.utcoffset() | |
# astimezone() called here outputs ValueError: astimezone() cannot be applied to a naive datetime | |
mydate = mydate.replace( tzinfo=pytz.timezone( 'Europe/London' ) ) | |
print mydate, 'offset: ', mydate.utcoffset() | |
print mydate.astimezone(pytz.utc) | |
# outputs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
exec("git diff-index --cached HEAD GAMES.json", $output, $returnCode ); | |
if ( $returnCode !== 0 ) { | |
printf( "Stop `git commit`, something went wrong: %s\n", implode( "\n", $output ) ); | |
exit( 1 ); | |
} elseif ( empty( $output ) ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20151120 16:37:49 < DerRidda> Adminds discuss: We should probably change the main channel's mode to only allow registered users. | |
20151120 16:38:57 < beansmyname> I'm comfortable with that. How will that affect the webchat? | |
20151120 16:40:24 < DerRidda> beansmyname: It has a checkbox to use authorization. | |
20151120 16:40:40 < DerRidda> so it would work and the text above the chat could tell users to do just that. | |
20151120 16:44:59 < DerRidda> I will try it out. | |
20151120 16:45:06 < beansmyname> Are there more idiots arriving than usual? | |
20151120 16:45:37 < DerRidda> Yes. | |
20151120 16:45:50 < DerRidda> And frankly, the web client is part of the problem. | |
20151120 16:45:59 < beansmyname> We must be ranking higher in "Steam IRC" searches. :) | |
20151120 16:46:19 < DerRidda> Obscurity keeps at least the lazy and/or stupid shitbags out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"age_limit": 12, | |
"bucket": "games", | |
"cloud_only_platform": [ | |
"NONE" | |
], | |
"container_type": "product", | |
"content_descriptors": [ | |
{ | |
"description": "Violence", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gaming industry - Why accept this shit? | |
These exact quotes could have been lifted from reviews for Skyrim, Fallout 3, | |
or hell, even the oldest game on this same engine lineage, Morrowind. | |
http://www.pcgamer.com/fallout-4-review/ | |
It was mostly bug free, and I only encountered a couple of mysterious | |
crashes-to-desktop in over 50 hours of play. | |
http://www.pushsquare.com/reviews/ps4/fallout_4 | |
the title hasn't crashed on us once … but with regular dips and some |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
john@joran ~/code/steamdb.info ±:master❯ la /lib/udev/rules.d/99-steam-controller-perms.rules | |
-rw-r--r-- 1 root 190 2014-06-16 19:58 /lib/udev/rules.d/99-steam-controller-perms.rules | |
john@joran ~/code/steamdb.info ±:master❯ cat /lib/udev/rules.d/99-steam-controller-perms.rules | |
#USB devices | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666" | |
# Oculus HID Sensor naming and permissioning | |
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2833", MODE="0666" |