This widget fetchs the availability of Santander Bikes (ex Barclays Bikes) in realtime using TfL's API.
To install, just type dashing install cfdb32371db7a240263c
Don't forget to add httparty
in you Gemfile like this :
gem 'httparty'
# Python script that signs EIP712 structs that can be validated | |
# by EVM smart contracts. | |
# | |
# Copyright (c) 2021 Alexis Robert <[email protected]> | |
# | |
# Dependencies: | |
# coincurve==15.0.1 | |
# eip712-structs==1.1.0 | |
import os |
import os | |
import dateparser | |
import datetime | |
import pytz | |
import requests | |
from flask import Flask, request | |
app = Flask(__name__) |
#!/bin/bash | |
BACKUP_ROOT="/root/backup/" | |
BACKUP_DATE="`date +'%Y%m%d-%H%M%S'`" | |
BACKUP_FTP_ROOT="/tmp/glacier-${BACKUP_DATE}" | |
mkdir -p $BACKUP_FTP_ROOT | |
DAYS_RETENTION=30 |
#include "ch.h" | |
#include "hal.h" | |
static void extcb1(EXTDriver *extp, expchannel_t channel) { | |
chSysLockFromIsr(); | |
palTogglePad(GPIOD, GPIOD_LED4); | |
chSysUnlockFromIsr(); | |
} |
/* | |
* Fetch the original video file's URL on Megavideo (premium accounts) without getting | |
* through the Flash app. | |
* | |
* Copyright (c) 2011 Alexis ROBERT <[email protected]> | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
/* Tiny web server in Golang for sharing a folder | |
Copyright (c) 2010-2014 Alexis ROBERT <[email protected]> | |
Contains some code from Golang's http.ServeFile method, and | |
uses lighttpd's directory listing HTML template. */ | |
package main | |
import "net/http" | |
import "net/url" |
#!/usr/bin/python | |
# wgetfbx.py - Alexis ROBERT <[email protected]> | |
# Under WTFPL license. | |
# Puis jme la pete j'ecris en anglais aussi alors que c'est pour une Freebox. | |
# Puis jme la pete je mets une licence aussi. | |
# | |
# Si vous voulez conserver le mot de passe, creez un fichier | |
# .config/wgetfbx.conf du type : | |
# | |
# [wgetfbx] |