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
-- change the delimiter if you have passwords containing "," | |
set csvDelim to "," | |
-- select the csv to import to iCloud keychain | |
set theFile to (choose file with prompt "Select the CSV file") | |
-- ask user for password to unlock Safari | |
set pwdDialog to display dialog "Enter password to unlock Safari" default answer "" buttons {"Cancel", "Continue"} default button "Continue" with hidden answer | |
set myPassword to text returned of pwdDialog |
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
\documentclass[11pt,a4paper]{article} | |
\usepackage[a4paper,left=3.5cm, right=2.5cm, top=3.5cm, bottom=3.5cm]{geometry} | |
\usepackage[dutch]{babel} | |
\usepackage{graphicx} | |
\graphicspath{{images/}} % Default location of all the images you want to add | |
\usepackage{a4wide} | |
\usepackage[utf8]{inputenc} | |
\usepackage{natbib} | |
\usepackage{verbatim} | |
\usepackage{hyperref} |
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/bash | |
# | |
# Usage example: | |
# ./mount_ntfs.sh DISK_NAME | |
# | |
# Note: | |
# The disk must be mounted at the start of this script. | |
# Check required args |
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
# PYTHON 3 | |
# Install modules using pip3 install | |
import sys | |
from urllib.request import urlopen | |
import bs4 | |
# Defines meteovista | |
mol = "http://www.meteovista.be/Europa/Belgie/Hooikoorts-Mol/4053929" | |
brussel = "http://www.meteovista.be/Europa/Belgie/Hooikoorts-Brussel/4053951" |
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
#!/usr/bin/python | |
# This script wil get the estimated travel times between your home and your work (in both directions). | |
# | |
# You could use this script to map the estimated travel times of a day in the future | |
# To plot grpahs you could use: http://plot.ly | |
import simplejson | |
import urllib | |
from datetime import date |
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
#!/usr/bin/python | |
# This script wil get the real-time travel time between your home and your work (in both directions at the current time). | |
# | |
# You could use this script to map the real time travel times of the past day (cron job, every minute) | |
# To plot grpahs you could use: http://plot.ly | |
# | |
# | |
# If you want to plat the estimated driving times for each minute of a given day in the future, check out my gist: | |
# Get estimated travel times using Python and Google's distance matrix |