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 | |
alias pfx='peerflix -c 15 -r' | |
alias opfx='omxplayer -o both http://localhost:8888/' | |
alias opfxs='opfx --subtitles "$(find /tmp -name "*.srt" -type f -printf "%Ts %p\n" | sort -n | tail -1 | sed -r -e "s/^[0-9]+ //")"' |
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
[ | |
{ | |
"type": "url", | |
"id": "https://rockfm-cope.flumotion.com/chunks.m3u8", | |
"title": "Rock FM" | |
},{ | |
"type": "url", | |
"id": "http://19983.live.streamtheworld.com/CADENASER.mp3", | |
"title": "Cadena Ser" | |
},{ |
Example usage:
node hash.js 'magnet:magnet-uri'
Outputs:
Movie hash: f2213716da24f71b
File size: 274429
File name: My-Movie.mp4
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
import pafy | |
url = "https://www.youtube.com/watch?v=DKuqcKdlAUs" | |
video = pafy.new(url) | |
best = video.getbest(preftype="mp4") | |
best.url |
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
{ | |
"device_name": "device-name", | |
"listening_port" : 55555, | |
"storage_path" : "/btsync/.sync", | |
"check_for_updates" : false, | |
"use_upnp" : false, | |
"download_limit" : 0, | |
"upload_limit" : 0, | |
"disk_low_priority" : true, | |
"lan_encrypt_data" : false, |
Input files for domain mydomain.es
-rw-r--r-- 1 www-data www-data 1,5K 2014-07-09 18:26 AddTrustExternalCARoot.crt
-rw-r--r-- 1 www-data www-data 2,0K 2014-07-09 18:26 COMODORSAAddTrustCA.crt
-rw-r--r-- 1 www-data www-data 2,2K 2014-07-09 18:26 COMODORSADomainValidationSecureServerCA.crt
-rw-r--r-- 1 www-data www-data 1,9K 2014-07-09 18:26 mydomain_es.crt
-rw-r--r-- 1 www-data www-data 1,1K 2014-07-09 17:48 mydomain_es.csr
-rw-r--r-- 1 www-data www-data 1,7K 2014-07-09 17:48 mydomain_es.key
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
cd ~/.m2/repository | |
find . -name "_remote.repositories" -delete |
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
git checkout -b feature_branch_name | |
# edit files, add and commit ... | |
git push -u origin feature_branch_name |