A curated list of awesome gif tools and scripts : libraries, utilities, and short examples. For more awesomeness, check out awesome.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date | value | |
---|---|---|
2017-05-08 02:25:05 | 84.2557611 | |
2017-05-08 02:30:03 | 84.39944492 | |
2017-05-08 02:35:04 | 84.80249011 | |
2017-05-08 02:40:03 | 85.00872619 | |
2017-05-08 02:45:04 | 84.94212441 | |
2017-05-08 02:50:05 | 84.9358578 | |
2017-05-08 02:55:03 | 84.88719833 | |
2017-05-08 03:00:06 | 84.82001123 | |
2017-05-08 03:05:06 | 84.74269385 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import json | |
import datetime | |
import csv | |
import matplotlib.pyplot as plt | |
import matplotlib.dates as md | |
import dateutil | |
import os | |
from pushbullet import Pushbullet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import requests | |
import json | |
import csv | |
from requests.auth import HTTPBasicAuth | |
from time import strftime | |
USERNAME = "XXXXXXX" # icloud username | |
PASSWORD = "XXXXXXX" # icloud pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google_flight import google_flight_api | |
from pushbullet import Pushbullet | |
import datetime | |
import time | |
import matplotlib.pyplot as plt | |
import matplotlib.dates as mdates | |
g = google_flight_api.GoogleFlight("XXXXXXXXXXXX") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install ffmpeg --with-chromaprint --with-fdk-aac --with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libebur128 --with-libgsm --with-libmodplug --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-rubberband --with-schroedinger --with-sdl2 --with-snappy --with-speex --with-tesseract --with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg | |
brew install imagemagick --with-fftw --with-fontconfig --with-ghostscript --with-hdri --with-liblqr --with-librsvg --with-libwmf --with-little-cms --with-little-cms2 --with-opencl --with-openexr --with-openjpeg --with-openmp --with-pango --with-perl --with-quantum-depth-16 --with-quantum-depth-32 --with-quantum-depth-8 --with-webp --with-x11 --with-zero-configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
read -d '' query << EOF | |
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" | |
xmlns="http://wsiv.ratp.fr" xmlns:xsd="http://wsiv.ratp.fr/xsd"> | |
<soap:Header/> | |
<soap:Body> | |
<getMissionsNext> | |
<station> | |
<xsd:id>181</xsd:id> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
read -d '' query << EOF | |
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" | |
xmlns="http://wsiv.ratp.fr" xmlns:xsd="http://wsiv.ratp.fr/xsd"> | |
<soap:Header/> | |
<soap:Body> | |
<getStations> | |
<station> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "berlekamp-massey.h" | |
int | |
berlekamp_massey(maxlen_t s, byte_t len, maxlen_t * poly, maxlen_t * lambda) | |
{ | |
maxlen_t q = 1, t, k, i; | |
byte_t d; | |
int64_t m = -1; | |
*poly = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hex2dec(){ | |
a=$(echo ${1} | tr "a-z" "A-Z"); | |
echo "ibase=16; ${a}"|bc; | |
} | |
dec2hex(){ | |
echo "obase=16; $@"|bc | |
} | |
dec2bin() { | |
echo "obase=2; ${1}" | bc -l; |