This file contains 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
;; | |
;; ConEmu Functions | |
;; | |
(defvar cbilson/conemu-tab-id 0 "The current ConEmu PID or HWND.") | |
(defun cbilson/conemu-callback (process msg) | |
(message "conemu: %s" msg)) | |
(defun cbilson/send-conemu-macro (macro &optional pid-or-hwnd) | |
"Send a command to ConEmu." |
This file contains 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
import java.awt.Color; | |
import ihs.apcs.spacebattle.BasicEnvironment; | |
import ihs.apcs.spacebattle.BasicSpaceship; | |
import ihs.apcs.spacebattle.ObjectStatus; | |
import ihs.apcs.spacebattle.Point; | |
import ihs.apcs.spacebattle.RadarResults; | |
import ihs.apcs.spacebattle.RegistrationData; | |
import ihs.apcs.spacebattle.commands.BrakeCommand; | |
import ihs.apcs.spacebattle.commands.IdleCommand; |
This file contains 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
import java.util.ArrayList; | |
import java.util.Random; | |
import java.util.Scanner; | |
public class MineField { | |
public static int row; | |
public static int col; | |
public static void main(String[] args) { |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Clef</title> | |
</head> | |
<body id="home"> | |
<h1>Logged in as {{user.display_name}}</h1> | |
<h3>Playlists</h3> |
This file contains 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
;;; ob-scriptcs.el --- org-babel functions for scriptcs evaluation | |
;; Authors: Chris Bilson | |
;; Keywords: literate programming, reproducible research | |
;; Homepage: http://orgmode.org | |
;;; Commentary: | |
;; Org-Babel support for evaluating scriptcs source code. |
This file contains 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
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.util.Scanner; | |
/* | |
* The animals are conspiring again. The cows are mooing very strangely and | |
* you’re certain of it. Your theory is that the length of each “MM” sound | |
* and the length of the “OO” sound can be translated to hexadecimal values | |
* and then converted to ascii. Create a program to translate cowspeak to | |
* English so you can find out what they’re up to. |
This file contains 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
6 | |
..x... | |
.x.... | |
....x. | |
xx.x.. | |
..x... | |
...... |
This file contains 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
;;; ob-powershell.el --- org-babel functions for powershell evaluation | |
;; Authors: Chris Bilson | |
;; Keywords: literate programming, reproducible research | |
;; Homepage: http://orgmode.org | |
;;; Commentary: | |
;; Org-Babel support for evaluating powershell source code. |
This file contains 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
(defun cbilson/rust-mode-hook () | |
(interactive) | |
(message "cbilson/rust-mode-hook...") | |
(cargo-minor-mode) | |
(local-set-key (kbd "C-c <tab>") #'rust-format-buffer) | |
(racer-mode +1) | |
(message "cbilson/rust-mode-hook: done")) | |
(use-package rust-mode |
NewerOlder