Two words are provided below: a regular dump word, plus a dump-s word for dealing with strings.
Example output:
> #16 [ 'Hello,_world! s:put nl ] dump
3C4C: 0x801
3C4D: 0xE97
3C4E: H
| import net from "net"; | |
| import crypto from "crypto"; | |
| import { argv, exit } from "process"; | |
| interface CLIOpts { | |
| port: number; | |
| seeds: { host: string; port: number }[]; | |
| } | |
| type GUID = Buffer; |
| ==== Simulate same grade 5 times in a row ==== | |
| ====== AGAIN ====== | |
| ┌─────────┬───────────────────┬─────────────────────┬─────────────────────┐ | |
| │ (index) │ D │ S │ I │ | |
| ├─────────┼───────────────────┼─────────────────────┼─────────────────────┤ | |
| │ 0 │ 3.05 │ 0.4 │ 0.3999999999999999 │ | |
| │ 1 │ 4.771599999999999 │ 0.2771731229713308 │ 0.2771731229713307 │ | |
| │ 2 │ 6.475983999999999 │ 0.19535411986485177 │ 0.19535411986485174 │ | |
| │ 3 │ 8.16332416 │ 0.13925231677732938 │ 0.13925231677732935 │ | |
| │ 4 │ 9.833790918400002 │ 0.09996923095782838 │ 0.09996923095782835 │ |
| prompt_exitcode() { | |
| [[ $exitCode -eq 0 ]] && prompt+="\[\e[1;32m\]" && return | |
| prompt+="\[\e[1;31m\]" | |
| } | |
| prompt_git() { | |
| branch=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
| if [[ -n "$branch" ]]; then | |
| status="$(git status 2>&1 | tee)" | |
| bits="" |
| # import the opencv library | |
| import cv2 | |
| import erlang, os, struct | |
| # define a video capture object | |
| vid = cv2.VideoCapture(0) | |
| AtomOk = erlang.OtpErlangAtom(bytes("ok", "utf-8")) | |
| AtomErr = erlang.OtpErlangAtom(bytes("error", "utf-8")) |
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
It's a pretty neat thing I found!
Please see the Bamboo project for more info.
def lipmaa_iterative(n)| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "reflect" | |
| "github.com/gotk3/gotk3/glib" |
| // This will open up a prompt for text to send to a console session on digital ocean | |
| // Useful for long passwords | |
| (function () { | |
| window.sendString = function (str) { | |
| f(str.split("")); | |
| function f(t) { | |
| var character = t.shift(); | |
| var i=[]; | |
| var code = character.charCodeAt(); | |
| var needs_shift = character.match(/[A-Z!@#$%^&*()_+{}:\"<>?~|]/); |
| // Tiny FORTH by T. NAKAGAWA 2004/07/04-10,7/29,8/5-6 | |
| /* | |
| Tiny FORTH | |
| Experimental Forth for Arduino | |
| T. Nakagawa | |
| 2004/07/10 | |
| */ | |
| #include <stdio.h> |