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
#! /bin/bash | |
srcExt=$1 | |
destExt=$2 | |
srcDir=$3 | |
destDir=$4 | |
opts=$5 |
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
find . -iname \*.mkv -exec ffmpeg -i {} -map 0:s:0 {}.srt \; |
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
ffmpeg -loop 1 -i aa.jpg -i bb.flac -c:a copy -shortest cc.mkv |
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
/* | |
* This program is derived from code bearing the following Copyright(s) | |
/* -*- linux-c -*- | |
* _ _ ____ __ _ ___ ____ ____ __ _ _ _ _ | | |
* . \/ |--| | \| | |--< [__] | \| | _X_ | s e c u r e s y s t e m s | |
* | |
* .vt|ar5k - PCI/CardBus 802.11a WirelessLAN driver for Atheros AR5k chipsets | |
* | |
* Copyright (c) 2002, .vantronix | secure systems |
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/bin/env python | |
# convert unicode filenames to pure ascii | |
import os | |
import sys | |
import glob | |
import unicodedata | |
EXT = u'*.*' |
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
ffmpeg -i loop-testimonio-1.mp4 -vcodec libx264 -preset veryslow -f mp4 -crf 26 -s 960x540 -an loop-testimonio-1-compressed.mp4 |
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
# Advanced config for NGINX | |
server_tokens off; | |
add_header X-XSS-Protection "1; mode=block"; | |
add_header X-Content-Type-Options nosniff; | |
# Redirect all HTTP traffic to HTTPS | |
server { | |
listen 80; | |
server_name www.domain.com domain.com; | |
return 301 https://$host$request_uri; |
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
#-*- mode: nginx; mode: flyspell-prog; mode: autopair; ispell-local-dictionary: "american" -*- | |
## Define a zone for limiting the number of simultaneous | |
## connections nginx accepts. 1m means 32000 simultaneous | |
## sessions. We need to define for each server the limit_conn | |
## value refering to this or other zones. | |
## ** This syntax requires nginx version >= | |
## ** 1.1.8. Cf. http://nginx.org/en/CHANGES. If using an older | |
## ** version then use the limit_zone directive below | |
## ** instead. Comment out this | |
## ** one if not using nginx version >= 1.1.8. |
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
pm list packages -f |
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
{ | |
"devDependencies": { | |
"babel-cli": "^6.10.1", | |
"babel-preset-es2015": "^6.9.0", | |
"babel-preset-stage-0": "^6.5.0", | |
"node-sass": "^3.8.0", | |
"npm-run-all": "^2.2.2" | |
}, | |
"babel": { | |
"presets": [ |
NewerOlder