Skip to content

Instantly share code, notes, and snippets.

View floriandierickx's full-sized avatar

Florian Dierickx floriandierickx

View GitHub Profile
@JV-conseil
JV-conseil / Radio-France-Flux-HD-AAC.md
Last active April 16, 2024 09:00
Les nouveaux flux web audio Hifi HD au format .aac des stations de Radio France 📻
@luismanson
luismanson / OutlookMail2Task
Created June 2, 2020 18:19
This VBA Macro create Kaboard Tasks over JSON http requests
Attribute VB_Name = "Modulo1"
' usar SelfCert.exe y tools - digital signatur
' loop mails
' https://www.slipstick.com/developer/outlook-vba-work-with-open-item-or-select-item/
Sub loopMails()
Dim Sarasa As Object
Dim x, mailItem As Outlook.mailItem
For Each x In Application.ActiveExplorer.Selection
@phillmv
phillmv / extract.js
Created September 22, 2017 16:33
Mass embed twitter threads
// Open the Chrome inspector, and select the topmost div containing the twitter thread.
// You might want to open the first tweet in the thread, scroll down to load every item in the thread, then select the parent container
var foo = document.createElement("div");
var str = ""
$($0).find(".tweet").each(function(i, t) {
var tweet = $(t);
var turl = "https://twitter.com" + tweet.data("permalink-path")
var tdate = tweet.find(".tweet-timestamp").attr("title")
var tcontent = tweet.find(".tweet-text").html()
@troeger
troeger / zot5exp2bbt.py
Last active August 7, 2017 06:15
Script for emulating the Zotero BetterBibtex stable citation key feature
#!/usr/bin/env python
'''
Script for emulating the BetterBibtex stable citation key feature.
(see https://github.com/retorquere/zotero-better-bibtex)
input.bib: A BibLatex export from a Zotero 5 library that has "Extra" field
entries for stable BibTex keys ("bibtex: <my_key>"). They end up in the
note field of the standard Zotero 5 export.
output.bib: A BibTex file where the citation keys from the Extra/note field are
@richstrauss
richstrauss / floating-back-to-top-button.html
Last active May 6, 2020 04:02
Floating Back to Top Button in the Corner
// http://html-tuts.com/back-to-top-button-jquery/
// Add an anchor link somewhere in your HTML page, by adding a unique class name.
// Preferably add it somewhere outside from any containers, so we can add the fixed position to our floating back to top button.
<a href="#" class="back-to-top">Back to Top</a>
// OR, if you don't have access to html source you can create the link using some jQuery.
// Make sure to add the script below above the ending of </body> tag.
// Don't forget to get jQuery library files and add it above the ending tag of </head>.
@edsammy
edsammy / gist:4516246
Created January 12, 2013 05:18
Google script to send weekly summaries of Google calendar events
EMAIL = "yourname@youmail.com";
CALENDAR = "calendarname";
function weeklyReminder() {
var StartDate = new Date();
var StartDateDD = StartDate.getDate() + 1;
// Months are based on 0-11 so +1
var StartDateMM = StartDate.getMonth() + 1;
var EndDateDD = StartDate.getDate() + 7;
// Across months, the date will get messed up so...(NEEDS TESTING!)
@henrik
henrik / ocr.markdown
Created March 3, 2012 17:07
OCR on OS X with tesseract

Install ImageMagick for image conversion:

brew install imagemagick

Install tesseract for OCR:

brew install tesseract --all-languages

Or install without --all-languages and install them manually as needed.

@mathiasbynens
mathiasbynens / appify
Created November 12, 2010 13:46 — forked from subtleGradient/appify
appify — create the simplest possible Mac app from a shell script
#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh