I hereby claim:
- I am karlbateman on github.
- I am karlbateman (https://keybase.io/karlbateman) on keybase.
- I have a public key whose fingerprint is 1073 ED8B 3D45 07B5 D3D2 FA6B CAD1 3CD8 8AEF C71B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# | |
# CORS header support | |
# | |
# One way to use this is by placing it into a file called "cors_support" | |
# under your Nginx configuration directory and placing the following | |
# statement inside your **location** block(s): | |
# | |
# include cors_support; | |
# | |
# As of Nginx 1.7.5, add_header supports an "always" parameter which |
#!/bin/sh | |
## | |
# Test script for PIPSI installations on | |
# debian 8 (jessie) amd64 hosts. | |
# | |
# configure environment | |
export PATH=$(whoami)/.local/bin:$PATH | |
# install dependencies |
In computing, a fork bomb (also called rabbit virus or wabbit) is a denial-of-service attack wherein a process continually replicates itself to deplete available system resources, causing resource starvation and slowing or crashing the system.
import { Injectable } from '@angular/core'; | |
@Injectable() | |
export class StorageService { | |
// STORAGE | |
static getItem(key: string): any { | |
return this.get(localStorage.getItem(key)); | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<style-scheme id="monokai-extended" _name="Monokai Extended" version="1.0"> | |
<author>Karl Bateman</author> | |
<_description>Monokai theme for gEdit</_description> | |
<style name="bracket-match" background="#333333" bold="true"/> | |
<style name="bracket-mismatch" background="#333333" underline="true"/> | |
<style name="c:preprocessor" foreground="#be84ff"/> | |
<style name="css:at-rules" foreground="#f92672"/> | |
<style name="css:color" foreground="#be84ff"/> | |
<style name="css:keyword" foreground="#66d9ef"/> |
Just a bunch of JS Fiddles for various JS bits.
## | |
# Fish Configuration | |
# | |
# Coloured with the Base16 palette | |
# Zsh 'robbyrussell' style | |
# | |
# https://gist.github.com/karlbateman/f08e49a50d284e9f67032de0e2e6d43d | |
# | |
set -g -x PATH /usr/local/bin $PATH |
{ | |
"editor.fontFamily": "'Roboto Mono', 'Source Code Pro', 'Courier New', monospace, 'Droid Sans Fallback'", | |
"editor.fontWeight": "normal", | |
"editor.fontSize": 14, | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.cursorBlinking": "phase", | |
"editor.renderLineHighlight": "all", | |
"workbench.colorTheme": "Monokai", | |
"workbench.iconTheme": "vscode-icons", |