Skip to content

Instantly share code, notes, and snippets.

View tfidfwastaken's full-sized avatar
🤌

Atharva Raykar tfidfwastaken

🤌
View GitHub Profile
@tfidfwastaken
tfidfwastaken / killboringfonts.css
Last active July 23, 2018 10:15
Spice up your boring life by tackling it’s root cause — overused boring fonts. Change the src values as required.
/* Killing the WORST offender, the much-beloved Hell-vetica */
@font-face {
font-family: 'Helvetica Neue';
src: local('Nimbus Sans L');
}
@font-face {
font-family: 'Helvetica Neue';
src: local('Nimbus Sans L Bold');
font-weight: bold;
@tfidfwastaken
tfidfwastaken / 1_koch.png
Last active August 20, 2023 11:26
Neat Fractals in Racket
1_koch.png
@tfidfwastaken
tfidfwastaken / asciidog.jpeg
Last active June 22, 2019 08:39
$ charpic -w 361 asciidog.jpeg
asciidog.jpeg
@tfidfwastaken
tfidfwastaken / coc.md
Last active July 18, 2020 09:40
TOSS: Code of Conduct

TOSS Code of Conduct

Our Pledge

We as members pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

@tfidfwastaken
tfidfwastaken / preview-markdown-script.rkt
Last active July 30, 2020 09:48
Previews the markdown text in DrRacket definitions editor in a web browser
#lang racket/base
(require racket/gui/base
racket/class
racket/path
net/sendurl
markdown
quickscript)
(define-script render-markdown
@tfidfwastaken
tfidfwastaken / coroutines.rkt
Last active December 9, 2022 10:10
Back-of-the-envelope cooperative threading library in Racket
#lang racket
;;; adapted from: https://youtu.be/BAMtstt3Jp8?t=1466
(define threads '())
(define (extend lst item)
(append lst (list item)))
(define (spawn func)
-- Complex Query used in "Enhancing Cache Reuse in Gandiva with Literal Parameterization"
SELECT alpha_key_code from data
where
(case
when alpha_key_code > ? then alpha_key_code/? + ?
when alpha_key_code < ? then iota_key_code/? + ?
when alpha_key_code < ? then alpha_key_code/? +
(case
when alpha_key_code < ? then alpha_key_code/? + ?