Last active
September 20, 2017 01:57
-
-
Save rdinse/cbd2c4d44d91f21f09bbd35f17d012ed to your computer and use it in GitHub Desktop.
Revisions
-
rdinse revised this gist
Sep 20, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,5 +6,5 @@ speeduptv-upload () { IPHONE_NAME="iPhone-6s" curl -o /dev/null -F "Filename=\"$1\"" -F "Filedata=@\"$1\"\;filename=\"$1\"" -o output http://${IPHONE_NAME}.${$(hostname)#*.}:8080 } -
rdinse revised this gist
Sep 19, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,8 @@ # Usage: speeduptv-upload [video_file] # The device name of the phone can be found via `nslookup IP_OF_YOUR_PHONE`. # SpeedUpTV needs to stay active throughout the upload and sometimes it is # necessary to restart SpeedUpTV after a failed upload. # This function can for example be added to ~/.profile (BASH) or ~/.zprofile (ZSH). speeduptv-upload () { IPHONE_NAME="iPhone-6s" -
rdinse revised this gist
Sep 19, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ # SpeedUpTV needs to stay active throughout the upload and sometimes it is # necessary to restart SpeedUpTV after a failed upload. speeduptv-upload () { IPHONE_NAME="iPhone-6s" curl -F "Filename=\"$1\"" -F "Filedata=@\"$1\"\;filename=\"$1\"" -o output http://${IPHONE_NAME}.${$(hostname)#*.}:8080 } -
rdinse created this gist
Sep 19, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # Usage: iphone-upload [video_file] # The device name of the phone can be found via `nslookup IP_OF_YOUR_PHONE`. # SpeedUpTV needs to stay active throughout the upload and sometimes it is # necessary to restart SpeedUpTV after a failed upload. iphone-upload () { IPHONE_NAME="iPhone-6s" curl -F "Filename=\"$1\"" -F "Filedata=@\"$1\"\;filename=\"$1\"" -o output http://${IPHONE_NAME}.${$(hostname)#*.}:8080 }