Skip to content

Instantly share code, notes, and snippets.

View drkokandy's full-sized avatar
😉

Dave Kokandy drkokandy

😉
View GitHub Profile
@drkokandy
drkokandy / gist:a1a421fd6c8e3aebcf18
Created September 19, 2015 21:00
Known responsive images - Non responsive (default)
<p><img src="http://known.trdaisuke.com/file/acb51e2155bae0d58e50608e05132956" alt="Illya runs" width="1423" height="800" /></p>
@drkokandy
drkokandy / gist:b6185b7af90e535c2eb1
Created September 19, 2015 21:02
Known responsive images in posts - fully responsive
<p><img class="img-responsive" src="http://known.trdaisuke.com/file/acb51e2155bae0d58e50608e05132956" alt="Illya runs" /></p>
@drkokandy
drkokandy / gist:eaa0ad6091f3d45d19b5
Created September 19, 2015 21:03
Known responsive images: fully responsive, but haven't even bothered to remove width and height
<p><img class="img-responsive" src="http://known.trdaisuke.com/file/acb51e2155bae0d58e50608e05132956" alt="Illya runs" width="1423" height="800" /></p>
@drkokandy
drkokandy / searx.log
Created October 18, 2015 06:18
Yunohost Searx Error on Raspberry Pi
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:7739cd6317f751a0f791
Created October 18, 2015 06:33
Yunohost CLI fails because can't write to log
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)

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:

# 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