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/python | |
################################################################################ | |
# usage: session2html.py [-h] -s SESSION_FILE [-o OUTPUT_FILE] | |
# | |
# Convert Firefox sessionstore.js file to html. | |
# | |
# optional arguments: | |
# -h, --help show this help message and exit | |
# -s SESSION_FILE session file to be converted |
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
3p-alceflib | |
3p-apr | |
3p-ares | |
3p-boost | |
3p-colladadom | |
3p-curl | |
3p-dbus-glib | |
3p-expat | |
3p-fmodstudio | |
3p-fontconfig |
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/ksh | |
# Decodes an URL-string | |
# an URL encoding has "+" instead of spaces | |
# and no special characters but "%HEX" | |
urlDec() { | |
value=${*//+/%20} # replace +-spaces by %20 (hex) | |
for part in ${value//%/ \\x}; do # split at % prepend \x for printf | |
printf "%b%s" "${part:0:4}" "${part:4}" # output decoded char | |
done | |
} |
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
As mentioned by SHW, agedu indeed created an index. I thought I'd share | |
another way to create an index, after reading about locatedb. You can | |
create your own version of a locatedb from du output: | |
du | awk '{print $2,$1}' | /usr/lib/locate/frcode > du.locatedb | |
awk rearranges the du output to have filenames first, so that frcode works right. | |
Then use locate with this database to quickly report disk usage: | |
locate --database=du.locatedb pingus |
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/sh | |
if [ $2 != "" ]; then | |
tmpfile=$2 | |
else | |
tmpfile=/tmp/tmpimage | |
fi | |
viewpic=fim | |
curl http:`curl -L $1 | grep Download | cut -d "\"" -f 2` > $tmpfile | |
$viewpic -o fb $tmpfile |
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
STARTFONT 2.1 | |
FONT rom | |
SIZE 16 75 75 | |
FONTBOUNDINGBOX 8 16 0 -4 | |
STARTPROPERTIES 5 | |
FONT_DESCENT 4 | |
FONT_ASCENT 12 | |
CHARSET_REGISTRY "ISO10646" | |
CHARSET_ENCODING "1" | |
DEFAULT_CHAR 255 |
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 <stdio.h> | |
#include <locale.h> | |
#include <wchar.h> | |
int ibm[256] = { | |
0, 0x263a, 0x263b, 0x2665, 0x2666, 0x2663, 0x2660, 0x2022, 0x25d8, | |
0x25cb, 0x25d9, 0x2642, 0x2640, 0x266a, 0x266b, 0x263c, 0x25ba, | |
0x25c4, 0x2195, 0x203c, 0x00b6, 0x00a7, 0x25ac, 0x21a8, 0x2191, | |
0x2193, 0x2192, 0x2190, 0x221f, 0x2194, 0x25b2, 0x25bc, 32, 33, 34, 35, | |
36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, |
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 -rup coreutils-8.23/src/copy.c coreutils-8.23-patched/src/copy.c | |
--- coreutils-8.23/src/copy.c 2014-07-13 16:09:52.000000000 -0600 | |
+++ coreutils-8.23-patched/src/copy.c 2015-04-11 16:15:00.000000000 -0600 | |
@@ -113,6 +113,71 @@ struct dir_list | |
dev_t dev; | |
}; | |
+struct progress_status { | |
+ int iCountDown; | |
+ char ** cProgressField; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>io.github.arven.rs</groupId> | |
<artifactId>service-example-tomee-embedded-jaxrs</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
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
cd C:\Users\brian.becker\Git\java-rest-examples\tomee-cxf-jaxrs; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.7.0_71" cmd /c "\"\"C:\\Program Files\\NetBeans 8.0.2\\java\\maven\\bin\\mvn.bat\" -Dexec.args=\"-classpath %classpath io.github.arven.rs.services.example.flare.Application\" -Dexec.executable=java -Dexec.classpathScope=runtime -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 8.0.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.2.1:exec\"" | |
Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts. | |
Scanning for projects... | |
------------------------------------------------------------------------ | |
Building service-example-tomee-embedded-jaxrs 1.0.0-SNAPSHOT | |
------------------------------------------------------------------------ | |
The POM for org |
NewerOlder