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
#!/usr/bin/env bash | |
# made to resize cbz comics I got from humble bundle that were bigger than I wanted | |
# based on: https://www.bigeekfan.com/post/20180314_cbz_resizing_script | |
# call: for file in *.cbz; do ./resize_cbz.sh "$file";done | |
## pull the input file from the command line | |
INPUT_FILE=$1 | |
echo "$INPUT_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
#!/usr/bin/python | |
# script I wrote to convert the posts from my old blogger blog's rss feed to markdown I could use in github pages' jekyll | |
import feedparser | |
import re | |
import io # to set utf-8 when creating the txt files | |
# allow youtube videos' iframe | |
feedparser._HTMLSanitizer.acceptable_elements.update(['iframe']) |
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
cd bin/ | |
cd gnat-gpl-2014-x86-linux-bin/ | |
sudo apt-get install build-essential | |
./doinstall | |
cd .. | |
ln -s gnat_gpl_2014/ gnat | |
echo $PATH | |
cd bin | |
ln -s marte_1.9_21Aug2014 marte | |
cd marte_1.9_21Aug2014/ |
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 | |
# ref: http://bashscripts.org/forum/viewtopic.php?f=8&t=908 | |
# ref : http://www.linuxquestions.org/questions/programming-9/unrar-multiple-files-into-seprated-directory-base-on-their-name-927127/ | |
echo "starting unrar in folders" | |
# for everything named *.rar | |
for filename in *.rar |