Skip to content

Instantly share code, notes, and snippets.

@hargathor
hargathor / docker-compose-app.service
Last active January 23, 2019 18:26
Start automatically docker-compose app (systemd)
# Thanks to https://stackoverflow.com/a/48066454/6900177
# When we use crontab or the deprecated /etc/rc.local file, we need a delay (e.g. sleep 10, depending on the machine) to make sure # that system services are available. Usually, systemd (or upstart) is used to manage which services start when the system boots. # You can try use the similar configuration for this:
```bash
# /etc/systemd/system/docker-compose-app.service
[Unit]
Description=Docker Compose Application Service
Requires=docker.service
@hargathor
hargathor / myweechat.md
Created January 4, 2018 13:49 — forked from pascalpoitras/config.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf

@hargathor
hargathor / ESP32
Last active December 19, 2017 09:18
Links to ESP32 tutorials / tips / example
List of nice tutos
* http://www.iotsharing.com/2017/08/esp32-tutorials.html
Motor example
* https://learn.adafruit.com/adafruit-arduino-lesson-13-dc-motors/transistors
Two (or more) leds with one GPIO
* http://www.batsocks.co.uk/readme/p_tut_led16.htm
Led fading
@hargathor
hargathor / license-badges.md
Created November 14, 2017 21:24 — forked from lukas-h/license-badges.md
License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • Badges are made with Shields.io.
  • This badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  
  • 🇫🇷 Cette liste en français
  • Github has a new autodetection of the LICENSE file, which shows up the license at the repo overview
@hargathor
hargathor / prototype
Created November 4, 2017 12:36
Prototype for 138a:0097
Prototype version 12
Found device 138a:0097
This device support is in progress, it shouldn't print correct fingerprint image right now
Index 1, size 12
0000 33 65 66 66 38 34 31 39 35 34 38 61
usb write:
0000 01
usb read:
0000 00 00 f0 b0 5e 54 a4 00 00 00 06 07 01 30 00 01

Keybase proof

I hereby claim:

  • I am hargathor on github.
  • I am rferrari (https://keybase.io/rferrari) on keybase.
  • I have a public key ASDhfFtN7OMmHbmryaou8YysAVXr9At92qR9MrpxGWFVFQo

To claim this, I am signing this object:

2015-12-14 15:43:56 ERROR Thread-44::Exception generated in issue submitter, please check the log
GithubException: 410 {u'documentation_url': u'https://developer.github.com/v3/issues/', u'message': u'Issues are disabled for this repo'}
raise self.__createException(status, responseHeaders, output)
File "/usr/local/sickrage/var/SickRage/lib/github/Requester.py", line 179, in __check
return self.__check(*self.requestJson(verb, url, parameters, headers, input, cnx))
File "/usr/local/sickrage/var/SickRage/lib/github/Requester.py", line 171, in requestJsonAndCheck
input=post_parameters
File "/usr/local/sickrage/var/SickRage/lib/github/Repository.py", line 883, in create_issue
issue = gh.get_organization(gh_org).get_repo(gh_repo).create_issue(title_Error, message)
File "/volume1/@appstore/sickrage/var/SickRage/sickbeard/logger.py", line 297, in submit_errors
2015-12-14 15:36:57 ERROR Thread-19::Failed doing webui callback: Traceback (most recent call last):
2015-12-14 15:34:41 INFO TORNADO::User logged into the SickRage web interface
2015-12-14 15:31:17 INFO MAIN::Building internal name cache for all shows
2015-12-14 15:30:41 INFO MAIN::Checking for scene exception updates for AniDB
2015-12-14 15:30:40 INFO MAIN::Checking for XEM scene exception updates for theTVDB
2015-12-14 15:30:39 INFO MAIN::Checking for scene exception updates for theTVDB
2015-12-14 15:30:39 INFO CHECKVERSION::Checking for updates using GIT
2015-12-14 15:30:39 INFO TORNADO::Starting SickRage on http://0.0.0.0:8899/
2015-12-14 15:30:39 INFO MAIN::New API generated
2015-12-14 15:30:39 INFO MAIN::Writing PID: 29479 to /usr/local/sickrage/var/sickrage.pid