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
# This file is automatically @generated by Cargo. | |
# It is not intended for manual editing. | |
[[package]] | |
name = "autocfg" | |
version = "1.0.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" | |
[[package]] | |
name = "bitflags" |
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
[package] | |
name = "downhill" | |
version = "0.1.0" | |
authors = ["Alex Roper <[email protected]>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
sled = "0.32.0" |
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
use std::io::{Read, Write}; | |
fn good1() { | |
let data = r"* Day | |
:PROPERTIES: | |
:SPAGHETTI: | |
:END: | |
"; | |
let mut current = data.to_string(); |
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
from aenea.proxy_nicknames import Grammar, MappingRule, Text, CompoundRule | |
grammar = Grammar('hello world') | |
import dragonfly | |
import json | |
import os | |
dlist = dragonfly.DictList('vocab list') | |
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
"""A command module for Dragonfly, for controlling eclipse. | |
----------------------------------------------------------------------------- | |
Licensed under the LGPL3. | |
""" | |
from dragonfly import ( | |
MappingRule, | |
AppContext, | |
IntegerRef, |
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
" Defines a submode to rapidly choose a register to paste. When entered, | |
" pastes the default register. Pressing any number will undo the previous | |
" paste and paste the corresponding kill register. Pressing any letter will | |
" paste that register in a similar manner. | |
" | |
" This is a super lightweight alternative to | |
" https://github.com/vim-scripts/YankRing.vim and | |
" https://github.com/maxbrunsfeld/vim-yankstack, which don't seem to play | |
" nice with heavily customized keymaps since they need to hook into |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
import argparse | |
import json | |
import os | |
import select | |
import socket | |
import subprocess | |
import sys |
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
// Put cursor at start of file and execute this: 6jwgc2jgc2jgc2j | |
#include <stdio.h> | |
int main() | |
{ | |
int i; | |
for (i = 0; i < 3; ++i) { | |
printf("i is %i.\n", i); | |
} | |
return 0; |
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
#include <stack> | |
#include <memory> | |
int main() { | |
std::stack<std::unique_ptr<int>> A, B; | |
A.push(std::unique_ptr<int>(new int{1})); | |
A.push(std::unique_ptr<int>(new int{2})); | |
A.push(std::unique_ptr<int>(new int{3})); |
NewerOlder