This file contains 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/bash | |
# pdf-compress: compress a PDF file | |
Input="$1" | |
Output="$2" | |
gs -sDEVICE=pdfwrite \ | |
-dCompatibilityLevel=1.4 \ | |
-dNOPAUSE -dQUIET -dBATCH \ | |
-sOutputFile="$Output" "$Input" |
This file contains 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
mkdir folder{1..10} && touch folder{1..10}/file{1..10}.txt |
This file contains 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/bash | |
modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 | |
modprobe ubi mtd=0 | |
ubidetach /dev/ubi_ctrl -m 0 | |
ubiformat /dev/mtd0 -f erootfs.ubi | |
ubiattach /dev/ubi_ctrl -m 0 | |
mount -t ubifs ubi0 temp |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
# | |
# untitled.py | |
# | |
class class_name(object): | |
def __init__(self): | |
return | |
This file contains 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/bash | |
# http://www.davelachapelle.ca/guides/handbrake-cli-encoding/ | |
# Your configuration stuff should go here - replace these with whatever you want | |
SRC=./SOURCE_FOLDER/ | |
DEST=./DESTINATION_FOLDER/ | |
DEST_EXT=mp4 | |
HANDBRAKE_CLI=/Applications/HandBrakeCLI | |
PRESET="iPhone & iPod Touch" | |
# | |
# The meat of the script |
This file contains 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
montage -mode concatenate -tile 3x3 tile*.jpg result.jpg |
This file contains 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
heisann du |
This file contains 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
String file contents |
This file contains 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
blablabla |
This file contains 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
This is a story of nothing at all. A story of nothing is nothing to tell. there this story will end. |
OlderNewer