I hereby claim:
- I am ls42 on github.
- I am stephan (https://keybase.io/stephan) on keybase.
- I have a public key ASAdQcw9k1ovBHRHzZcAF5FyAwGc5SJWDpN-QIk8GS5bDwo
To claim this, I am signing this object:
for (let i = 1; i <= 100; i += 1) { | |
let returnString = "" | |
if (i % 3 === 0) { | |
returnString += "Fizz" | |
} | |
if (i % 5 === 0) { | |
returnString += "Buzz" | |
} | |
console.log(returnString || `${i}`) | |
} |
const size = 8 | |
let output = "" | |
let currentChar = "#" | |
for (let _ = 1; _ <= size; _ += 1) { | |
let line = "" | |
currentChar = currentChar === "#" ? " " : "#" | |
for (let __ = 1; __ <= size; __ += 1) { | |
line += currentChar | |
currentChar = currentChar === "#" ? " " : "#" | |
} |
# My profile file (a github gist) | |
$profileUri = "https://git.io/fh9CA" | |
# Where to put the profile file | |
if ($IsWindows) { | |
$profilePath = "~\Documents\PowerShell\Profile.ps1" | |
} | |
else { | |
$profilePath = "~/.config/powershell/profile.ps1" | |
} |
#!/bin/bash | |
# | |
# Link this to .git/hooks/pre-commit | |
# and make sure this script is executable | |
# (I use `bash` instead of `sh` so I can color the error message) | |
result=$(grep -REin "// TODO|//TODO" * --exclude pchook.sh) | |
rc=$? | |
if [ $rc -eq 0 ]; then | |
echo -e "\e[31mDon't commit TODOs\e[0m" |
I hereby claim:
To claim this, I am signing this object: