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 ~/Library/Application\ Support/MobileSync/Backup/ | |
# ls -l then cd into the newest directory | |
grep --include "*" --binary-files=text -ri restrictionspassword . | |
# File is probably 398bc9c2aeeab4cb0c12ada0f52eea12cf14f40b | |
# cat ./39/398bc9c2aeeab4cb0c12ada0f52eea12cf14f40b | |
# Use http://ios7hash.derson.us/ to process the key and salt |
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
width width_full height_max height_golden height_golden_full height_e height_e_full | |
TeX points 318 476 710 197 294 117 175 | |
cm 11.1764 16.7295 24.9536 6.9073 10.3394 4.112 6.1544 | |
inches 4.4001 6.5864 9.8243 2.7194 4.0706 1.6187 2.4230 |
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
=LEFT(A2, FIND("@", A2) -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
# https://askubuntu.com/questions/434051/ | |
sed -i '5s/.*/ Good Morning /' file{1..4}.txt | |
# Except on Mac OS X: | |
# https://stackoverflow.com/questions/19456518/ | |
sed -i '' -e '5s/.*/ Good Morning /' file{1..4}.txt |
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
# http://www.gdal.org/drv_sqlite.html | |
# https://gis.stackexchange.com/questions/128101/ | |
# http://www.gdal.org/ogr_sql_sqlite.html | |
# Convert a Shapefile into a new SQLite database (SQLite + FDO database) | |
ogr2ogr -f "SQLite" mygdb.sqlite a_layer.shp | |
# FIXME Or, convert a Shapefile into a new SQLite database (SpatiaLite database) | |
# ogr2ogr -f "SQLite" -dsco spatialite=yes mygdb.sqlite a_layer.shp --config OGR_SQLITE_SYNCHRONOUS OFF # --config OSM_COMPRESS_NODES YES | |
# Add another Shapefile to that same SQLite database | |
ogr2ogr -append mygdb.sqlite b_layer.shp | |
# List the contents of that same SQLite database |
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
convert multipageimage.tif image%03d.png |
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
pdftk my.pdf output my-fixed.pdf |
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/local/bin/wkhtmltopdf -B 25mm -L 25mm -R 25mm -T 25mm |
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
# From: https://geonet.esri.com/thread/45409 | |
# ArcToolbox > Spatial Analyst > Raster Calculator | |
Con(IsNull("raster"), 0, "raster") |
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
# ArcToolbox > Spatial Analyst > Raster Calculator | |
Int(myraster + 0.5) |