this document has been moved to: https://github.com/eelfroth/Orca-Microcode
this is a draft, or proposal, for a DSL that Orca can implement to define its operators in a compact way
#!/bin/sh | |
# | |
# cmus-status-display | |
# | |
# Usage: | |
# in cmus command ":set status_display_program=cmus-status-display" | |
# | |
# This scripts is executed by cmus when status changes: | |
# cmus-status-display key1 val1 key2 val2 ... | |
# |
- file system | |
architectures | |
- flat | |
-system | |
- kernel | |
- usr | |
- .config | |
- .local | |
- media | |
- logical |
this document has been moved to: https://github.com/eelfroth/Orca-Microcode
this is a draft, or proposal, for a DSL that Orca can implement to define its operators in a compact way
#!/usr/bin/python2 | |
#pip install ddate | |
from ddate.base import DDate | |
def ddt(): | |
dd = DDate() | |
day = str(dd.day_of_season).zfill(2) | |
SEASONS = { 0: "C", 1: "D", 2: "V", 3: "B", 4: "A"} | |
season = SEASONS[dd.season] |
#!/bin/bash | |
### 404 SCRAPER ### | |
# this script reads hostnames from stdin (newline separated) | |
# it sends a request for a nonesense file to each host | |
# on a 404 response the message body is saved to ./scraped404s/ | |
path="this-path-probably-doesnt-exist" |
// this is Processing source code | |
// get the IDE at processing.org | |
// and type in this little program | |
// tweak the numbers to explore... | |
float S = 1; //step | |
float W = 10; //weight | |
float A = 255; //alpha | |
float R = PI/3; //rotation | |
float M = 0; //modulo |