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
# change policy modules in image magick | |
#<!-- <policy domain="coder" rights="none" pattern="MVG" /> --> | |
#<policy domain="coder" rights="read|write" pattern="PDF" /> | |
# add line <policy domain="coder" rights="read|write" pattern="LABEL" /> | |
#copy file to to any folder (one file per folder) | |
convert -density 72 Kashyapa\ samhitha\ Full.pdf -quality 90 output.jpg | |
mkdir out | |
for file in *.jpg;do convert $file -channel RGB -threshold 42% out/$file.jpg; done |
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
ffmpeg -i <input> -filter:v fps=fps=30 <output> |
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
/* | |
Author: Anuraag Tummanapally | |
URL: https://www.google.com/search?q=google+scholar+iitb+ee&oq=google+scholar+iitb+ee | |
Search for: | |
google scholar iitb ee | |
in Google, then copy this code and paste in CONSOLE | |
*/ | |
var length_var=document.getElementsByClassName('LC20lb').length; | |
var names = ["names"]; |
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
:%!nl | |
the above line adds line numbers to a file in vim | |
awk '{printf ("when x%x => sreg <= %s\n", $1,$4)}' file_input | xclip |
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
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi |
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
syntax on | |
filetype plugin on | |
execute pathogen#infect() | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
"these lines are needed for syntastic plugin | |
let g:syntastic_always_populate_loc_list = 1 |
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
i=0 | |
pdftk A=mailmerged.pdf cat A1-3 output combined.pdf | |
while [ $i -le 116 ] | |
do | |
p1=$(($i*3+1)); | |
p2=$(($i*3+3)); | |
echo "$p1 to $p2" | |
#pdftk A=combined.pdf B=blank.pdf C=mailmerged.pdf cat A B1-1 C$p1-$p2 output combined.pdf | |
echo "A$p1-$p2 B1-1" >> com.txt | |