I hereby claim:
- I am weirdwater on github.
- I am weirdwater (https://keybase.io/weirdwater) on keybase.
- I have a public key whose fingerprint is D7B5 7020 C3B6 52B0 A956 AC11 796D 3EF7 146C 895A
To claim this, I am signing this object:
" GENERAL | |
set nocompatible "Needed to use Vim commands, otherwise compatible with Vi | |
set encoding=utf-8 | |
set nobackup "Only creates backups while saving | |
set swapfile "Creates a swapfile when editing | |
set undofile "Persists changes between edits | |
set backupdir=~/.vim/.backup// | |
set directory=~/.vim/.swp// | |
set undodir=~/.vim/.undo// | |
set autochdir "Automatically change working directory to open file |
version: '3' | |
services: | |
cron: | |
image: alpine:3.5 | |
environment: | |
CRON_RULES: | | |
0-58/2 * * * * /bin/echo 'tick' | |
1-59/2 * * * * /bin/echo 'tock' | |
command: /bin/sh -c "echo \"$$CRON_RULES\" | crontab - ; /usr/sbin/crond -f" |
// Run with Deno | |
import * as log from 'https://deno.land/x/std/log/mod.ts' | |
interface ListLike { | |
id: string | |
name: string | |
} | |
interface CardLike { | |
id: string |
import React, { useState } from 'react'; | |
import ReactDatePicker from 'react-datepicker'; | |
export const DatepickerTest = () => { | |
const [date, setDate] = useState(new Date()) | |
return ( | |
<div> | |
<p>Actual value: {date.toString()}</p> |
Verifying my Blockstack ID is secured with the address 1BN5V6tey6J59sPSaEivcxHcNrP1fn7Pta https://explorer.blockstack.org/address/1BN5V6tey6J59sPSaEivcxHcNrP1fn7Pta |
#!/bin/bash | |
E_BADARGS=85 | |
E_NOTFOUND=86 | |
# Check if key parameter was provided. | |
if [ -z "$1" ]; then | |
echo "Please provide a key to match." | |
exit $E_BADARGS | |
fi |
<?php | |
function pluralToSimple($str) | |
{ | |
$newStr = $str; | |
$irregulars = [ | |
'women' => 'woman', | |
'men' => 'man', | |
'teeth' => 'tooth', | |
'children' => 'child', |
/** | |
* Scans the given directory for files that end with the given file extension. | |
* @param string $directory Directory to be scanned. | |
* @param string $extension The desired file extension. | |
* @return array List of files with given extension. | |
*/ | |
function scanDirForExtension($directory, $extension) | |
{ | |
$list = scandir($directory); | |
$filelist = []; |
I hereby claim:
To claim this, I am signing this object:
/// <summary> | |
/// Plots a path towards the specified target. | |
/// Only returns a position within the given speed. | |
/// </summary> | |
/// <param name="target">Target.</param> | |
public Vector2 Target(Vector2 position, Vector2 target, float speed) | |
{ | |
// Determines current triangle. | |
var diffX = target.X - position.X; | |
var diffY = target.Y - position.Y; |