Skip to content

Instantly share code, notes, and snippets.

View dhpollack's full-sized avatar

David Pollack dhpollack

View GitHub Profile
@dhpollack
dhpollack / ffmpeg-0.6.1-libcrusher264-svn-r69.patch
Created October 21, 2010 21:45
Updated crusher264 patch for FFmpeg 0.6.1 (tested on Dockstar)
diff --git a/configure b/configure
index d725942..6e95687 100755
--- a/configure
+++ b/configure
@@ -166,6 +166,7 @@ External library support:
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
--enable-libopencv enable video filtering via libopencv [no]
+ --enable-libcrusher264 enable H.264 encoding via crusher264 [no]
--enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>hello-world</artifactId>
<version>0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Jetty HelloWorld</name>
#!/bin/sh
#
# Install Debian Wheezy on Kirkwood devices
# Copyright (c) 2012 Jeff Doozan
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Account Opening: Free!
Buy/Sell crypto transactions: As low as 0.05%
We have a Maker/Taker Fee Model in place: 0.3% for Resting/Limit Order, 0.6% for Incoming/Market Order
Crypto Deposits: Free!
Crypto Withdrawals: Free! (Exc. Crypto Network Fee)
Local HKD Currency bank transfer deposits: Free!
Local HKD Currency Withdrawals: $30 HKD + 0.5% of Withdrawal amount
Local AUD Currency bank transfer deposits: Free!
Local AUD Currency Withdrawals: $10 AUD + 0.5% of Withdrawal amount
International Bank Wire Deposits: Free!
TASK: [edxapp | Updating requirement files for git mirror] ********************
failed: [localhost] => {"changed": true, "cmd": ["/bin/sed", "-i", "-e", "s/github\\.com/github.com/g", "/edx/app/edxapp/edx-platform/requirements/edx/pre.txt", "/edx/app/edxapp/edx-platform/requirements/edx/post.txt", "/edx/app/edxapp/edx-platform/requirements/edx/base.txt", "/edx/app/edxapp/edx-platform/requirements/edx/paver.txt", "/edx/app/edxapp/edx-platform/requirements/edx/repo.txt", "/edx/app/edxapp/edx-platform/requirements/edx/github.txt", "/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt", "/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt", "/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt"], "delta": "0:00:00.020562", "end": "2014-05-29 13:26:45.998543", "item": "", "rc": 2, "start": "2014-05-29 13:26:45.977981"}
stderr: /bin/sed: can't read /edx/app/edxapp/edx-platform/requirements/edx/repo.txt: No such file or directory
FATAL: all hosts have already failed -- aborting
PLAY
@dhpollack
dhpollack / mark_twain_-_the_awful_german_language.md
Last active August 29, 2015 14:08
Mark Twain - The Awful German Language (A Tramp Abroad. Appendix D.)

The Awful German Language

A little learning makes the whole world kin. — Proverbs xxxii, 7.

I went often to look at the collection of curiosities in Heidelberg Castle, and one day I surprised the keeper of it with my German. I spoke entirely in that language. He was greatly interested; and after I had talked a while he said my German was very rare, possibly a "unique"; and wanted to add it to his museum.

If he had known what it had cost me to acquire my art, he would also have known that it would break any collector to buy it. Harris and I had been hard at work on our German during several weeks at that time, and although we had made good progress, it had been accomplished under great difficulty and annoyance, for three of our teachers had died in the mean time. A person who has not studied German can form no idea of what a perplexing language it is.

Surely there is not another language that is so slipshod and systemless, and so slippery and elusive to the grasp. One is washed ab

@dhpollack
dhpollack / Berlin Neukölln Apartment Scam.md
Last active January 22, 2021 22:09
Note to Self: Potential Apartment Scam

I received the following email about an apartment in Berlin that I did not attempt to contact. I am pretty sure it is a scam. Hopefully if anyone googles his email address or the address of the Wohnung (12055 Berlin Neukölln Karl-Marx strasse 223) they'll find this before getting scammed themselves.


Hi david, You sound very interesting and i guess You Should Be a good person to be with.Sorry, i already disable the ad because have gotten too much mails.I would like to get to know people who are being Themselves and not giving a mere representative.Someone who is naturally his / herself and Independently oriented, and maybe we can get to know eachother better.All am looking for is a down to earth person to share flat with, who like to have something appreciable in all his / her endeavors, am a person with a lot of skills and trades, and far away from being lazy.I need a lively and jovial person to stay with. Am on vacation to my Dad's place in portugal now,i just went last 3 days and should be back in

@dhpollack
dhpollack / save_vm.js
Last active September 9, 2021 04:56
Save Google Voice Voicemails to Google Drive
/* Originally Written by Amit Agarwal amit@labnol.org */
/* Tutorial: http://www.labnol.org/?p=25153 */
/* Edited by David Pollack */
/* https://gist.github.com/dhpollack/0f47db0d238db166405f */
function savevm() {
var folder, folder_name = "vms";
var gmail_label = "gv";
var archive_label = "gv/processed";
@dhpollack
dhpollack / bold_predictions_recap_2015
Last active January 25, 2016 21:01
Arabisch A1 - Familie
#العائلة العربية كبيرة على العموم وهي تقوم يدور كبير. في وسطها يوجد الوالدان (الاب والام). عندهما اطفال (ابناء ونبات). احيانا يتشاجر الاخوة والاخات قليلا ولكن يتحابوب ر عم ذلك يقوم الجدان (الجد والجدة) بدور كبير ايضاً ويسكنون غالبا قرب العائلة او عندها. عند بعض العائلات شجرة عائلة كبيرة ومهمة جداز شاهدوا الان شجرة عائلة سلمى. ما اسم امها وابيها؟
![](http://i.imgur.com/sdj1bhH.jpg)
@dhpollack
dhpollack / ffmpeg_installer
Last active October 25, 2021 22:07 — forked from joglomedia/ffmpeg_installer
Simple Bash Script to Install FFMPEG + Required Libraries in Ubuntu 14.04
#!/bin/bash
# Bash Script to Install FFMPEG in Ubuntu 14.04
# Ref: http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
# Opsional: install exiftool: apt-get install libimage-exiftool-perl
#
# Author: Edi Septriyanto http://masedi.net <hi@masedi.net>
########################################################################
CURDIR=$(pwd)