Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

scls19fr

💭
I may be slow to respond.
Block or report user

Report or block scls19fr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@scls19fr
scls19fr / convert_wpt_cup.py
Created Aug 26, 2019
Convert CSV file of waypoints with degrees/minutes/seconds to .cup files
View convert_wpt_cup.py
"""
Convert CSV file of waypoints with degrees/minutes/seconds to .cup files
Usage:
$ python convert_wpt_cup.py poitiers_vfr.csv --name "%s@LFBI" --country "FR"
"""
import click
import re
View gist:8c9b1caddb751c22ec419cc6a3a66bbb
Verifying my Blockstack ID is secured with the address 1NQUNhtmNySVkxQY6pSoe9brezGLdg5V3o https://explorer.blockstack.org/address/1NQUNhtmNySVkxQY6pSoe9brezGLdg5V3o
View gist:6365fcf3561f095e9f25be3a07451d87
,_---~~~~~----._
_,,_,*^____ _____``*g*\"*,
/ __/ /' ^. / \ ^@q f
[ @f | @)) | | @)) l 0 _/
\`/ \~____ / __ \_____/ \
| _l__l_ I
} [______] I
] | | | |
] ~ ~ |
| |
View omercy_summary.py
import os
import json
import pandas as pd
def main():
print("Summary omercy!")
lst = []
for root, dirs, files in os.walk('.', topdown=False):
for name in files:
@scls19fr
scls19fr / omercy.py
Created Feb 16, 2018 — forked from Krazybug/omercy.py
O'Reilly free ebooks downloader
View omercy.py
'''
O'Meirrcy !!!! Download free ebooks from O'Reilly.w
Usage:
>pip install requests
>pip install bs4
>mkdir omercy
>cd omercy
>curl ... omercy.py
>python omercy.py
@scls19fr
scls19fr / email_unique.py
Last active Aug 14, 2017
Find duplicate email
View email_unique.py
import click
import re
from collections import OrderedDict
def format_email(email, name):
if name is None:
return "<%s>" % email
else:
return "%s <%s>" % (name, email)
@scls19fr
scls19fr / blink_millis.ino
Last active May 21, 2017
Arduino Led blink without delay (with millis)
View blink_millis.ino
We couldn’t find that file to show.
View gist:fe70406ffa1c358e443b25dd8756c682
Verifying that +scls19fr is my blockchain ID. https://onename.com/scls19fr
@scls19fr
scls19fr / colorchooser_pyqt.py
Created Oct 14, 2015
A color chooser example with Raspberry Pi and PyQt
View colorchooser_pyqt.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PyQt4 import QtGui, QtCore
from sense_hat import SenseHat
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
You can’t perform that action at this time.