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 | |
VHOST_CONF=/etc/apache2/sites-available | |
ROOT_UID=0 | |
# check if is root | |
if [ "$UID" -ne "$ROOT_UID" ] | |
then | |
echo You must be root to run this script.. | |
exit $UID |
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
-- phpMyAdmin SQL Dump | |
-- version 3.3.7deb7 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Feb 28, 2012 at 04:19 AM | |
-- Server version: 5.1.49 | |
-- PHP Version: 5.3.3-7+squeeze8 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
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 | |
#################################################################################### | |
# Utility functions required for parsing user input | |
function fatal_error() { | |
echo "FATAL ERROR: $1" | |
exit 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
#include <stdlib.h> | |
#include <curses.h> | |
int main(int argc, char **argv) { | |
if(!initscr()) { | |
printf("Error initializing screen.\n"); | |
exit(1); | |
} | |
if(!has_colors()) { | |
printf("This terminal does not support colours.\n"); |
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
diff --git a/content/scripts/html2canvas.js b/content/scripts/html2canvas.js | |
index 7ab27ed..52f3eab 100644 | |
--- a/content/scripts/html2canvas.js | |
+++ b/content/scripts/html2canvas.js | |
@@ -2830,9 +2830,10 @@ _html2canvas.Renderer.Canvas = function(options) { | |
newCanvas = doc.createElement('canvas'); | |
newCanvas.width = bounds.width; | |
newCanvas.height = bounds.height; | |
- ctx = newCanvas.getContext("2d"); | |
- |
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
# Maintainer: Ben Fox-Moore <[email protected]> | |
pkgname=livestreamer-twitch-gui | |
pkgver=v0.7.1 | |
pkgrel=1 | |
pkgdesc="A multi platform Twitch.tv browser for Livestreamer" | |
arch=("i686" "x86_64") | |
url="https://github.com/bastimeyer/livestreamer-twitch-gui" | |
license=("MIT") | |
depends=("livestreamer") | |
provides=("livestreamer-twitch-gui") |
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
--- swapspace-1.10/Makefile.orig 2006-01-03 20:19:35.000000000 -0800 | |
+++ swapspace-1.10/Makefile 2011-10-13 11:22:23.950648477 -0700 | |
@@ -3,7 +3,7 @@ | |
SWAPPARENT=/var/lib | |
SWAPDIR=$(SWAPPARENT)/swapspace | |
-all: VERSION DATE | |
+all: | |
+$(MAKE) -C src VERSION="`cat VERSION`" DATE="`cat DATE`" | |
+$(MAKE) -C doc VERSION="`cat VERSION`" DATE="`cat DATE`" |