String name = "asdf";
int numberOne = 0;
System.out.println("hello world!"); // "hello world!\n"
System.out.print("hello world!"); // "hello world!"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Title: | |
_**Michio and Michiko**_ | |
Credit: written and directed by | |
Author: Chad Jeept | |
Source: Based on the novel by Toni Morrison | |
Copyright: (c) 2003 Columbia Pictures | |
Date: 2022 | |
==== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Jitai | |
// @version 1.3.2 | |
// @description Display WaniKani reviews in randomized fonts, for more varied reading training. | |
// @author Samuel (@obskyr) | |
// @copyright 2016-2018, obskyr | |
// @license MIT | |
// @namespace http://obskyr.io/ | |
// @homepageURL https://gist.github.com/obskyr/9f3c77cf6bf663792c6e | |
// @icon http://i.imgur.com/qyuR9bD.png |
Let's try some quotes:
This is a quote 1.
This is a quote 2. Can I go back to quote 1? No, because Markdown doesn't allow that.
Can I go to quote 3? Yes. But how about quote 1 again? Nope—you can never go back a level.
That's unfortunately just how Markdown works.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rat's type is Rat | |
z's type is Rat | |
13 6 squared= 169 36 | |
Rat(169 36)'s sqrt, 2.1666666666666665, is a Num, but coerced, is Rat(13 6) |
Annoyingly, ediff tends to fire up org-mode files folded, which makes it impossible to see the hunks. A fix from Rémi Vanicat:
;; diff hooks for org mode
(add-hook 'ediff-select-hook 'f-ediff-org-unfold-tree-element)
(add-hook 'ediff-unselect-hook 'f-ediff-org-fold-tree)
;; Check for org mode and existence of buffer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-02-03 09:40:54 Geth ¦ doc/str-version: 0efcb72704 | (Stoned Elipot)++ | doc/Type/Str.pod6 | |
2020-02-03 09:40:54 Geth ¦ doc/str-version: Document Str.Version | |
2020-02-03 09:40:54 Geth ¦ doc/str-version: review: https://github.com/Raku/doc/commit/0efcb72704 | |
2020-02-03 09:42:13 Geth ¦ doc: stoned++ created pull request #3197: Document Str.Version | |
2020-02-03 09:42:14 Geth ¦ doc: review: https://github.com/Raku/doc/pull/3197 | |
2020-02-03 12:27:45 Geth ¦ doc/str-version: 038fd29668 | (Stoned Elipot)++ | doc/Type/Str.pod6 | |
2020-02-03 12:27:45 Geth ¦ doc/str-version: Add version information for Str.Version | |
2020-02-03 12:27:45 Geth ¦ doc/str-version: review: https://github.com/Raku/doc/commit/038fd29668 | |
2020-02-03 12:34:14 Geth ¦ doc: 0efcb72704 | (Stoned Elipot)++ | doc/Type/Str.pod6 | |
2020-02-03 12:34:14 Geth ¦ doc: Document Str.Version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env raku | |
class B { | |
method foo(B:U: --> Str) { "Bee" } | |
} | |
say B.foo; | |
my B $b; | |
say $b.foo; | |
$b.new; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# moshPids is an array of pids | |
for p in $moshPids; do | |
if [[ -n $interactive ]]; then | |
stty -echo | |
read -q "answer?Kill $p? (N/y)" | |
stty echo | |
echo >&2 | |
[[ "${answer}" == 'n' ]] && continue | |
fi | |
# do_kill set to print “killing $1” in debug |
NewerOlder