old rushed dashed squashed crushed smothered suffocated trapped rescued saved
global targetDomain | |
global folderName | |
-- options | |
set targetDomain to "dropcam.com" | |
set folderName to (path to desktop as text) & "Dropcam" | |
-- main code | |
global recordingFile | |
global newMovieRecording |
var speed = .0001; | |
var n = 30; | |
var grid = []; | |
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
var spacing = min(width, height) / n; | |
for(var y = 0; y < height; y += spacing) { | |
for(var x = 0; x < width; x += spacing) { | |
grid.push(createVector(x, y)); |
#Mounting Raspberry Pi Drive via Vagrant
Find instructions here Vagrant. Probably not a bad idea to run the getting started and make sure it works.
With your pi drive mounted (e.g. via a microsd reader) run VBoxManage list usbhost
. This will print a list of UDB devices available to VirtualBox. Look for one that matches your device, this will probably have a manufacturer name of "Generic". Once you find it, note the VendorId and ProductId.
Make a new directory and run vagrant init
. This will create a Vagrantfile
. Open this in a text editor and replace everything with this:
- disk point picking http://mathworld.wolfram.com/DiskPointPicking.html
- Simulate movement across landscape similar to Charlie Deck's Noon Dunes design? http://bigblueboo.tumblr.com/post/142516604819/noon-dunes
- Games
- space invades
- snake game
- pong
- simon game
#include <LiquidCrystal.h> | |
// initialize the library with the numbers of the interface pins | |
LiquidCrystal lcd1(12, 11, 16, 17, 18, 19); | |
LiquidCrystal lcd2(12, 5, 6, 7, 8, 9); | |
LiquidCrystal lcds[2] = { lcd1, lcd2 }; | |
int leds[2] = { 2, 10 }; | |
// wedding |
var ctx = null, usingWebAudio = true; | |
try { | |
if (typeof AudioContext !== 'undefined') { | |
ctx = new AudioContext(); | |
} else if (typeof webkitAudioContext !== 'undefined') { | |
ctx = new webkitAudioContext(); | |
} else { | |
usingWebAudio = false; | |
} |
#!/bin/bash | |
# This script will install a Git pre-push hook that prevents force pushing the master/main branch. | |
# There are three variants that I have built: | |
# - pre-push: prevents force-pushing to master/main. | |
# - pre-push-2: prevents force-pushing to master/main depending on the remote (you need to edit the file!). | |
# - pre-push-3: prevents any type of pushing to master/main. | |
# Set the desired version like this before proceeding: | |
# FILE=pre-push | |
# Single repo installation: |
Most active GitHub users (git.io/top)
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:
githubUsers
.filter(user => user.followers > 1000)