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
{ | |
"name": "test-amplify", | |
"private": true, | |
"version": "0.0.1", | |
"description": "Stencil App Starter", | |
"scripts": { | |
"build": "stencil build", | |
"start": "stencil build --dev --watch --serve", | |
"test": "stencil test --spec --e2e", | |
"test.watch": "stencil test --spec --e2e --watchAll", |
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
#!/usr/bin/env bash | |
set -x | |
set -e | |
function install_hashi_bin { | |
local app=$1 | |
local version=$2 | |
wget https://releases.hashicorp.com/${app}/${version}/${app}_${version}_linux_amd64.zip | |
wget https://releases.hashicorp.com/${app}/${version}/${app}_${version}_SHA256SUMS |
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
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "mosquitto-1.3.5"; | |
buildInputs = [ python tcp_wrappers openssl c-ares ]; | |
configurePhase = '' | |
substituteInPlace config.mk --replace "prefix=/usr/local" "prefix=" | |
echo "DESTDIR=$out" >> config.mk | |
''; | |
src = fetchurl { |
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
!/usr/bin/env bash | |
# this script assumes a fresh Arch Linux 2013.05 x64 | |
# filesystem conflicts with some other system, so ignore it first | |
pacman -Syu -q --noconfirm --ignore filesystem | |
pacman -S -q --noconfirm --needed \ | |
filesystem \ | |
base-devel \ | |
git \ |
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
!/usr/bin/env bash | |
# this script assumes a fresh Arch Linux 2013.05 x64 | |
export PLUGINHOOK_REPO=${DOKKU_REPO:-"https://github.com/progrium/pluginhook.git"} | |
export DOKKU_REPO=${DOKKU_REPO:-"https://github.com/juranki/dokku.git"} | |
# filesystem conflicts with some other system, so ignore it first | |
pacman -Syu -q --noconfirm --ignore filesystem | |
pacman -S -q --noconfirm --needed \ |
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 | |
aws ec2 run-instances \ | |
--image-id ami-8e987ef9 \ | |
--key-name kubuntu \ | |
--security-groups ux \ | |
--user-data "#include https://get.docker.io" \ | |
--instance-type t1.micro \ |
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
FROM raring:latest | |
ADD sources.list /etc/apt/sources.list | |
RUN apt-get update ; apt-get -y upgrade | |
ADD mosquitto_1.2.1-1_amd64.deb / | |
RUN dpkg -i mosquitto_1.2.1-1_amd64.deb | |
ADD mosquitto.conf /usr/local/etc/mosquitto/mosquitto.conf | |
EXPOSE 1883 8883 | |
ENTRYPOINT ["/usr/local/sbin/mosquitto", "-c", "/usr/local/etc/mosquitto/mosquitto.conf"] |
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
(require 'package) | |
(add-to-list 'package-archives | |
'("marmalade" . | |
"http://marmalade-repo.org/packages/")) | |
(package-initialize) | |
(require 'cl) | |
;;Clojure | |
;(add-hook 'emacs-lisp-mode-hook 'enable-paredit-mode) |
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
(function($) { | |
var factoryServiceDefaults = { | |
factoryServiceUrl: "/rpc/rabbitmq", | |
timeout: 30000 | |
}; | |
var channelDefaults = { | |
rpcServiceUrlBase: "/rpc/", | |
username: "guest", | |
password: "guest", |