Skip to content

Instantly share code, notes, and snippets.

View lastcoolnameleft's full-sized avatar

Tommy Falgout lastcoolnameleft

View GitHub Profile
➜ service-fabric-linux-vagrant-onebox git:(master) ✗ docker run -it centos bash
[root@d0a449b03a5e /]# wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/powershell-6.0.0_alpha.15-1.el7.centos.x86_64.rpm
bash: wget: command not found
[root@d0a449b03a5e /]# apt-get install wget
bash: apt-get: command not found
[root@d0a449b03a5e /]# apt-get install wget^C
[root@d0a449b03a5e /]# yum install wget
Loaded plugins: fastestmirror, ovl
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
Falgouts-iMac:PokemonGo-Map tfalgout$ python ./runserver.py -a ptc -u '<username>' -p '<passwd>' -l '<location>' -st 3 -k '<location>'
Traceback (most recent call last):
File "./runserver.py", line 23, in <module>
from pogom.search import search_overseer_thread, fake_search_loop
File "/Users/tfalgout/Git/PokemonGo-Map/pogom/search.py", line 27, in <module>
from pgoapi import PGoApi
File "/usr/local/lib/python2.7/site-packages/pgoapi/__init__.py", line 50, in <module>
from pgoapi.pgoapi import PGoApi
File "/usr/local/lib/python2.7/site-packages/pgoapi/pgoapi.py", line 34, in <module>
from pgoapi.rpc_api import RpcApi
<?php /**/ ?><head>
<meta http-equiv="refresh" content="60">
</head>
<body bgcolor="black">
<br><br><br>
<br><br><br>
<!-- http://www.sparkfun.com/commerce/product_info.php?products_id=682 -->
<center>
<pre>
<?php
@lastcoolnameleft
lastcoolnameleft / chai_test.js
Created May 23, 2016 21:28
Reasons I hate JS
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
chai.use(chaiAsPromised);
const expect = chai.expect;
describe('async test', () => {
it(`something should fail`, () => {
expect(Promise.resolve(2+2)).to.be.rejectedWith(Error);
expect(Promise.resolve(2+2)).to.eventually.equal(4);
(env) [tfalgout@host yahoo.contrib.network_login]$ cat conf/escape.cfg
[prompt]
no_escape = $
escape = \$
(env) [tfalgout@host yahoo.contrib.network_login]$ python
Python 2.7.11 (default, Jan 29 2016, 21:44:53)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ConfigParser
>>> config = ConfigParser.SafeConfigParser()