Skip to content

Instantly share code, notes, and snippets.

View johnhany97's full-sized avatar

John H. Ayad johnhany97

View GitHub Profile
@johnhany97
johnhany97 / gist:2e667d3a54b45b178aad
Created April 23, 2015 00:31
Batch Replace specific text in PDF automatically using pdftk
Create a file with this:
#!/bin/bash
oldtext=$1
newtext=$2
pdffile=$3
cp $pdffile $pdffile.bak
pdftk $pdffile output $pdffile.tmp uncompress
#!/system/bin/sh
################################################################################
#
# Shell script to disable read receipts for all incoming Whatsapp messages.
#
# [ ANDROID AND ROOT ONLY ! ]
#
# Author: Stephan Schmitz <eyecatchup@gmail.com>
# Source: https://gist.github.com/eyecatchup/9af90363732801b131bf
# Last Updated: 09. Nov 2014
#!/system/bin/sh
#
# Shell script to disable read receipts for your sent Whatsapp messages.
# (Requires "sed" (ie "busybox") being installed on the system to work.)
#
# Author: Stephan Schmitz <eyecatchup@gmail.com>
# Source: https://gist.github.com/eyecatchup/9af90363732801b131bf
#
# In early Nov 2014, Whatsapp added a new "feature" - read receipts. Meaning,
# your chat partners will get a visual feedback (2 blue check marks) as soon as