- perform system update
- if you do it later it will ask for all kind of permissions to override various config files
- change password for root
- default password is user
- Fix trackpad
- sudo apt-get install git
- cd Downloads
- git clone https://github.com/jbdatko/chrubuntu_trackpad.git
- chrubuntu_trackpad/fix_trackpad.sh
- logout and log back in
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
""" Logs Tweets based on filtered live stream """ | |
from gamechanger.core.universe import Universe | |
from ConfigParser import ConfigParser | |
from tweetstream import FilterStream | |
def main(): | |
universe = Universe.get_universe() | |
conn = universe.get_slave_connection(Universe.MONGO_CORE) |
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
# Example of how to generate a node name on Amazon EC2 | |
# This calls out to the "magic" IP that can give you your EC2 metadata | |
IPNAME=`curl -s http://169.254.169.254/latest/meta-data/hostname | cut -d '.' -f1 | cut -d '-' -f1-2 --complement | tr '-' '.' | xargs -I {} python ip_to_name.py {}` | |
RETVAL=$? | |
if [ $RETVAL -ne 0 ] | |
then | |
# fallback to internal IP if ip-to-name breaks | |
IPNAME=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1 }' | tr '.' '-'` | |
fi |
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
In [35]: pairs = [(chunk['min']['game_id'], chunk['max']['game_id']) for chunk in chunks] | |
In [36]: pairs = sorted(pairs, key=itemgetter(1)) | |
In [37]: for idx, pair in enumerate(pairs[:-1]): | |
if pair[1] != pairs[idx+1][0]: | |
print pair | |
....: | |
(6145071619554493444L, 6157494985551179586L) | |
(6156600834600561912L, 6168130049646630380L) |
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
rs1n1: | |
image: mongo:3.0.4 | |
command: mongod --replSet rs1 --storageEngine wiredTiger | |
rs1n2: | |
image: mongo:3.0.4 | |
command: mongod --replSet rs1 --storageEngine wiredTiger | |
rs1n3: | |
image: mongo:3.0.4 | |
command: mongod --replSet rs1 --storageEngine wiredTiger | |
rs2n1: |
- 24"
- 1440p
- 165hz
- NVIDIA G-SYNC
- Asking $225
- 25"
- 1440p
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
Process: RetroArch [57266] | |
Path: /Applications/RetroArch.app/Contents/MacOS/./RetroArch | |
Identifier: com.libretro.RetroArch | |
Version: 1.9.5 (1.9.5) | |
Code Type: X86-64 (Translated) | |
Parent Process: zsh [53328] | |
Responsible: iTerm2 [1237] | |
User ID: 502 | |
Date/Time: 2021-06-26 13:01:31.894 -0400 |