Skip to content

Instantly share code, notes, and snippets.

View peterwilli's full-sized avatar
🐲
Sometimes working from home

Peter Willemsen peterwilli

🐲
Sometimes working from home
View GitHub Profile
@peterwilli
peterwilli / droidcam.nix
Last active June 23, 2022 07:21 — forked from gtgteq/droidcam.nix
droidcam.nix
{ stdenv, fetchzip, pkgconfig, ffmpeg, gtk3-x11, libjpeg, libusbmuxd, alsaLib, speex }:
stdenv.mkDerivation rec {
pname = "droidcam";
version = "0";
src = fetchzip {
url = "https://github.com/dev47apps/droidcam/archive/refs/tags/v1.7.2.zip";
sha256 = "1iskvs5p71gkiinj78kkl9ygl5il9rdbzm0h85hwyzm2xwkcybrp";
};

Keybase proof

I hereby claim:

  • I am peterwilli on github.
  • I am peterwilli (https://keybase.io/peterwilli) on keybase.
  • I have a public key ASAGGAhLzxXP3GLHpS6rFRPUI4vY9JqH6Fw9IdgF_cs03wo

To claim this, I am signing this object:

@peterwilli
peterwilli / backup.sh
Created August 24, 2016 16:08
Backup list of folders via rsync
#!/bin/bash
server="ssh.codebuffet.co" # This can (must :)) be your own domain / ip
dest=~peter/BackupStorage/rsync/daily
declare -a folders=("/var/www" "/root" "/var/lib/mysql")
## now loop through the above array
for i in "${folders[@]}"
do
echo "Backing up: '$i'..."
mkdir -p "$dest$i"
Pod::Spec.new do |s|
s.name = 'PonyDebugger'
s.version = '0.3.0'
s.summary = 'Remote network and data debugging for your native iOS app using Chrome Developer Tools.'
s.homepage = 'https://github.com/square/PonyDebugger'
s.description = <<-DESC
PonyDebugger is a remote debugging toolset.
It is a client library and gateway server combination that uses Chrome Developer Tools on your browser to debug your application's network traffic and managed object contexts.
DESC
s.author = 'Square'