Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash -ex
# zip2cbz.sh
# Written by Takashi UNO
# require: zip, ImageMagick
# if [ $# -ne 1 ]; then
# echo "USAGE: $(basename $0) hogehoge.zip"
# exit 1
# fi
#!/bin/bash
#=============================================================#
# Name: Space to Underscore #
# Description: Recursively replace spaces with underscores #
# in file and directory names. #
# Version: ver 1.2 #
# Data: 16.6.2014 #
# Author: Arthur Gareginyan #
# Author URI: http://arthurgareginyan.com #
# Email: arthurgareginyan@gmail.com #
@dmaglio
dmaglio / zip2cbz.sh
Last active November 15, 2017 15:46 — forked from unot/zip2cbz.sh
Zipped jpeg files to CBZ file for Kobo Glo.
#!/bin/bash -ex
# zip2cbz.sh
# Written by Takashi UNO
# require: zip, ImageMagick
# if [ $# -ne 1 ]; then
# echo "USAGE: $(basename $0) hogehoge.zip"
# exit 1
# fi
#!/bin/sh
available () {
command -v $1 >/dev/null 2>&1
}
# Make sure we have wget or curl
if available wget; then
SILENT_DL="wget -qO-"
LOUD_DL="wget"
@dmaglio
dmaglio / openpgp.txt
Created October 5, 2017 13:27
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:35fe648faeb26e8db3d9b44985143ba76838003d]
@dmaglio
dmaglio / openpgp.txt
Created October 5, 2017 13:27
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:35fe648faeb26e8db3d9b44985143ba76838003d]
@dmaglio
dmaglio / openpgp.txt
Created October 5, 2017 13:27
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:35fe648faeb26e8db3d9b44985143ba76838003d]

Keybase proof

I hereby claim:

  • I am dmaglio on github.
  • I am davidemaglio (https://keybase.io/davidemaglio) on keybase.
  • I have a public key ASCrrTPw16iKhVTMupw1HRU_NiaUFMKI4_gnf3OKtIjLZAo

To claim this, I am signing this object:

@dmaglio
dmaglio / file.rb
Created December 10, 2015 21:06
Signal Desktop
Device : OnePlus A0001 (bacon)
Android : 5.1.1 (d91bf047f5, LMY48B)
Memory : 57M (0.27% used, 192M max)
Memclass: 192
OS Host : cyanogenmod
App : Signal 3.7.2
--------- beginning of system
W/ResourcesManager( 6419): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources.
W/ResourcesManager( 6419): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources.