Skip to content

Instantly share code, notes, and snippets.

Avatar

Dave Kokandy drkokandy

View GitHub Profile
View pokemon.csv
# Name Type 1 Type 2 Total HP Attack Defense Sp. Atk Sp. Def Speed Generation Legendary
1 Bulbasaur Grass Poison 318 45 49 49 65 65 45 1 False
2 Ivysaur Grass Poison 405 60 62 63 80 80 60 1 False
3 Venusaur Grass Poison 525 80 82 83 100 100 80 1 False
3 VenusaurMega Venusaur Grass Poison 625 80 100 123 122 120 80 1 False
4 Charmander Fire 309 39 52 43 60 50 65 1 False
5 Charmeleon Fire 405 58 64 58 80 65 80 1 False
6 Charizard Fire Flying 534 78 84 78 109 85 100 1 False
6 CharizardMega Charizard X Fire Dragon 634 78 130 111 130 85 100 1 False
6 CharizardMega Charizard Y Fire Flying 634 78 104 78 159 115 100 1 False
View keybase.md

Keybase proof

I hereby claim:

  • I am drkokandy on github.
  • I am drkokandy (https://keybase.io/drkokandy) on keybase.
  • I have a public key ASCLq5GyU0iHQTxoqVKCCpM8Tzl7496hKLmAXnuWi1O16Ao

To claim this, I am signing this object:

@drkokandy
drkokandy / gist:7739cd6317f751a0f791
Created Oct 18, 2015
Yunohost CLI fails because can't write to log
View gist:7739cd6317f751a0f791
admin@raspberrypi:~$ yunohost -h
Traceback (most recent call last):
File "/usr/bin/yunohost", line 142, in <module>
_init_moulinette()
File "/usr/bin/yunohost", line 124, in _init_moulinette
init(logging_config=logging, _from_source=IN_DEVEL)
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 59, in init
configure_logging(logging_config)
File "/usr/lib/python2.7/dist-packages/moulinette/utils/log.py", line 42, in configure_logging
dictConfig(logging_config)
@drkokandy
drkokandy / searx.log
Created Oct 18, 2015
Yunohost Searx Error on Raspberry Pi
View searx.log
Sun Oct 18 06:45:56 2015 - spawned uWSGI worker 2 (pid: 3351, cores: 1)
Sun Oct 18 06:45:56 2015 - spawned uWSGI worker 3 (pid: 3352, cores: 1)
Sun Oct 18 06:45:56 2015 - spawned uWSGI worker 4 (pid: 3353, cores: 1)
[pid: 3352|app: -1|req: -1/1] 24.112.201.84 () {54 vars in 1021 bytes} [Sun Oct 18 06:52:59 2015] GET /searx/ => generated 48 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
[pid: 3353|app: -1|req: -1/2] 24.112.201.84 () {56 vars in 1052 bytes} [Sun Oct 18 06:53:06 2015] GET /searx/ => generated 48 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
[pid: 3352|app: -1|req: -1/3] 24.112.201.84 () {56 vars in 1078 bytes} [Sun Oct 18 06:57:59 2015] GET /searx/ => generated 48 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
Sun Oct 18 06:58:23 2015 - SIGINT/SIGQUIT received...killing workers...
Sun Oct 18 06:58:25 2015 - goodbye to uWSGI.
Sun Oct 18 07:10:18 2015 - *** Starting uWSGI 1.2.3-debian (32bit) on [Sun Oct 18
@drkokandy
drkokandy / gist:eaa0ad6091f3d45d19b5
Created Sep 19, 2015
Known responsive images: fully responsive, but haven't even bothered to remove width and height
View gist:eaa0ad6091f3d45d19b5
<p><img class="img-responsive" src="http://known.trdaisuke.com/file/acb51e2155bae0d58e50608e05132956" alt="Illya runs" width="1423" height="800" /></p>
@drkokandy
drkokandy / gist:b6185b7af90e535c2eb1
Created Sep 19, 2015
Known responsive images in posts - fully responsive
View gist:b6185b7af90e535c2eb1
<p><img class="img-responsive" src="http://known.trdaisuke.com/file/acb51e2155bae0d58e50608e05132956" alt="Illya runs" /></p>
@drkokandy
drkokandy / gist:a1a421fd6c8e3aebcf18
Created Sep 19, 2015
Known responsive images - Non responsive (default)
View gist:a1a421fd6c8e3aebcf18
<p><img src="http://known.trdaisuke.com/file/acb51e2155bae0d58e50608e05132956" alt="Illya runs" width="1423" height="800" /></p>
You can’t perform that action at this time.