Skip to content

Instantly share code, notes, and snippets.

@rolandus
rolandus / README.md
Last active June 24, 2024 20:17
How to use an Epson Perfection V500 Scanner to Scan Film (Negatives and Positives)

Before Starting

Download and install the driver and software from here: https://epson.com/Support/Scanners/Perfection-Series/Epson-Perfection-V500-Photo/s/SPT_B11B189011

Preparing the Scanner

Make sure the reflective mat is removed from the top lid (slide out toward front of scanner). Now you should see glass on the lid as well as the scanner base.

Carefully remove all visible dust from the glass with a microfiber cloth. If there are smudges or marks on the glass, use regular window cleaner, and be sure to dry it 100%

Load the Negatives into the Scanner

Make sure the negatives are as clean as possible, but be extremely careful not to scratch them or get figerprints on them. I use a clean microfiber cloth to remove large dust particles and hair. You can use puffed air, or soft antistatic brushes as well.

@cgmartin
cgmartin / RBLuaTest.lua
Last active September 28, 2021 08:02
RBLuaTest.lua Modifications (1.7) [Works in UI7 v1.7.3015]
module("RBLuaTest", package.seeall)
local version = "1.7"
local luadir = "/etc/cmh-ludl/"
--[[
LuaTest is a tool for testing Vera scene Lua code. It runs on Vera as an http handler.
Upload RBLuaTest.lua to Vera using APPS->Develop Apps->Luup files then restart Vera.
Enter following three lines into APPS->Develop Apps->Test Luup code (LUA) and click GO:
@Necklaces
Necklaces / ufw_vpn_killswitch_tutorial.md
Last active June 2, 2024 05:26
GNU/Linux UFW VPN kill switch tutorial

GNU/Linux UFW VPN kill switch tutorial

This is a quick guide for setting up a kill switch using UFW (Uncomplicated FireWall). It is assumed you are using OpenVPN and optionally Network-Manager with network-manager-openvpn.

1. (Optional) IP Addresses

Before we can start we're going to need the IP address (or the IP addresses) of your VPN so that we can whitelist those later on, write them down. They are obviously going to be different for every VPN and VPNs with multiple servers, so I'll leave this up to you.

2. Install UFW

On some systems UFW is installed and enabled by default (Ubuntu, for example). Installation procedure is going to be different for every distribution of GNU/Linux, but it's usually something like

@kevintyll
kevintyll / startup.lua
Last active January 19, 2024 14:47
Vera luup startup functions
local rblt = require("RBLuaTest")
rbLuaTest = rblt.rbLuaTest
luup.register_handler("rbLuaTest","LuaTest")
HOUSE_MODE_PLUGGIN = 40
HOME = '1'
AWAY = '2'
NIGHT = '3'
VACATION = '4'
@boxmein
boxmein / gist:f4199c8807808b116521
Last active June 6, 2024 15:46
how to write lua scripts

Lua Coding Tutorial

You may use the contents of this document according to the CC BY-NC-SA license.

Also available on: 360 Tech Explorer

This is a really simple tutorial to get you started coding Lua for The Powder Toy. It tries to expect no programming knowledge of the reader, and tries to give the reader an idea of how to think algorithmically as well as how to