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
{ | |
// heading colours matching Emacs Org Mode | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": "markup.heading.markdown punctuation.definition.heading.markdown", | |
"settings": { | |
"foreground": "#8a8888", | |
} | |
}, |
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
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
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
[Desktop Entry] | |
Name=Feh | |
Name[en_US]=feh | |
GenericName=Image viewer | |
GenericName[en_US]=Image viewer | |
Comment=Fast Imlib2-based Image Viewer | |
Exec=bash -c "feh -. --start-at ./$(realpath --relative-to=$(dirname %f) %f)" | |
Terminal=false | |
Type=Application | |
Icon=feh |
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
struct A<'a> { | |
s: &'a String | |
} | |
struct B<'a> { | |
a: A<'a>, | |
s: String | |
} | |
impl<'a> B<'a> { |
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
pub struct Database<'a> { | |
pub fixes: Vec<Waypoint<'a>>, | |
pub countries: HashMap<String, Country>, | |
} | |
impl<'a> Database<'a> { | |
pub fn new(navdata_dir: PathBuf, resources_dir: PathBuf) -> Database<'a> { | |
let countries_path = resources_dir.join("icao_countries.txt"); | |
let countries_path = countries_path.to_str().unwrap(); |
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
find . -not -path "./.git/*" -type d -exec ls -d {} \; > folder_structure.txt |
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
patterns: | |
- comment: numbers including with decimal places | |
name: constant.numeric.eppl | |
match: (?<=[^a-zA-Z0-9\.])([\-]{0,1}[\d\.]+) | |
- name: keyword.control.eppl | |
match: \b(if|else)\b | |
- comment: match strings | |
name: string.eppl |
NewerOlder