I hereby claim:
- I am onsails on github.
- I am onsails (https://keybase.io/onsails) on keybase.
- I have a public key ASB6rONEaSfN8kccgh4_d0JO--3UvLW2-aFRwLgim6qTMQo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# https://gist.github.com/siberex/bb0540b208019382d08732cc6dd59007 | |
# Provides automation for cancelling Cloud Builds | |
# Use as a first step to cancel previous builds currently in progress or queued for the same branch name and trigger id. | |
# Similar to: https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/cancelot | |
# Usage: cancelot.sh --current_build_id $BUILD_ID --branch_name $BRANCH_NAME --same_trigger_only | |
# Usage within Cloud Build step: | |
# steps: |
# GNU Screen configuration file | |
# | |
# Balaji S. Srinivasan <balajis_at_stanford_dot_edu> | |
# This file can be found at http://jinome.stanford.edu/stat366/unix/.screenrc | |
# Modified to play well with emacs, by moving Ctrl-A to Ctrl-T | |
# Modification of original files by Sven Guckes, Sarunas Vancevicius, and Mike Perry | |
# Sarunas Vancevicius original: http://www.redbrick.dcu.ie/~svan/configs/screenrc | |
# Mike Perry original: http://fscked.org/writings/225notes/unix/.screenrc |
# vim style tmux config | |
# use C-a, since it's on the home row and easier to hit than C-b | |
set-option -g prefix C-q | |
unbind-key C-a | |
bind-key C-a send-prefix | |
set -g base-index 1 | |
# Easy config reload | |
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." |
#!/usr/bin/env bash | |
# https://gist.github.com/siberex/bb0540b208019382d08732cc6dd59007 | |
# Provides automation for cancelling Cloud Builds | |
# Use as a first step to cancel previous builds currently in progress or queued for the same branch name and trigger id. | |
# Similar to: https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/cancelot | |
# Usage: cancelot.sh --current_build_id $BUILD_ID --branch_name $BRANCH_NAME --same_trigger_only | |
# Usage within Cloud Build step: | |
# steps: |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/ | |
wget http://ftp.nluug.nl/os/Linux/distr/archlinux/iso/2016.01.01/archlinux-bootstrap-2016.01.01-x86_64.tar.gz | |
# Make sure you'll have enough entropy for pacman-key later. | |
apt-get install haveged | |
# Install the arch bootstrap image in a tmpfs. | |
mount -t tmpfs none /mnt | |
cd /mnt | |
tar xvf ~/archlinux-bootstrap-2016.01.01-x86_64.tar.gz --strip-components=1 |
package im.actor.cats | |
import cats._ | |
import cats.data.Xor | |
import cats.data.Xor._ | |
import cats.syntax.all._ | |
import slick.dbio.{ DBIO, FailureAction, SuccessAction } | |
import scala.concurrent.ExecutionContext | |
import scala.reflect.ClassTag |
define(['angular'], function(angular){ | |
/** | |
* Converts any links inside the passed in text parameter into HTML links. | |
*/ | |
angular.module('Filters') | |
.filter('Autolink', function(){ | |
var urlPattern = /(http|ftp|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/gi; |