Install system wide go
nix-env -iA ....
Download source code and compile it
mkdir -p ${GOPATH}/bootstrap
tar xzf .... -C ${GOPATH}/bootstrap
use libc::{ | |
c_char, | |
c_int, | |
c_long, | |
c_ushort, | |
c_void, | |
sockaddr, | |
sockaddr_ll, | |
socklen_t, | |
}; |
(use rfc.json) | |
(use srfi-19) | |
(define (title-line content) | |
(car (string-split content "\r\n"))) | |
(define (markup-enml content) | |
(string-join | |
(map | |
(lambda (c) |
package ilyaletre; | |
import io.netty.channel.ChannelFactory; | |
import io.netty.channel.EventLoopGroup; | |
import io.netty.handler.traffic.GlobalChannelTrafficShapingHandler; | |
import software.amazon.awssdk.services.s3.S3AsyncClient; | |
import software.amazon.awssdk.http.nio.netty.NettyNioAsyncHttpClient; | |
import software.amazon.awssdk.core.client.builder.SdkAsyncClientBuilder; | |
import software.amazon.awssdk.http.async.SdkAsyncHttpClient; |
version: '3' | |
services: | |
web: | |
image: nginx:latest | |
ports: | |
- "80:80" | |
networks: | |
- perf | |
slave: | |
image: locustio/locust |
#include <stdio.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <net/if.h> | |
#include <sys/socket.h> | |
#include <linux/rtnetlink.h> | |
#include <linux/if_arp.h> | |
#include <linux/types.h> |
.PHONY: setup-apt-ext install-kube-repo install-kube-repo update-repo install-kubernetes | |
KUBE_VERSION=1.10.5-00 | |
KUBE_REPO_LIST=/etc/apt/sources.list.d/kubernetes.list | |
all: install-kubernetes | |
setup-apt-ext: | |
sudo swapoff -a | |
sudo apt-get update && sudo apt-get install -y apt-transport-https |
package main | |
import ( | |
"fmt" | |
"github.com/nlopes/slack" | |
"os" | |
) | |
func printUsers(api *slack.Client) { | |
users, err := api.GetUsers() |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
Install system wide go
nix-env -iA ....
Download source code and compile it
mkdir -p ${GOPATH}/bootstrap
tar xzf .... -C ${GOPATH}/bootstrap
module Main exposing (main) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.App | |
import Html.Events exposing (..) | |
import Http | |
import Task | |
-- MODEL |