I hereby claim:
- I am satyrius on github.
- I am satyrius (https://keybase.io/satyrius) on keybase.
- I have a public key ASCqBYyDDIvy2Yj556khOSWkpKP3Gr-T1r71iu7RW3_9xQo
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
) | |
type ErrNegativeSqrt float64 | |
func (e ErrNegativeSqrt) Error() string { | |
return fmt.Sprintf("cannot Sqrt negative number: %v", float64(e)) |
require("dotenv").config(); | |
const H = require("highland"); | |
const axios = require("axios"); | |
const fs = require("fs").promises; | |
const exportDirectory = "./export"; | |
const apiUrl = "https://api.intercom.io"; | |
// config axios for the authorized API request | |
const apiClient = axios.create({ |
package main | |
import ( | |
"code.google.com/p/go-tour/pic" | |
"image" | |
"image/color" | |
) | |
type Image struct{ | |
Width, Height int |
package main | |
import "code.google.com/p/go-tour/pic" | |
func Pic(dx, dy int) [][]uint8 { | |
res := make([][]uint8, dy) | |
for y := range res { | |
res[y] = make([]uint8, dx) | |
for x := range res[y] { | |
res[y][x] = uint8((x + y) /2) |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"code.google.com/p/go-tour/wc" | |
"strings" | |
) | |
func WordCount(s string) map[string]int { | |
res := make(map[string]int) | |
for _, w := range strings.Fields(s) { |
package main | |
import "fmt" | |
// fibonacci is a function that returns | |
// a function that returns an int. | |
func fibonacci() func() int { | |
var a, b int | |
return func() int { | |
a, b = b, a + b |
0x65BAC2D81034ac52523fB88EfB62C2a888A756c4 |
FROM debian:jessie | |
ENV PYENV_ROOT=/opt/pyenv PATH=/opt/pyenv/shims:/opt/pyenv/bin:$PATH LANG=en_US.UTF-8 | |
RUN set -x \ | |
&& echo "LANG=$LANG" > /etc/default/locale \ | |
&& echo "$LANG UTF-8" > /etc/locale.gen \ | |
&& export DEBIAN_FRONTEND=noninteractive \ | |
&& apt-get update -qq \ | |
&& apt-get install -y locales \ | |
&& apt-get install -y \ | |
libpq5 \ |
set-window-option -g mode-keys vi | |
set-option -g status-keys vi | |
# Start windows and panes at 1, not 0 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# title | |
set -g set-titles on | |
set -g set-titles-string "#T" |