Skip to content

Instantly share code, notes, and snippets.

@rudelm
rudelm / mass-delete-tweets.py
Last active June 3, 2023 13:29
Mass deletion of old Tweets from Twitter
# this is based on https://pushpullfork.com/i-deleted-tweets/ and http://digitallearning.middcreate.net/tips/deleting-tweets-non-techie-starts-her-personal-information-environmentalism-journey-with-lots-of-help/
import tweepy
import csv
consumer_key = ''
consumer_secret = ''
access_key = ''
access_secret = ''
@rudelm
rudelm / ShowLcdKeyMapping.ino
Last active July 6, 2017 18:34
Code from Johannes Z to read out LCD Keypad Shield values
// code provided by Johannes Z
// https://forum.lrtimelapse.com/Thread-alternative-lcd-keypad-shields?pid=31865#pid31865
//Initialize LCD
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
void setup()
{
//Set LCD Display Size
@rudelm
rudelm / autofs.md
Last active April 23, 2024 18:17
Use autofs on Mac OS X to mount network shares automatically during access

Autofs on Mac OS X

With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method.

Prepare autofs to use a separate configuration file

autofs needs to be configured so that it knows where to gets its configuration. Edit the file /etc/auto_master and add the last line:

#
# Automounter master map
#

+auto_master # Use directory service