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
<div class="wrapper" > | |
Hello | |
</div> |
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
$script = <<SCRIPT | |
echo I am provisioning... | |
apt-get install -yq git wget autoconf libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev alsa-utils | |
#also do https://wiki.ubuntuusers.de/Soundkarten_konfigurieren/HDA?redirect=no | |
sudo echo "options snd-hda-intel model=3stack" >> /etc/modprobe.d/alsa-base.conf | |
git clone https://github.com/mikebrady/shairport-sync.git | |
cd shairport-sync | |
autoreconf -i -f | |
./configure --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemv | |
make |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?><VAST version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd"><Ad id="1395013"><InLine><AdSystem>FT</AdSystem><AdTitle>Flashtalking vast template 2.0</AdTitle><Description>date of revision 19-12-13</Description><Survey></Survey><Error></Error><Impression id="ft_vast_i"><![CDATA[https://servedby.flashtalking.com/imp/2/52465;1395013;201;gif;AmnetDE;CPMRoNPRVID10PreRoll101766800111000/?ft_creative=1131704&ft_configuration=0&cachebuster=1468929325]]></Impression><Impression id="3rdparty1"><![CDATA[https://r.turn.com/r/beacon?b2=SNCIeyBoYssEBe6S0sZDxwDJUQt5Ig4DwBnkfGpZIf_VpX62-Bzf-32HGPr8m9eZOplYIIf4auX_vZ0ogDlq9A&cid=1468929325]]></Impression><Impression id="3rdparty2"><![CDATA[https://ad.doubleclick.net/ddm/trackimp/N1203.286450.AMNET/B9035208.122201728;dc_trk_aid=295227103;dc_trk_cid=65211533;ord=1468929325]]></Impression><Impression id="3rdparty3"><![CDATA[]]></Impression><Impression id="3rdparty4"><![CDA |
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
"AWS4-HMAC-SHA256 Credential=AKIAJ4NXC5Z5PTTEN5AQ/" strftime({"%Y%m%d"}, now) "/eu-central-1/s3/aws4_request, SignedHeaders=date;host;x-amz-content-sha256, Signature=" | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64("AWS4Zen9WnHAHYF5QeTdZIFyKcFW6DbrCCYXMJIKgTI5", strftime({"%Y%m%d"}, now)) | |
, "eu-central-1") | |
, "s3") | |
, "aws4_request") | |
, |
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 | |
RESOLUTION1="640x360" | |
BITRATE1="620000" | |
RESOLUTION2="854x480" | |
BITRATE2="1493000" | |
RESOLUTION3="1024x576" | |
BITRATE3="2131000" | |
RESOLUTION4="1280x720" | |
BITRATE4="3658000" | |
RESOLUTION5="1920x1080" |
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
$ aws cloudwatch get-metric-statistics --namespace AWS/ECS --metric-name CPUUtilization --period 180 --statistics Average --dimensions Name=ClusterName,Value=jet-production Name=ServiceName,Value=jet-production --start-time 2016-07-14T10:15:00 --end-time 2016-07-14T11:00:00 | |
{ | |
"Datapoints": [ | |
{ | |
"Timestamp": "2016-07-14T10:48:00Z", | |
"Average": 81675.18434092174, | |
"Unit": "Percent" | |
}, | |
{ | |
"Timestamp": "2016-07-14T10:39:00Z", |
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
sudo: false | |
services: | |
- docker | |
before_script: | |
- sudo service docker stop | |
- if [ "$(ls -A /home/travis/docker)" ]; then echo "/home/travis/docker already set"; else sudo mv /var/lib/docker /home/travis/docker; fi | |
- sudo bash -c "echo 'DOCKER_OPTS=\"-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock -g /home/travis/docker\"' > /etc/default/docker" | |
- sudo service docker start |
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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"id": "http://json-schema.org/geojson/geojson.json#", | |
"title": "Geo JSON Feature object", | |
"description": "Schema for a Geo JSON feature object", | |
"required": [ | |
"geometry", | |
"properties" | |
], | |
"properties": { |
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
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "POI API V0.1", | |
"version": "v0.1" | |
}, | |
"host": "api.heybertha.de", | |
"securityDefinitions": { | |
"Bearer": { | |
"type": "apiKey", |
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
require 'rack-mini-profiler' | |
require 'flamegraph' | |
require 'stackprof' | |
def a | |
puts "method a started!" | |
sleep 0.5 | |
puts "method a ended!" | |
end |