This file contains hidden or 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 trello-hide-labelled-cards | |
// @namespace trello | |
// @version 0.1 | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js | |
// @description Trello: Hide all cards that have specific color labels | |
// @match https://trello.com/board/* | |
// @copyright 2013+, Bruno Binet | |
// ==/UserScript== |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Drag test</title> | |
</head> | |
<body> | |
Drag inside the box and see the graphs below. | |
<div style="width:800px; height:400px; border:solid;" id="box"></div> | |
<p>x, y:</p> |
This file contains hidden or 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
#-*- coding: utf-8 -*- | |
"""ListePlanUE values should be filtered on ListeNatureUE.value=poteau | |
Revision ID: 17a6073d49ac | |
Revises: 22e1c34c8efd | |
Create Date: 2012-11-19 17:11:27.782388 | |
""" | |
# revision identifiers, used by Alembic. |
This file contains hidden or 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
# FunkLoad test configuration file | |
# $Id: $ | |
# ------------------------------------------------------------ | |
# Main section | |
# | |
[main] | |
title=Load FunkLoad tests | |
description=Simply testing a default static page | |
reports_dir = results |
This file contains hidden or 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
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy import Column, Index | |
from sqlalchemy.orm import scoped_session, sessionmaker | |
from sqlalchemy.types import Integer, String | |
Base = declarative_base() | |
Base.metadata.bind = "postgres://user:pass@localhost/sqla_test" | |
meta = Base.metadata | |
session = scoped_session(sessionmaker(bind=meta.bind))() |
This file contains hidden or 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 | |
#=============================================================================== | |
# FILE: import_geonames.sh | |
# | |
# USAGE: sudo -u postgres import_geonames.sh [/path/to/working/directory] | |
# | |
# DESCRIPTION: run the script so that the geodata will be downloaded and | |
# inserted into your database | |
# | |
# ORIGINAL AUTHOR: Andreas (aka Harpagophyt) |
This file contains hidden or 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
% BBI edition %%%%%%%%%%%%%%%%%%%%%%%%%% | |
% add: | |
\newlength{\argtextwidth}% | |
\newlength{\freespace}% | |
\newcommand*{\calcfreespace}[1]{% | |
\settowidth{\argtextwidth}{#1}% | |
\setlength{\freespace}{\maincolumnwidth}% | |
\addtolength{\freespace}{-\argtextwidth}% | |
\addtolength{\freespace}{-\separatorcolumnwidth}% |
This file contains hidden or 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 | |
import cgi | |
import os | |
import sys | |
if os.environ["REMOTE_ADDR"] in ["207.97.227.253", "50.57.128.197", | |
"108.171.174.178", "89.88.161.33"]: | |
print "Content-type: text/plain" | |
print "" |
This file contains hidden or 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 | |
import cgi | |
import os | |
import sys | |
if os.environ["REMOTE_ADDR"] in ["207.97.227.253", "50.57.128.197", | |
"108.171.174.178", "89.88.161.33"]: | |
print "Content-type: text/plain" | |
print "" |