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 python3 | |
import sys | |
import mmap | |
if len(sys.argv) < 2 : | |
print(""" | |
change rotation metadata in mp4 files | |
see: https://superuser.com/a/1307206/1010278 | |
usage: %s file.mp4 0-3 |
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 | |
## | |
## olyWifiSync - Mirror Olympus camera via WIFI | |
## | |
## Usage: olyWifiSync [-d|-n|-f|-p|-h] ESSID PASSWORD [wifidevice] | |
## -d download only, don't try to configure the WIFI device) | |
## -n no disconnect, do not disconnect the WIFI on completion | |
## -f full download, do not skip over files that already exist | |
## -p power off camera at end of transfer | |
## -h help |
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
<?php | |
if (! extension_loaded('mssql') && extension_loaded('pdo_sqlsrv')) { | |
//Return an associative array. Used on mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_ASSOC', '1'); | |
//Return an array with numeric keys. Used on mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_NUM', '2'); | |
//Return an array with both numeric keys and keys with their field name. This is the default value for mssql_fetch_array()'s result_type parameter. |