I hereby claim:
- I am poppingtonic on github.
- I am poppingtonic (https://keybase.io/poppingtonic) on keybase.
- I have a public key ASAcJSz541udbGps8oIKYXOLTyrMnW4nLrwbspkLc4BD0Qo
To claim this, I am signing this object:
| # Geek0ut! Witness me! | |
| notes = (scale :e2, :minor_pentatonic, num_octaves: 2) | |
| live_loop :feh do | |
| with_fx :wobble, reps: 3, amp: 0.1 do | |
| use_synth :tb303 | |
| play (ring :e1, :e2, :e3).tick - 12, release: 0.7, cutoff: rrand(70, 130) | |
| sleep 0.125 | |
| end | |
| end |
| live_loop :lloop do | |
| with_fx :reverb, room: 0.5 do | |
| sample :bd_boom, amp: 10, rate: 1 | |
| end | |
| play 55 | |
| sleep 0.8 | |
| play 52.3 | |
| sleep 0.25 | |
| play 52.63 | |
| sleep 0.25 |
I hereby claim:
To claim this, I am signing this object:
A type is a collection of possible values. An integer can have values 0, 1, 2, 3, etc.; a boolean can have values true and false. We can imagine any type we like: for example, a HighFive type that allows the values "hi" or 5, but nothing else. It's not a string and it's not an integer; it's its own, separate type.
Statically typed languages constrain variables' types: the programming language might know, for example, that x is an Integer.
In that case, the programmer isn't allowed to say x = true; that would be an invalid program.
The compiler will refuse to compile it, so we can't even run it.
| #!/usr/bin/env bash | |
| sed -i.bak '/\-!\-/d' 2016-08-16.log && gzip -9 2016-08-16.log.bak | |
| # > ls -sh | |
| # total 24K | |
| # 12K sample.txt 12K sample.txt.bak |
| #!/usr/bin/env bash | |
| sed -i.bak '/\-!\-/d' 2016-08-16.log && && gzip -9 2016-08-16.log.bak | |
| # > ls -sh | |
| # total 24K | |
| # 12K sample.txt 12K sample.txt.bak |
| # This file converts English text to Tengwar, using my own personal | |
| # preferences for transliterating Tengwar. | |
| # | |
| # Currently, the output that is created is intended for use with the Tengwar | |
| # Annatar font and related font families. | |
| # | |
| # Example usage: | |
| # >>> print convert("This was a triumph. I'm making a note here: huge success!") | |
| # | |
| # -- then paste the resulting text into a document rendered in Tengwar Annatar. |
| #!/usr/bin/env python | |
| # requires python 3.6 and requests | |
| import os | |
| import re | |
| import secrets | |
| import requests | |
| wordlist_file = 'diceware.wordlist.asc' |
| -- DROP FUNCTION IF EXISTS public.parsel(db text, table_to_chunk text, pkey text, query text, output_table text, table_to_chunk_alias text, num_chunks integer); | |
| CREATE OR REPLACE FUNCTION public.parsel(db text, table_to_chunk text, pkey text, query text, output_table text, table_to_chunk_alias text default '', num_chunks integer default 2) | |
| RETURNS text AS | |
| $BODY$ | |
| DECLARE | |
| sql TEXT; | |
| min_id integer; | |
| max_id integer; | |
| step_size integer; | |
| lbnd integer; |