Skip to content

Instantly share code, notes, and snippets.

View joshgoebel's full-sized avatar
💭
Playing with GitHub status.

Josh Goebel joshgoebel

💭
Playing with GitHub status.
View GitHub Profile
#!/bin/bash
# first clone the stan docs repo
# git clone https://github.com/stan-dev/docs.git
# then cd into it and run this script
grep_version=$(grep -V)
grep_=${1:-grep}
bsd='BSD'
if [[ $(grep -V) == *"$bsd"* ]] && [[ $# -eq 0 ]]

Keybase proof

I hereby claim:

  • I am joshgoebel on github.
  • I am yyyc514 (https://keybase.io/yyyc514) on keybase.
  • I have a public key ASCFo6vYq3Kc-zrgL7HQ9gE3J7VTDdiCg3bqwXFRlPypswo

To claim this, I am signing this object:

body {
background:black;
color: #ccc;
padding:0px 40px;
font-family: "Operator Mono";
font-weight: 200;
}
h1,h2,h3,p {
font-size:1em;
body {
background:black;
color: #ccc;
padding:0px 40px;
font-family: "Operator Mono";
font-weight: 200;
}
h1,h2,h3,p {
font-size:1em;
==> /var/log/nginx/access.log <==
96.28.189.235 - - [25/Apr/2020:23:36:50 +0000] "GET /pastes.atom HTTP/1.1" 410 136 "-" "curl/7.54.0"
79.209.49.117 - - [25/Apr/2020:23:36:51 +0000] "GET /pastes.atom HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11;
location @missing {
# how can i always log this?
return 404;
}
location ~* \.(jpg|jpeg|gif|css|js)$ {
access_log off;
expires 30d;
rewrite_log on;
template render*(body: string) :untyped =
if (resp.code == 0):
resp.code = 200
resp.body = body
### How do I write this without changing resp.body? body in the template is wrongly taking it's place also.
// should really use various NOPs here instead of while loop
#define SPOUT(x) SPDR = x; \
while (!(SPSR & _BV(SPIF))) { }
// should really use various NOPs here instead of while loop
#define SPOUT2(x) SPDR = x; \
while (!(SPSR & _BV(SPIF))) { }
// should really use various NOPs here instead of while loop
#define SPOUT3(x) SPDR = x; \
### Keybase proof
I hereby claim:
* I am yyyc514 on github.
* I am yyyc514 (https://keybase.io/yyyc514) on keybase.
* I have a public key ASCLrWqr7nJF5ud8-nPRzMc19-VgSlvOtj-Vg3-3gLxPzgo
To claim this, I am signing this object:
@joshgoebel
joshgoebel / # rust - 2017-11-01_11-59-19.txt
Created November 1, 2017 16:27
rust on macOS 10.13.1 - Homebrew build logs
Homebrew build logs for rust on macOS 10.13.1
Build date: 2017-11-01 11:59:19