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 -e | |
kubedl () | |
{ | |
TYPE=$1 | |
NAME=$2 | |
NAMESPACE=$3 |
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
// ==UserScript== | |
// @name Intercom Base64 Remover | |
// @author Nik Karbaum | |
// @namespace https://app.intercom.io | |
// @include https://app.intercom.io/a/apps/*/inbox/inbox/conversation/* | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
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
const startEngine = Symbol(); | |
export default class Car { | |
engine; | |
constructor(engine) { | |
this.engine = engine; | |
} | |
start() { |
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
export default class HeardModel extends AbstractModel { | |
@ApiField('ApiConfidence') | |
private confidence: string = ''; | |
@ApiField('heardType') | |
private type: string = ''; | |
@ApiField('tradedOnDate', (dateString: string) => new Date(dateString), (date: Date) => date.getTime()) | |
private traded: Date = new Date(); | |
} |
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
alias ls='ls -F --color=always' | |
alias dir='dir -F --color=always' | |
alias ll='ls -l' | |
alias cp='cp -iv' | |
alias rm='rm -i' | |
alias mv='mv -iv' | |
alias grep='grep --color=auto -in' | |
alias ..='cd ..' | |
alias go='git pull && vagrant up --provision && vagrant ssh' | |
alias gs='git status -s' |
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
is_array -> $array === (array) $array |
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
; ---------------------------------------------------------------------------- | |
; fib.asm | |
; | |
; This is a Win32 console program that writes the first 40 Fibonacci numbers. | |
; It needs to be linked with a C library. | |
; ---------------------------------------------------------------------------- | |
global _main | |
extern _printf |