I hereby claim:
- I am michel on github.
- I am micheldegraaf (https://keybase.io/micheldegraaf) on keybase.
- I have a public key whose fingerprint is D49B 05DA 9775 7124 C438 6F14 B676 F887 FCC9 B60E
To claim this, I am signing this object:
| " put in .config/nvim/autoload/test/javascript/bun.vim | |
| " add to vim config: | |
| " vim.cmd([[ | |
| " let test#custom_runners = {'javascript': ['bun']} | |
| " ]]) | |
| if !exists('g:test#javascript#bun#file_pattern') | |
| let g:test#javascript#bun#file_pattern = '\v(__tests__/.*|(spec|test))\.(js|jsx|coffee|ts|tsx)$' | |
| endif | |
| function! test#javascript#bun#test_file(file) abort |
| ```class Candidate | |
| attr_accessor :ambition, :location, :education, :skills | |
| def initialize person | |
| @ambition = person.ambition | |
| @location = person.location | |
| @education = person.education | |
| @skills = person.skills | |
| end | |
| end |
I hereby claim:
To claim this, I am signing this object:
| function EditAlternativeLocal() | |
| let filename = bufname("%") | |
| if filename =~ "\.nl\.yml" | |
| let alt_filename = substitute(filename, ".nl.yml", ".en.yml", "g") | |
| execute "e " . alt_filename | |
| elseif filename =~ "\.en\.yml" | |
| let alt_filename = substitute(filename, ".en.yml", ".nl.yml", "g") | |
| execute "e " . alt_filename | |
| endif | |
| endfunction |
| #!/bin/bash | |
| # Update and upgrade packages | |
| sudo apt-get update && sudo apt-get upgrade | |
| # Install postgres 9.3 | |
| sudo apt-get install postgresql-9.3 postgresql-server-dev-9.3 postgresql-contrib-9.3 | |
| # Having Postgres 9.1 already, this will create database instance configured to run on port 5433 |
| # Update, upgrade and install development tools: | |
| apt-get update | |
| apt-get -y upgrade | |
| apt-get -y install git build-essential git-core curl libssl-dev \ | |
| libreadline-gplv2-dev \ | |
| zlib1g zlib1g-dev \ | |
| libmysqlclient-dev \ | |
| libcurl4-openssl-dev \ | |
| libxslt-dev libxml2-dev |
| require 'rspec' | |
| #http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx | |
| class String | |
| def hashKey | |
| rot_hash | |
| end |
| rvm env . > .powenv | |
| touch tmp/restart.txt |
| class Walrus | |
| attr_reader :energy | |
| def initialize | |
| @energy = 0 | |
| end | |
| def receive_gift!(gift) | |
| if gift.edible? | |
| @energy += gift.digest.energy |
| class LRUCache | |
| def initialize(size = 10) | |
| @size = size | |
| @store = {} | |
| @lru = [] | |
| end | |
| def set(key, value) | |
| @store[key] = value |