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
#EXTM3U | |
#EXTINF:-1,US | ABC | |
http://cableking-iptv.com:8000/live/francesco/francesco/18463.ts | |
#EXTINF:-1,USA | ABC HD | |
http://cableking-iptv.com:8000/live/francesco/francesco/18455.ts | |
#EXTINF:-1,USA | A&E HD | |
http://cableking-iptv.com:8000/live/francesco/francesco/18458.ts | |
#EXTINF:-1,USA | ANIMAL PLANET | |
http://cableking-iptv.com:8000/live/francesco/francesco/18442.ts | |
#EXTINF:-1,USA | BBC WORLD NEWS |
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
<html> | |
<head> | |
<style type="text/css"> | |
body { | |
margin: 0; | |
padding: 0; | |
background: #EEE; | |
font: 10px/13px 'Lucida Sans',sans-serif; | |
} | |
.wrap { |
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
/var/lib/docker/containers/*/*.log | |
{ | |
daily | |
missingok | |
rotate 7 | |
compress | |
notifempty | |
copytruncate | |
} |
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 | |
FFMPEG=$1 | |
INPUT_FILE=$2 | |
OUTPUT_FILE=$3 | |
STREAM_INDEX=$4 | |
START_TIME=$5 | |
DURATION=$6 | |
if [[ -z $START_TIME || -z $DURATION ]]; then |
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
var express = require('express'); | |
var path = require('path'); | |
var log = require('./libs/log')(module); | |
var size = require('request-image-size'); | |
var fDld = require('fast-download'); | |
var fs = require('fs'); | |
var app = express(); | |
var gm = require('gm'); | |
var uuid = require('node-uuid'); |
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
{ | |
"query": { | |
"function_score": { | |
"functions": [ | |
{ | |
"script_score": { | |
"script": "_score + log10(doc['views'].value * doc['rank'].value)" | |
} | |
} | |
], |
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://github.com/pongr/bangarang/blob/4626c37fcc53004124a7aa6dae02b41c4ade1d79/src/test/scala/s3/AmazonS3ClientAsyncEval.scala | |
https://github.com/felixgborrego/lib-emr-manager/blob/885cb88e70f45fa1c49343aa9f6881ce105d408d/src/main/scala/aws/S3Client.scala | |
https://github.com/felixgborrego/lib-emr-manager/blob/885cb88e70f45fa1c49343aa9f6881ce105d408d/src/test/scala/S3ClientSpec.scala | |
https://github.com/gvolpe/aws-s3-file-uploader/blob/5b12fdc036b15fd86c07dcb5518dd9a49654baae/app/aws/AWSFileService.scala |
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
{ | |
"masterId": "450000116", | |
"contentId": "3a0ac8ba-0b1a-b945-9a3b-014cb8d3a14e", | |
"keyName": "EWSSubmission", | |
"transformedMetadata": { | |
"Caption": "TOKYO, JAPAN - MARCH 31: A business man walks under cherry blossom trees in full bloom in a park, on March 31, 2015 in Tokyo, Japan. During cherry blossom season thousands of people gather across Japan to practice 'Hanami' (Flower-viewing parties) the centuries old tradition of picnicking under a blooming Sakura tree. Hanami is said to have started during the Nara Period and still today people gather wherever cherry blossom trees are blooming and enjoy food and drinks often well into the night. As cherry blossom season coincides with the beginning of the new school year and the beginning of the business year many hanami parties are also used by companies and organizations to welcome new employees and bring staff together. The Cherry blossom season only lasts for an average of two weekends and the \\cherry blossom front\\ is forecast each year by the Ja |
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
curl -X POST http://localhost:9200/_cluster/nodes/_local/_shutdown | |
wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.1.1/elasticsearch-2.1.1.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
mv elasticsearch-* elasticsearch | |
rm -rf /usr/share/elasticsearch | |
mkdir /usr/share/elasticsearch | |
rsync -a elasticsearch/ /usr/share/elasticsearch | |
rm -rf /usr/share/elasticsearch/config | |
chmod -R 777 /usr/share/elasticsearch |
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
$ exiftool.exe -xmp:all -g1 -json ../457180206.jpg | |
[{ | |
"SourceFile": "../457180206.jpg", | |
"XMP-x": { | |
"XMPToolkit": "XMP Core 4.1.1" | |
}, | |
"XMP-photoshop": { | |
"CaptionWriter": "/ma", | |
"DateCreated": "2014:11:11 23:10:00-05:00", | |
"AuthorsPosition": "Stringer", |