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
class Mz(object): | |
def __init__(self, mz, z = 1, sign = None, tolerance = 0.01): | |
self.mz = mz | |
self.z = z | |
self.sign = sign | |
self.tol = tolerance | |
def __eq__(self, other): | |
return self.z == other.z and \ |
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 | |
# -*- coding: utf-8 -*- | |
import sys | |
import time | |
__all__ = ['Progress'] | |
class Progress(object): | |
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
cat > /usr/bin/tpad <<EOF | |
#!/bin/bash | |
state=`synclient -l | grep Touchpad | grep -o '.$'` | |
if [[ $state == '1' ]]; | |
then | |
synclient TouchpadOff=0 | |
elif [[ $state == '0' ]]; | |
then | |
synclient TouchpadOff=1 |
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 python2 | |
# -*- coding: utf-8 -*- | |
''' | |
NatWest statement privacy | |
you want to extract a list of transactions data from | |
your account, to provide evidence for a third party, | |
but you want to hide all your other transactions. |
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/python2 | |
# -*- coding: utf-8 -*- | |
# author: [email protected] | |
import bs4 | |
import re | |
import argparse | |
import os | |
import sys |
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 cleankinja | |
// @namespace cleankinja | |
// @include http://*.kinja.com/* | |
// @version 1.0.0 | |
// @grant none | |
// ==/UserScript== | |
var newcss = '.thumb-inset {display: none!important;}\ | |
.referenced-item {display: none!important}\ |