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
; SLIME - ChangeLog file not found | |
CL-USER> (ql:quickload "cl-json") | |
To load "cl-json": | |
Load 1 ASDF system: | |
cl-json | |
; Loading "cl-json" | |
("cl-json") | |
CL-USER> (use-package :json) | |
T |
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
CL-USER> (ql:quickload "jsown") | |
To load "jsown": | |
Load 1 ASDF system: | |
jsown | |
; Loading "jsown" | |
("jsown") | |
CL-USER> (jsown:to-json | |
(jsown:parse "{\"b\": null}")) | |
"{\"b\":[]}" |
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
CL-USER> (ql:quickload "cl-json") | |
To load "cl-json": | |
Load 1 ASDF system: | |
cl-json | |
; Loading "cl-json" | |
("cl-json") | |
CL-USER> (json:decode-json-from-string | |
"{\"a\":{\"b\":{\"c\":{\"d\":\"test\"}}}}") | |
((:A (:B (:C (:D . "test"))))) |
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
CL-USER> (ql:quickload "yason") | |
To load "yason": | |
Load 1 ASDF system: | |
yason | |
; Loading "yason" | |
("yason") | |
CL-USER> (setf yason:*parse-json-null-as-keyword* t) | |
T | |
CL-USER> (yason:parse "null") |
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
There is no applicable method for the generic function | |
#<STANDARD-GENERIC-FUNCTION YASON:ENCODE (12)> | |
when called with arguments | |
(:NULL). | |
[Condition of type SIMPLE-ERROR] | |
Restarts: | |
0: [RETRY] Retry calling the generic function. | |
1: [RETRY] Retry SLIME REPL evaluation request. | |
2: [*ABORT] Return to SLIME's top level. |
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
public class Main { | |
String variable; | |
public static void main(String[] args) { | |
System.out.println("Hello World!"); | |
B b = new B(); | |
} | |
public Main(){ | |
printVariable(); | |
} |
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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
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
general { | |
output_format = "i3bar" | |
colors = true | |
interval = 1 | |
} | |
#order = "ipv6" | |
order += "disk /home" | |
#order += "disk /mnt/stuff" | |
#order += "run_watch DHCP" |
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
/* | |
* The round switches won't stay on unless something is placed on top of them. | |
*/ | |
var robot = this; | |
var thrusters = ['left', 'top', 'right', 'bottom']; | |
var state = 0; | |
var start = 'top'; | |
var rules = [/* 0 */ [['bottom', 'left', 0], | |
['right', 'bottom', 0], |
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
public static int[] arrange(int m, int n) { | |
int res[] = new int[m]; | |
if (n > 0) { | |
int s = 0; | |
for (int i = m - 1; i >= 0; i--) { | |
s += n; | |
if (s >= m) { | |
res[i]++; | |
s -= m; | |
} |