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 Synopsifier | |
// @namespace http://pythonaro.com/ | |
// @version 1.0 | |
// @description add movie details when browsing directories. | |
// @author toyg | |
// @match http://mc1.dl3enter.in/* | |
// @grant GM_xmlhttpRequest | |
// @connect themoviedb.org | |
// ==/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 | |
chflags nouchg /Library/Caches/com.apple.desktop.admin.png | |
cp /Library/Caches/com.apple.desktop.admin.png /Library/Caches/com.apple.desktop.admin.BACKUP.png | |
cp $1 /Library/Caches/com.apple.desktop.admin.png | |
chflags uchg /Library/Caches/com.apple.desktop.admin.png |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
from sqlalchemy import create_engine, MetaData, Table, PrimaryKeyConstraint | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.orm import sessionmaker | |
from sqlalchemy.dialects.oracle import RAW, NUMBER | |
from sqlalchemy.ext.compiler import compiles | |
from sqlalchemy.types import BINARY | |
@compiles(RAW, "oracle") | |
def compile_raw_oracle(type_, compiler, **kw): |
NewerOlder