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
# Rename tags named foo-bar-#.#.# to v#.#.# and push the tag changes | |
git tag -l | while read t; do n="v${t##*-}"; git tag $n $t; git push --tags ; git tag -d $t; git push origin :refs/tags/$t ; done |
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
diff -aur openastro.org_1.1.25.orig/openastro.py openastro.org_1.1.25.modified/openastro.py | |
--- openastro.org_1.1.25.orig/openastro.py 2011-09-28 00:17:43 -0700 | |
+++ openastro.org_1.1.25.modified/openastro.py 2012-06-30 14:54:31 -0700 | |
@@ -19,7 +19,7 @@ | |
#basics | |
import math, sys, os.path, datetime, socket, gettext, codecs, webbrowser | |
- | |
+import tempfile | |
#copyfile |
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
__kupfer_name__ = _("Volumes and Disks (Custom Unmount)") | |
__kupfer_sources__ = ("VolumesSource", ) | |
__description__ = _("Mounted volumes and disks") | |
__version__ = "" | |
__author__ = "Ulrik Sverdrup <[email protected]>, Sapphira Armageddos <[email protected]>" | |
import gio | |
from kupfer.objects import Action, Source, FileLeaf | |
from kupfer.obj.fileactions import Open, OpenTerminal |
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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
.ruleview { | |
color: black; | |
} |
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/sh | |
if [[ -d "$XDG_CACHE_HOME" ]] | |
then | |
mkdir -p "$XDG_CACHE_HOME" | |
fi | |
cd -- "$XDG_CACHE_HOME" | |
# Use a subdirectory to save images of the moon. It's interesting to cycle | |
# through them with feh to see it move. |
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/sh | |
for i in $(seq "$2" "$3") | |
do | |
which "python${1}.${i}" && exit 0 | |
done | |
which "python${1}" || echo "$PYTHONBIN" |
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
diff -aur openastro.org-1.1.38.orig/openastro openastro.org-1.1.38/openastro | |
--- openastro.org-1.1.38.orig/openastro 2013-01-09 16:45:06.459729587 -0800 | |
+++ openastro.org-1.1.38/openastro 2013-01-09 17:50:34.637738525 -0800 | |
@@ -49,7 +49,10 @@ | |
VERSION='1.1.38' | |
#directories | |
-DATADIR=os.path.join(sys.prefix,'share','openastro.org') | |
+if LOCAL: | |
+ DATADIR=os.path.dirname(__file__) |
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
# Contributer: [email protected] | |
pkgname=pdfviewer | |
pkgver=0.7 | |
pkgrel=3 | |
pkgdesc="Lightweight Qt-only PDF viewer" | |
arch=('i686' 'x86_64') | |
url="http://opendesktop.org/content/show.php/Pdf+Viewer?content=149637" | |
license=('GPL') | |
depends=('qt4' 'poppler-qt') |
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
/* Colors */ | |
.captions { | |
background:grey; | |
} | |
.carousel .controls, .carousel .panels { | |
background:pink; | |
border-color:black; | |
} |
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
import os | |
import json | |
#import uuid | |
from urllib.parse import urlparse | |
import xml.etree.ElementTree as ET | |
from datetime import datetime, timedelta | |
#http://stackoverflow.com/questions/12589952/convert-microsecond-timestamp-to-datetime-in-python | |
epoch = datetime(1970, 1, 1) |
OlderNewer