This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name FUScribd | |
// @namespace m0n5t3r | |
// @description Makes Scribd documents visible, gives Scribd the finger. | |
// @include http://www.scribd.com/doc/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function(){ | |
var docs = document.querySelectorAll('div.text_layer'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright: 2014 Sabin Iacob | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# 1. Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# 2. Redistributions in binary form must reproduce the above copyright | |
# notice, this list of conditions and the following disclaimer in the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id www.flickr.com-3076e643-50f4-42bd-b472-0d5cefff426e@scriptish | |
// @name Fuck Yahoo Menu Bar | |
// @version 1.0 | |
// @namespace flickr | |
// @author m0n5t3r | |
// @description Remove purple yahoo bar fron flickr | |
// @include https://www.flickr.com/* | |
// @run-at document-load | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
proc=$(ps ax | awk '/flashplayer/{ if($5 != "awk") { print $1; }}') | |
[ -z "$proc" ] && exit 0 | |
for p in $proc; do | |
flash=$(ls -al /proc/$p/fd | grep FlashX) | |
if [ -n "$flash" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
lifted from python's serial.serialposix.set_special_baudrate and made to look like C | |
compile with `g++ -o test_custom_baudrate test_custom_baudrate.cpp` | |
using 250000 to test because 3D printing people seem to love it | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <fcntl.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
radvdump | awk '/Router Advertisement/{router=$NF}; /interface eth0\.2/{good_if=1}; /interface br-lan/{good_if=0}; /prefix/{if(good_if && $1 == "prefix"){print router" "$2}}' | while read router prefix; do | |
old_prefix=$(uci -q get "radvd.@prefix[0].prefix") | |
new_prefix=$(echo $prefix | sed -e 's@1::1\?/64$@2::/64@g') | |
lan_addr=$(echo $prefix | sed -e 's@1::1/64$@2::1/64@g') | |
new_addr=$(echo $prefix | sed -e 's@1::1/64$@1::2/64@g') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Copyright 2013 Sabin Iacob <iacobs@gmail.com> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
if [ -z "$1" ]; then | |
echo "$0: called with no interface" 1>&2 | |
exit 1; | |
fi | |
if [ "$2" != "up" ]; then | |
exit 0 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feeds: | |
raspi: | |
interval: 24 hours | |
html: | |
url: http://www.raspberrypi.org/downloads | |
links_re: | |
- http://downloads\.raspberrypi\.org/images/.+\.torrent | |
regexp: | |
accept: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "dataflow_batch_export | |
dataflow_batch_import | |
log_customer | |
log_quote | |
log_summary | |
log_summary_type | |
log_url | |
log_url_info | |
log_visitor | |
log_visitor_info |
OlderNewer