Because finding anything in this page is harder than it should be
Date | Article | Contents |
---|---|---|
2015-02-02 | Unearthed Arcana: Eberron [PDF] | Changelings, shifters, warforged, Wizard (Artificer), rules for action points, dragonmarks |
Because finding anything in this page is harder than it should be
Date | Article | Contents |
---|---|---|
2015-02-02 | Unearthed Arcana: Eberron [PDF] | Changelings, shifters, warforged, Wizard (Artificer), rules for action points, dragonmarks |
import re; | |
import os; | |
with open('sorting.txt') as f: | |
lines = f.readlines() | |
with open('template.cbl') as f: | |
cbl = f.read() | |
for l in lines: |
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
//although it is hard job to convert pdf to text, tika tool is cool for this. it can auto detect pdf format and choose parser to parse the pdf. | |
package june; | |
import java.io.BufferedInputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; |
// To unzip the epub, move the ePub to a folder, cd to it then simply: | |
unzip MyEbook.epub | |
// To zip up an epub: | |
1. zip -X MyNewEbook.epub mimetype | |
2. zip -rg MyNewEbook.epub META-INF -x \*.DS_Store | |
3. zip -rg MyNewEbook.epub OEBPS -x \*.DS_Store | |
Some explanations necessary here. We start each line with two flags: |
<llppconfig> | |
<ui-font size='18'> | |
<![CDATA[/home/earnest/.local/share/fonts/Fontin-Regular.otf]]> | |
</ui-font> | |
<defaults zoom='100' | |
auto-scroll-step='12' | |
horizontal-scroll-step='24' | |
case-insensitive-search='true' | |
uri-launcher='$BROWSER "%s"' |
/* | |
* Copyright (C) 2017 Alberts Muktupāvels | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
/* | |
* Copyright (C) 2017 Alberts Muktupāvels | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
CC=gcc | |
CFLAGS=-Wall -O2 `pkg-config --cflags x11` | |
LDFLAGS=`pkg-config --libs x11` | |
SOURCES=toggle-decorations.c | |
EXECUTABLE=$(patsubst %.c,%,$(SOURCES)) | |
all: $(EXECUTABLE) | |
clean: $(EXECUTABLE) |
#!/bin/bash | |
# | |
# ImgurAlbum.sh | |
# | |
# Bash script to download images for an Imgur album | |
# | |
if [ -z "$1" ]; then | |
echo "ImgurAlbum: missing Album ID" | |
echo "Usage: ImgurAlbum [Album ID]" | |
exit |