Skip to content

Instantly share code, notes, and snippets.

@sbrl
Last active August 29, 2022 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbrl/85cf891cc52543567204 to your computer and use it in GitHub Desktop.
Save sbrl/85cf891cc52543567204 to your computer and use it in GitHub Desktop.
Atom Settings Backup by https://atom.io/packages/sync-settings
/*
* Your init script
*
* Atom will evaluate this file each time a new window is opened. It is run
* after packages are loaded/activated and after the previous editor state
* has been restored.
*
* An example hack to log to the console when each text editor is saved.
*
* atom.workspace.observeTextEditors (editor) ->
* editor.onDidSave ->
* console.log "Saved! #{editor.getPath()}"
*/
atom.commands.add("atom-text-editor", "sbrl:toggle-debugger", () => {
let target = atom.views.getView(atom.workspace.getActiveTextEditor());
atom.commands.dispatch(document.querySelector("atom-workspace"), "debugger:toggle");
atom.commands.dispatch(document.querySelector("atom-workspace"), "console:toggle");
});
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more information about keymaps in these guides:
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
'atom-workspace':
'ctrl-alt-\\': 'outline-view:toggle'
'ctrl-alt-e': 'color-picker:open'
'ctrl-shift-q': 'application:quit'
'ctrl-alt-o': 'project-manager:list-projects'
"ctrl+shift+t": "terminal:open"
"f5": "open-in-browser:open"
'alt-shift-T': 'terminal:open'
"f12": "sbrl:toggle-debugger"
"ctrl-alt-z": "zen:toggle"
# Terminal
"terminal-view":
"ctrl+shift+c": "terminal:copy"
"ctrl+shift+v": "terminal:paste"
"ctrl+w": "terminal:close"
# Text editor
"atom-text-editor":
"ctrl-k ctrl-p": "change-case:pascal"
"ctrl-k ctrl-c": "change-case:camel"
"ctrl-k ctrl-s": "change-case:snake"
"ctrl-k ctrl-t": "change-case:title"
"ctrl-k ctrl-s ctrl-s": "change-case:sentence"
"ctrl-k ctrl-k": "change-case:kebab"
"alt-right": "cursor-history:next"
"alt-left": "cursor-history:prev"
"shift-alt-right": "cursor-history:next-within-editor"
"shift-alt-left": "cursor-history:prev-within-editor"
# PHP Debugging
"atom-text-editor[data-grammar='text html php']":
'f8': 'php-debug:run'
'f9': 'php-debug:toggleBreakpoint'
'f10': 'php-debug:stepOver'
'f11': 'php-debug:stepIn'
'shift-f11': 'php-debug:stepOut'
'f12': 'php-debug:toggleDebugging'
# Javascript / Node.js intelligence
"atom-text-editor:not([mini]).typescript-editor":
"f2": "typescript:rename-refactor"
"shift-f12": "typescript:find-references"
'.platform-linux, .platform-linux .command-palette atom-text-editor, .platform-win32, .platform-win32 .command-palette atom-text-editor':
'ctrl-p': 'command-palette:toggle'
{
"about": {
"version": "1.9.1"
},
"archive-view": {
"version": "0.66.0"
},
"atom-beautify": {
"version": "0.33.4"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-debug-ui": {
"version": "1.0.5"
},
"atom-ide-base": {
"version": "3.4.0"
},
"atom-ide-datatip": {
"version": "0.25.0"
},
"atom-ide-definitions": {
"version": "0.4.2"
},
"atom-ide-hyperclick": {
"version": "1.0.11"
},
"atom-ide-markdown-service": {
"version": "2.1.0"
},
"atom-ide-outline": {
"version": "3.2.0"
},
"atom-ide-signature-help": {
"version": "0.16.0"
},
"atom-ide-ui": {
"version": "0.13.0"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"atom-linter-phpstan": {
"version": "2.2.0"
},
"atom-ternjs": {
"version": "0.20.0"
},
"atom-typescript": {
"version": "14.4.0"
},
"audio": {
"version": "1.5.7"
},
"aural-coding": {
"version": "1.0.1"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-awk": {
"version": "0.1.2"
},
"autocomplete-clang": {
"version": "0.13.1"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-glsl": {
"version": "0.2.3"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-html-entities": {
"version": "0.2.0"
},
"autocomplete-json": {
"version": "5.5.5"
},
"autocomplete-lua": {
"version": "0.9.2"
},
"autocomplete-math": {
"version": "0.1.1"
},
"autocomplete-modules": {
"version": "2.3.0"
},
"autocomplete-nunjucks": {
"version": "0.5.0"
},
"autocomplete-paths": {
"version": "2.17.0"
},
"autocomplete-plus": {
"version": "2.42.4"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autocomplete-sql": {
"version": "0.5.0"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"background-tips": {
"version": "0.28.0"
},
"base16-tomorrow-dark-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"base16-tomorrow-light-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"bibtex-helper": {
"version": "2.0.0"
},
"bookmarks": {
"version": "0.46.0"
},
"bracket-matcher": {
"version": "0.92.0"
},
"busy": {
"version": "0.7.0"
},
"busy-signal": {
"version": "2.0.1"
},
"caniuse": {
"version": "1.0.0"
},
"change-case": {
"version": "0.6.5"
},
"close-tags": {
"version": "0.6.0"
},
"color-picker": {
"version": "2.3.0"
},
"column-select": {
"version": "1.0.1"
},
"command-palette": {
"version": "0.43.5"
},
"css-hyperclick": {
"version": "0.1.5"
},
"cursor-history": {
"version": "0.14.0"
},
"dalek": {
"version": "0.2.2"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"devdocs": {
"version": "0.2.1"
},
"docblockr": {
"version": "0.14.2"
},
"document-outline": {
"version": "2.1.2"
},
"encoding-selector": {
"version": "0.23.9"
},
"exception-reporting": {
"version": "0.43.1"
},
"file-icons": {
"version": "2.1.47"
},
"find-and-replace": {
"version": "0.219.8"
},
"font-preview": {
"version": "0.1.2"
},
"fuzzy-finder": {
"version": "1.14.3"
},
"git-diff": {
"version": "1.3.9"
},
"git-log": {
"version": "0.4.1"
},
"github": {
"version": "0.36.9"
},
"github-user-datatip": {
"version": "0.3.2"
},
"go-to-line": {
"version": "0.33.0"
},
"grammar-selector": {
"version": "0.50.1"
},
"highlight-selected": {
"version": "0.17.0"
},
"hyperclick": {
"version": "0.0.0"
},
"hyperclick-latex": {
"version": "0.5.8"
},
"hyperclick-markdown": {
"version": "0.2.2"
},
"hyperlink-hyperclick": {
"version": "3.0.2"
},
"ide-bash": {
"version": "1.0.11"
},
"ide-cpp": {
"version": "0.1.0"
},
"ide-csharp": {
"version": "0.6.2"
},
"ide-css": {
"version": "0.4.0"
},
"ide-docker": {
"version": "0.1.0"
},
"ide-html": {
"version": "0.7.0"
},
"ide-json": {
"version": "0.2.1"
},
"ide-python": {
"version": "1.9.7"
},
"ide-rust": {
"version": "1.1.2"
},
"ide-typescript": {
"version": "0.9.5"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"inline-markdown-images": {
"version": "1.15.0"
},
"intentions": {
"version": "2.1.1"
},
"js-hyperclick": {
"version": "1.19.0"
},
"keybinding-resolver": {
"version": "0.39.1"
},
"language-arduino": {
"version": "0.4.3"
},
"language-awk": {
"version": "0.1.12"
},
"language-bison-improved": {
"version": "0.9.7"
},
"language-bnf": {
"version": "1.1.0"
},
"language-c": {
"version": "0.60.19"
},
"language-caddyfile": {
"version": "0.1.7"
},
"language-clojure": {
"version": "0.22.8"
},
"language-coffee-script": {
"version": "0.50.0"
},
"language-csharp": {
"version": "1.1.0"
},
"language-cshtml": {
"version": "0.4.2"
},
"language-css": {
"version": "0.45.1"
},
"language-diff": {
"version": "0.7.0"
},
"language-docker": {
"version": "1.1.8"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-gitignore": {
"version": "0.3.0"
},
"language-glsl": {
"version": "2.0.4"
},
"language-gnuplot-atom": {
"version": "0.2.0"
},
"language-go": {
"version": "0.47.2"
},
"language-hcl": {
"version": "0.4.0"
},
"language-hjson": {
"version": "1.0.2"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-ignore": {
"version": "1.8.0"
},
"language-ilasm": {
"version": "0.0.1"
},
"language-ini": {
"version": "1.25.0"
},
"language-java": {
"version": "0.32.1"
},
"language-javascript": {
"version": "0.134.1"
},
"language-json": {
"version": "1.0.5"
},
"language-latex": {
"version": "1.2.0"
},
"language-less": {
"version": "0.34.3"
},
"language-lex-flex-new": {
"version": "0.2.1"
},
"language-lua": {
"version": "0.9.11"
},
"language-make": {
"version": "0.23.0"
},
"language-markdown": {
"version": "0.37.0"
},
"language-mustache": {
"version": "0.14.5"
},
"language-nginx": {
"version": "0.8.0"
},
"language-nunjucks": {
"version": "4.2.1"
},
"language-objective-c": {
"version": "0.16.0"
},
"language-openscad": {
"version": "0.4.3"
},
"language-perl": {
"version": "0.38.1"
},
"language-php": {
"version": "0.47.0"
},
"language-prolog": {
"version": "0.11.0"
},
"language-property-list": {
"version": "0.9.1"
},
"language-python": {
"version": "0.53.6"
},
"language-regexp": {
"version": "1.2.0"
},
"language-ruby": {
"version": "0.72.23"
},
"language-ruby-on-rails": {
"version": "0.25.3"
},
"language-rust": {
"version": "0.4.12"
},
"language-rust-bundled": {
"version": "0.1.0"
},
"language-sass": {
"version": "0.62.1"
},
"language-scheme": {
"version": "1.4.0"
},
"language-shellscript": {
"version": "0.28.2"
},
"language-source": {
"version": "0.9.0"
},
"language-sql": {
"version": "0.25.10"
},
"language-svg": {
"version": "0.9.2"
},
"language-text": {
"version": "0.7.4"
},
"language-todo": {
"version": "0.29.4"
},
"language-toml": {
"version": "0.20.0"
},
"language-typescript": {
"version": "0.6.3"
},
"language-wren": {
"version": "0.2.0"
},
"language-xml": {
"version": "0.35.3"
},
"language-yaml": {
"version": "0.32.0"
},
"latex-completions": {
"version": "0.3.6"
},
"latex-hyperclick": {
"version": "0.2.0"
},
"line-count-status": {
"version": "0.0.3"
},
"line-ending-selector": {
"version": "0.7.7"
},
"link": {
"version": "0.31.6"
},
"linter": {
"version": "3.4.0"
},
"linter-flake8": {
"version": "2.4.0"
},
"linter-gcc": {
"version": "0.9.0"
},
"linter-jsonlint": {
"version": "1.4.0"
},
"linter-lua": {
"version": "2.0.0"
},
"linter-luacheck": {
"version": "2.0.1"
},
"linter-php": {
"version": "1.6.1"
},
"linter-rust-cargo": {
"version": "1.1.0"
},
"linter-shellcheck": {
"version": "1.6.0"
},
"linter-tidy": {
"version": "2.4.0"
},
"linter-toml": {
"version": "0.1.1"
},
"linter-ui-default": {
"version": "3.4.1"
},
"MagicPython": {
"version": "1.1.1"
},
"markdown-preview": {
"version": "0.160.2"
},
"metrics": {
"version": "1.8.1"
},
"minimap": {
"version": "4.40.1"
},
"minimap-bookmarks": {
"version": "0.4.6"
},
"minimap-codeglance": {
"version": "0.4.7"
},
"minimap-find-and-replace": {
"version": "5.0.9"
},
"minimap-git-diff": {
"version": "4.3.6"
},
"minimap-highlight-selected": {
"version": "4.6.6"
},
"minimap-linter": {
"version": "2.2.2"
},
"minimap-pigments": {
"version": "0.2.2"
},
"minimap-selection": {
"version": "4.5.5"
},
"minimap-titles": {
"version": "1.15.0"
},
"move-status-items": {
"version": "0.1.1"
},
"nearley-grammar": {
"version": "0.1.3"
},
"notifications": {
"version": "0.72.1"
},
"one-dark-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-dark-ui": {
"version": "1.12.5",
"theme": "ui"
},
"one-light-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-light-ui": {
"version": "1.12.5",
"theme": "ui"
},
"open-in-browser": {
"version": "0.5.2"
},
"open-on-github": {
"version": "1.3.2"
},
"package-cop": {
"version": "0.2.10"
},
"package-generator": {
"version": "1.3.0"
},
"pdf-view": {
"version": "0.73.0"
},
"php-debug": {
"version": "0.3.5"
},
"php-ide-serenata": {
"version": "5.4.1"
},
"pigments": {
"version": "0.40.6"
},
"project-manager": {
"version": "3.3.8"
},
"project-plus": {
"version": "1.0.0"
},
"protector": {
"version": "0.2.3"
},
"python-linters": {
"version": "0.0.5"
},
"rainbow-csv": {
"version": "1.4.0"
},
"rainbow-tabs": {
"version": "2.5.1"
},
"rainbow-tabs-evolved": {
"version": "2.7.14"
},
"regex-railroad-diagram": {
"version": "0.19.4"
},
"settings-view": {
"version": "0.261.8"
},
"snippets": {
"version": "1.5.1"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"spell-check": {
"version": "0.77.1"
},
"spell-check-urls": {
"version": "0.5.1"
},
"ssh-config": {
"version": "0.14.0"
},
"status-bar": {
"version": "1.8.17"
},
"styleguide": {
"version": "0.49.12"
},
"Sublime-Style-Column-Selection": {
"version": "1.7.5"
},
"summer-night-syntax": {
"version": "2.0.1",
"theme": "syntax"
},
"switch-header-source": {
"version": "0.34.5"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.16"
},
"tabs": {
"version": "0.110.2"
},
"teletype": {
"version": "0.13.4"
},
"timecop": {
"version": "0.36.2"
},
"tree-view": {
"version": "0.229.1"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.8"
},
"wordcount": {
"version": "3.3.0"
},
"wrap-guide": {
"version": "0.41.0"
},
"Zen": {
"version": "0.18.0"
}
}
[
{
title: "PolyFeed"
paths: [
"/home/sbrl/Documents/code/csharp/PolyFeed"
]
icon: "icon-squirrel"
color: "#ec9925"
}
{
title: "Summer Project"
group: "University"
paths: [
"/home/sbrl/Documents/repos/University/Msc-Summer-Project"
]
icon: "icon-radio-tower"
color: "#222222"
}
{
title: "XmppBridge"
paths: [
"/home/sbrl/Documents/code/javascript/node/xmppbridge"
]
icon: "icon-gist"
color: "#E96D1F"
}
{
title: "powahroot"
paths: [
"/home/sbrl/Documents/code/javascript/node/powahroot"
]
icon: "icon-repo-forked"
color: "#D34636"
}
{
title: "shunction"
paths: [
"/home/sbrl/Documents/code/shell/shunction"
]
icon: "icon-gift"
color: "#cccccc"
}
{
title: "NightInk"
paths: [
"/home/sbrl/Documents/code/javascript/node/NightInk"
]
icon: "icon-file-code"
color: "#163D73"
}
{
title: "Nightdocs"
paths: [
"/home/sbrl/Documents/code/javascript/node/nightdocs"
]
icon: "icon-file"
color: "#FEAF08"
}
{
title: "Linux 101"
paths: [
"/home/sbrl/Documents/repos/Linux-101"
]
icon: "icon-octoface"
color: "#FB6330"
}
{
title: "Stone Plus"
paths: [
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/stone_plus"
]
icon: "icon-package"
color: "#999999"
}
{
title: "Connected Humber Air Quality Web Interface"
paths: [
"/home/sbrl/Documents/code/javascript/browser/Air-Quality-Web"
"/home/sbrl/Documents/code/javascript/node/Air-Quality-AI"
]
icon: "icon-globe"
color: "#37A915"
php:
enabled: true
serenata:
enabled: true
phpVersion: 7.2
excludedPaths: []
fileExtensions: [
"php"
]
}
{
title: "Laminar Config"
paths: [
"/home/sbrl/Documents/code/shell/laminar-config"
"/home/sbrl/Documents/code/shell/lantern-engine"
"/home/sbrl/Documents/code/shell/aptosaurus"
"/home/sbrl/Documents/code/shell/cluster-config"
"/home/sbrl/Documents/code/shell/docker-images"
"/home/sbrl/Documents/code/html/simple-dash"
"/home/sbrl/Documents/code/shell/cluster-deployment"
]
icon: "icon-settings"
color: "#92A7B8"
}
{
title: "SVM"
paths: [
"/home/sbrl/Documents/repos/Component-Based-Architectures/ACW-SVM"
]
}
{
title: "Silverbell Plants"
group: "Minetest"
paths: [
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/silverbell_plants"
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/shroomlands"
]
icon: "icon-package"
color: "#FC492A"
}
{
title: "Gondolin"
paths: [
"/home/sbrl/Documents/code/embedded systems/smart-greenhouse"
"/home/sbrl/Documents/code/embedded systems/arduino-main"
]
icon: "icon-graph"
color: "#096408"
}
{
title: "Whale's Mouth"
paths: [
"/media/sbrl/elfstone/Projects/Whale'sMouth"
]
}
{
title: "Languages and Compilers"
paths: [
"/home/sbrl/Documents/repos/08348-Languages-and-Compilers"
]
}
{
title: "Neural, Emergent, and Agent Technology"
paths: [
"/home/sbrl/Documents/code/javascript/node/08336-Advanced-AI"
]
}
{
title: "Arduino"
paths: [
"/home/sbrl/Documents/code/embedded systems/arduino-main"
"/home/sbrl/Documents/code/embedded systems/autoplant"
"/home/sbrl/Documents/code/javascript/node/mqtt-collectd-bridge"
]
}
{
title: "University Timetable"
paths: [
"/home/sbrl/Documents/code/javascript/node/university-timetable"
]
}
{
title: "Wandering Sandpiper"
paths: [
"/home/sbrl/Documents/code/php/wandering-sandpiper"
]
}
{
title: "Lexicon"
paths: [
"/home/sbrl/Documents/code/javascript/node/lexicon-parser"
]
}
{
title: "Micro Lanterns"
paths: [
"/home/sbrl/Documents/code/javascript/browser/micro-lanterns"
]
}
{
title: "Soundbox"
paths: [
"/home/sbrl/Documents/code/javascript/browser/soundbox"
]
}
{
title: "WorldEditAdditions"
group: "Minetest"
paths: [
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/WorldEditAdditions"
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/shroomlands"
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/worldedit_hud_helper"
"/home/sbrl/Documents/code/lua/maze"
"/home/sbrl/Documents/code/lua/salamander"
"/home/sbrl/Documents/code/lua/terrainoftime"
]
}
{
title: "WorldEdit HUD Helper"
paths: [
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/worldedit_hud_helper"
"/home/sbrl/Documents/code/lua/maze"
"/home/sbrl/Documents/code/lua/salamander"
"/home/sbrl/Documents/code/lua/terrainoftime"
]
}
{
title: "Floating Anchor"
paths: [
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/floating_anchor"
]
}
{
title: "Nibriboard Client"
paths: [
"/home/sbrl/Documents/code/csharp/Nibriboard/Nibriboard/ClientFiles"
"/home/sbrl/Documents/code/javascript/node/Nibriboard-Panel"
]
}
{
title: "Pepperminty Wiki"
paths: [
"/home/sbrl/Documents/code/php/peppermint"
"/home/sbrl/Documents/code/shell/pepperminty-wiki-repl"
"/home/sbrl/Documents/code/javascript/node/peppermint-mapper"
"/home/sbrl/Documents/code/html/pepperminty.wiki"
]
icon: "icon-book"
color: "#FE0808"
php:
enabled: true
serenata:
enabled: true
phpVersion: 7.3
excludedPaths: [
"{0}/build"
]
fileExtensions: [
"php"
]
}
{
title: "SongSlides"
paths: [
"/home/sbrl/Documents/code/html/SchoolResources/SongSlides"
]
}
{
title: "(Stay Weetabix)"
paths: [
"/home/sbrl/Documents/repos/StayWhitby"
]
}
{
title: "Plasticbox"
group: "Minetest"
paths: [
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/plasticbox"
]
icon: "icon-package"
color: "#4ab228"
}
{
title: "Rainbow Tabs Evolved"
paths: [
"/home/sbrl/Documents/repos/rainbow-tabs-evolved"
]
}
{
title: "Wordsearch Plus"
paths: [
"/home/sbrl/Documents/code/javascript/browser/wordsearch-plus"
]
}
{
title: "Simple Dash"
paths: [
"/home/sbrl/Documents/repos/simple-dash"
]
}
{
title: "Rustfxr"
paths: [
"/home/sbrl/Documents/code/rust/rustfxr"
]
}
{
title: "[Riikaan] PhD"
group: "University"
paths: [
"/home/sbrl/Documents/repos/University/PhD-Code"
"/home/sbrl/Documents/repos/University/PhD-Writing"
"/home/sbrl/Documents/code/javascript/node/applause-cli"
"/home/sbrl/Documents/code/javascript/node/terrain50"
"/home/sbrl/Documents/code/javascript/node/terrain50-cli"
"/home/sbrl/Documents/repos/University/nimrod-data-downloader"
"/home/sbrl/Documents/repos/University/film-poster-genres"
"/home/sbrl/Documents/repos/University/PhD-Temporal-CNN"
"/home/sbrl/Documents/repos/University/twitter-academic-downloader"
"/home/sbrl/Documents/repos/University/PhD-Social-Media"
"/home/sbrl/Documents/repos/University/PhD-Variational-Autoencoder"
]
}
{
title: "Woppleblox"
paths: [
"/home/sbrl/Documents/code/rust/woppleblox"
]
}
{
title: "Minetest Mod: Bamboo"
group: "minetest"
paths: [
"/home/sbrl/.minetest/worlds/Mod-Sandbox/worldmods/bamboo"
]
color: "#ccffcc"
}
{
title: "Skyliner"
paths: [
"/home/sbrl/Documents/code/javascript/node/skyliner"
"/home/sbrl/Documents/code/javascript/special/atom-skyliner"
]
}
{
title: "consulstatus"
paths: [
"/home/sbrl/Documents/code/php/consulstatus"
]
}
]
{
"*": {
"Clean2": {
"fullScreen": false
},
"Zen": {
"fullscreen": false,
"showWordCount": "Right"
},
"arduino-upload": {
"arduinoExecutablePath": "/home/sbrl/Downloads/arduino-1.8.9/arduino",
"autosave": "save+reopen",
"board": "arduino:avr:uno"
},
"atom-beautify": {
"general": {
"_analyticsUserId": "996c8d70-0701-4707-a299-79a986effee9"
},
"python": {
"default_beautifier": "yapf",
"indent_size": 4
}
},
"atom-ide-datatip": {
"hoverTime": 250
},
"atom-ide-ui": {
"atom-ide-diagnostics-ui": {},
"use": {
"atom-ide-diagnostics-ui": "never"
}
},
"atom-linter-phpstan": {
"executablePath": "/home/sbrl/.config/composer/vendor/phpstan/phpstan/phpstan",
"memoryLimit": "512M"
},
"atom-minimap-titles": {
"borderOn": true,
"font": "ANSI Shadow"
},
"atom-package-deps": {
"ignored": []
},
"atom-ternjs": {
"inlineFnCompletionDocumentation": true,
"useSnippets": true,
"useSnippetsAndFunction": true
},
"atom-typescript": {
"ignoredDiagnosticCodes": [
"experimentalDecorators"
]
},
"autocomplete-clang": {
"ignoreClangErrors": false,
"includeSystemHeadersDocumentation": true
},
"autocomplete-modules": {
"includeExtension": true
},
"browser-refresh": {
"saveFilesBeforeRefresh": true
},
"caniuse": {
"showAndFf": true,
"showOpMini": true
},
"clock": {
"format": false,
"seconds": false
},
"color-picker": {
"automaticReplace": true,
"preferredFormat": "HSL",
"triggerKey": "E"
},
"core": {
"autoHideMenuBar": true,
"customFileTypes": {
"source.cs": [
"cs"
],
"text.ignore": [
".dockerignore"
]
},
"disabledPackages": [
"battery-status",
"open-terminal-here",
"clock",
"aural-coding",
"autocomplete-paths",
"language-python",
"package-cop",
"autocomplete-math",
"atom-linter-phpstan",
"atom-ternjs",
"language-gfm",
"linter-flake8",
"ide-python",
"python-linters",
"linter-gcc",
"ide-cpp"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
"desktop.ini",
".pioenvs",
".piolibdeps",
".clang_complete",
".gcc-flags.json"
],
"packagesWithKeymapsDisabled": [
"color-picker",
"php-debug",
"atom-typescript",
"terminal-tab",
"string-case",
"web-lookup",
"Zen",
"Clean2"
],
"telemetryConsent": "limited",
"warnOnLargeFileLimit": 1
},
"docblockr": {},
"document-outline": {
"showByDefault": false
},
"editor": {
"backUpBeforeSaving": true,
"scrollPastEnd": true,
"showIndentGuide": true,
"softTabs": false,
"softWrap": true,
"tabLength": 4
},
"exception-reporting": {
"userId": "f79dd3bd-9f04-4354-9690-f98d7d0ad0da"
},
"fuzzy-finder": {},
"git-plus": {
"general": {
"_analyticsUserId": "cda3eee0-aff8-48b6-bde3-7fcfd4c8af49"
}
},
"github": {},
"highlight-selected": {},
"ide-cpp": {},
"ide-python": {
"pylsPlugins": {
"flake8": {
"ignore": [
"E121",
"E123",
"E126",
"E128",
"E226",
"E24",
"E704",
"W503",
"W504",
"W291"
]
},
"jedi_definition": {
"follow_imports": true
},
"pycodestyle": {
"enabled": false
},
"pydocstyle": {
"enabled": true,
"ignore": [
"D401",
"D202",
"D203",
"D205",
"D212",
"D100"
]
},
"pylint": {},
"rope_completion": {},
"yapf": {}
},
"python": "python3"
},
"ide-rust": {},
"ide-typescript": {},
"js-hyperclick": {
"extensions": [
".js",
".json",
".node",
".mjs"
]
},
"line-count-status": {
"format": "%s lines"
},
"linter": {},
"linter-eslint": {},
"linter-flake8": {
"ignoreErrorCodes": [
"W391",
"W191",
"E261",
"W293",
"E303",
"E251",
"E223",
"E221",
"E202",
"E201",
"E128"
],
"maxLineLength": 180
},
"linter-gcc": {
"gccLintOnTheFly": true
},
"linter-gcc2": {
"gccRelintMessageSources": true
},
"linter-jshint": {
"lintInlineJavaScript": true
},
"linter-phan": {
"numProcesses": 2
},
"linter-phpmd": {
"executablePath": "/home/sbrl/.config/composer/vendor/phpmd/phpmd/src/bin/phpmd"
},
"linter-phpstan": {
"executablePath": "/home/sbrl/.config/composer/vendor/bin/phpstan"
},
"linter-pylint": {
"rcFile": "~/bin/settings/pylintrc"
},
"linter-ui-default": {
"useBusySignal": false
},
"linter-ui-hinted": {},
"markdown-preview": {},
"minimap": {
"plugins": {
"bookmarks": true,
"bookmarksDecorationsZIndex": 0,
"codeglance": true,
"codeglanceDecorationsZIndex": 0,
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0,
"git-diff": true,
"git-diffDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"lens-mode": true,
"lens-modeDecorationsZIndex": 0,
"linter": true,
"linterDecorationsZIndex": 0,
"pigments": true,
"pigmentsDecorationsZIndex": 0,
"selection": true,
"selectionDecorationsZIndex": 0
},
"scrollAnimation": true
},
"minimap-codeglance": {
"numberOfLines": 9
},
"minimap-lens": {
"lensHeight": 300
},
"minimap-linter": {},
"minimap-selection": {
"highlightCursorsLines": true
},
"node-debugger": {
"nodeArgs": "--experimental-modules",
"nodePath": "/usr/local/bin/node"
},
"omnisharp-atom": {
"useLeftLabelColumnForSuggestions": true
},
"one-dark-ui": {
"hideDockButtons": true
},
"pdf-view": {
"fitToWidthOnOpen": true,
"nightMode": true
},
"php-debug": {
"GutterBreakpointToggle": true,
"currentPanelHeight": "264px",
"currentPanelMode": "bottom",
"display": {
"enableStatusbarButtons": false
},
"noPackageInstallPrompt": [
"ide-php"
],
"showWelcome": false
},
"php-ide-serenata": {
"core": {},
"general": {
"doNotAskForSupport": true,
"doNotShowProjectChangeMessage": true,
"projectOpenCount": 296
},
"storagePath": "/home/sbrl/.cache/php-ide-serenata"
},
"pigments": {
"autocompleteScopes": [
".source.css",
".source.css.less",
".source.sass",
".source.css.scss",
".source.stylus",
".text.xml"
],
"extendedSearchNames": [
"**/*"
]
},
"platformio-ide-terminal": {
"core": {
"autoRunCommand": "export PATH=/home/sbrl/.atom/packages/platformio-ide/penv/bin:/home/sbrl/bin:/home/sbrl/.local/bin:/home/sbrl/bin:/home/sbrl/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin"
}
},
"project-manager": {
"alwaysOpenInSameWindow": true
},
"project-plus": {
"autoDiscover": false,
"showPath": true
},
"python-linters": {
"lintTrigger": {
"mypy": "Never"
}
},
"regex-railroad-diagram": {},
"remote-edit": {
"storePasswordsUsingKeytar": true
},
"spell-check": {
"addKnownWords": true,
"excludedScopes": [
"support.function.general.tex"
],
"grammars": [
"source.asciidoc",
"source.gfm",
"text.git-commit",
"text.plain",
"text.plain.null-grammar",
"text.md",
"text.tex.latex"
],
"knownWords": [
"subpages",
"processingtime",
"json",
"pagename",
"api",
"opensearch",
"invindex",
"param",
"ok",
"leveshtein",
"identicon",
"Gravatar",
"gravatar",
"ikisler",
"CDN",
"MathJax",
"cdn.mathjax.org",
"url",
"nav",
"searchindex",
"env",
"userdata",
"redlinks",
"HttpOnly",
"XXE",
"Starbeamrainbowlabs",
"autoupdate",
"unportable",
"textit",
"Pygame",
"citep",
"SharpPcap",
"texttt{tcpdump",
"Ipsumdump",
"NAudio",
"ethernet",
"WiFi",
"Wireshark",
"Heartbleed",
"SVGs",
"perceptron",
"perceptron's",
"TODO",
"javascript",
"Math",
"Gitter",
"checklogin",
"WannaCry",
"csharp",
"lexer",
"png",
"BNF",
"lexing",
"lexed",
"audial",
"macOS",
"backend",
"plugin",
"Naur",
"Todo",
"npm",
"WorldEdit",
"Minetest",
"stylesheet",
"moar",
"LoRaWAN",
"TOTP",
"PHPDoc",
"PHPDoc",
"csv",
"XMPP",
"JS",
"stdin",
"JID",
"starbeamrainbowlabs.com",
"bool",
"cryptographical",
"PUF",
"Unclonable",
"IoT",
"resync",
"PUFs",
"Unclonablility",
"heatmap",
"crontab",
"shunction",
"adhoc",
"inotify",
"moreso",
"io",
"tagline",
"parsedown",
"Arduino",
"rollout",
"LoRa",
"TTN",
"Adafruit",
"SQLite",
"AIs",
"js",
"Pimoroni",
"MPL",
"Voronoi",
"voronoi",
"urls",
"int",
"OpenStreetMap",
"dialog",
"MicroSD",
"unguessable",
"MariaDB",
"plagarisation",
"NEO",
"deserialises",
"Uno's",
"TinyGPS",
"LMiC",
"ABP",
"OTAA",
"texttt{SdFat",
"texttt",
"SdFat",
"Dragino",
"Uno",
"un",
"destructuring",
"DI",
"lmic_aes",
"parallelizable",
"Rollup",
"WhatWGWebWorkers,MDNWebWorkers",
"WhatWGWebWorkers,MDNWebWorkers",
"LMiC's",
"etc",
"destructured",
"lstlisting",
"Tensorflow",
"TileMill",
"GPIO",
"Wemos",
"polyfill",
"RSSI",
"parallelisable",
"deserialised",
"GeoJSON",
"UML",
"Nginx",
"Freeside",
"SFTP",
"WinSCP",
"www",
"sudo",
"usermod",
"systemd",
"installment",
"webhook",
"Gitea",
"tldr",
"Weblate",
"GParted",
"automount",
"GPT",
"msftdata",
"passthrough",
"memdisk",
"Manjaro",
"OpenRC",
"Artix",
"chainloads",
"lengthly",
"multiboot",
"iso",
"alt",
"Telegraf",
"Kapacitor",
"CGP",
"Grafana",
"Chronograf",
"InfluxDB",
"Collectd",
"RRD",
"standalone",
"DWOPER",
"Cloggy",
"LSTMs",
"LSTM",
"GRU",
"woppleblox",
"Nextcloud",
"todo",
"Awesomplete",
"zlib",
"sekrets",
"Nowcasting",
"Technica",
"Ars",
"structs",
"Nilsimsa",
"Raspbian",
"heatsink",
"AWG",
"Pis",
"fanless",
"PWM",
"Netgear",
"enterprisey",
"Slurm",
"Hashicorp",
"Kubernetes",
"Traefik",
"heightmap",
"heightmaps",
"cli",
"nowcasting",
"msys",
"CNNs",
"COVID",
"PSU",
"config",
"TLD",
"Cloudflare",
"Gandi",
"WireGuard",
"DHCP",
"UFW",
"Wesher",
"ufw",
"udp",
"wesher",
"Inkscape",
"YAML",
"playbooks",
"localzone",
"Ansible",
"inotifywait",
"UnattendedUpgrades",
"ordinated",
"hotfixes",
"worldedit",
"WorldEditAdditions",
"Bonemeals",
"bonemeals",
"bonemealing",
"bonemealed",
"CloudFlare",
"Dockerized",
"ShareAlike",
"ImageMagick",
"headlessly",
"Ginormous",
"Liberapay",
"Minecraft's",
"raycasting",
"raycast",
"regex",
"EmbedBox",
"GitLab",
"downmuxed",
"Downmux",
"downmuxes",
"filepath",
"remuxing",
"pageindex",
"Fabio",
"gaussian",
"LVM",
"MSDOS",
"hyperparameter",
"hyperparameters",
"Lua",
"whitespace",
"transcodes",
"cubeapply",
"Tippernac",
"Littlesland",
"softmax",
"lightweightness",
"entrypoint",
"LuaRocks",
"DEM",
"preloader",
"XSS",
"heatmaps",
"upower",
"DKMS",
"SysRq",
"filepaths",
"nimrod",
"bavarian",
"Teklacki",
"FTL",
"carryalot",
"LUKS",
"xUnit",
"pacman",
"WD",
"PiDrive",
"Odroid",
"flac",
"replaygain",
"btrfs",
"Dockerfiles",
"Dockerfile",
"webroot",
"Noctua",
"snapshotting",
"subvolume",
"ActionScript",
"dedup",
"subvolumes",
"Restic",
"monospace",
"Minecraft",
"sorta",
"consulstatus",
"Dewkeeper",
"plugins",
"HAProxy",
"Skyliner",
"MQTT",
"Mosquitto",
"binarised",
"toggleable",
"datacentre",
"autoencoder",
"squidge",
"Autoencoders",
"Dockerised",
"Fetchmail",
"procmail",
"ArchiveBox",
"convolutionally",
"Entrypoints",
"unpushed",
"Keras",
"CUDA",
"overfit",
"overfits",
"WorldPainter",
"Eleventy",
"automounting",
"thumbnailing",
"OpenSCAD",
"STL",
"thumbnailer",
"thumbnailers",
"obj",
"anymore",
"Dethlefs",
"ac.uk",
"AAAI",
"mod's",
"logrotate",
"collectd",
"collectd's",
"bish",
"arduino",
"Bitlocker",
"substeps",
"composability",
"colourblind",
"timezones",
"timezoned",
"geolocations",
"CLIP's",
"PyTorch",
"GloVe",
"eleventy",
"minifier",
"PyTorch's",
"Tensorflow's",
"numpy",
"pretrained",
"Jupyter",
"endlessh",
"rsyslog's"
],
"localePaths": [
"/usr/share/hunspell"
],
"locales": [
"en-GB"
]
},
"split-diff": {
"diffWords": true,
"ignoreWhitespace": true,
"leftEditorColor": "red",
"rightEditorColor": "green",
"syncHorizontalScroll": true
},
"switch-header-source": {
"newTabPending": true
},
"sync-settings": {
"disallowedSettings": [
"move-status-items",
"editor.fontSize",
"linter-ui-default.panelHeight"
],
"extraFiles": [
"projects.cson"
],
"hiddenSettings": {},
"installLatestVersion": true,
"quietUpdateCheck": true
},
"tabs": {},
"term3": {
"fontFamily": "Source code pro",
"fontSize": "18",
"openPanesInSameSplit": true,
"shellArguments": "--init-file /home/sbrl/.bashrc"
},
"terminal-tab": {
"defaultLocation": "center"
},
"tool-bar": {
"position": "Left",
"visible": false
},
"tree-view": {
"autoReveal": true,
"hideIgnoredNames": true
},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ignoreWhitespaceOnlyLines": true,
"removeTrailingWhitespace": false
},
"wordcount": {
"extensions": [
"md",
"markdown",
"readme",
"txt",
"rst",
"adoc",
"log",
"msg",
"tex"
]
}
},
"php-debug": {
"PathMaps": [
"/home/sbrl/Documents/code/php/peppermint/build;/home/sbrl/Documents/code/php/peppermint/build"
],
"ServerPort": 9000
}
}
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
# █████ ██ ██
# ██ ██ ██ ██
# ███████ ██ ██
# ██ ██ ██ ██
# ██ ██ ███████ ███████
'*':
'lorem ipsum x 2':
'prefix': 'lorem2'
'body': """
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas lacinia pretium sagittis. Nunc at dignissim nulla. Proin at odio ac massa mollis mattis. Maecenas vitae mattis elit, in ultricies nibh. Fusce feugiat blandit augue pellentesque blandit. Cras at condimentum magna. Nunc luctus velit diam, vitae tempor sapien ultrices auctor. Maecenas luctus odio vitae dolor commodo pretium. Sed magna lectus, sollicitudin nec erat eu, accumsan porttitor urna.
Vivamus vitae risus metus. Donec faucibus volutpat tellus, vitae congue diam malesuada at. Nunc auctor fringilla molestie. Etiam ligula urna, iaculis eget risus ut, efficitur sollicitudin ipsum. Vivamus metus dolor, volutpat a eros sit amet, vestibulum finibus diam. Sed vestibulum dolor turpis, at dictum purus maximus eget. Nunc lobortis urna massa. Nulla finibus massa ligula, ac lobortis sem dictum eu.
"""
# ███ ███ █████ ██ ██ ███████ ███████ ██ ██ ███████
# ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ██ ████ ██ ███████ █████ █████ █████ ██ ██ █████
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ██ ██ ██ ██ ██ ██ ███████ ██ ██ ███████ ███████
'.source.makefile':
'Set phony targets':
'prefix': 'phony'
'body': '.PHONY: ${1}'
'Target':
'prefix': 'tar'
'body': """
${1:targetName}:${3: ${2:dependencies}}
${4:commands}
"""
'Set default target':
'prefix': 'dft'
'body': '.DEFAULT_GOAL := targetName'
# ██ ██ ███ ███ ██
# ██ ██ ████ ████ ██
# ███ ██ ████ ██ ██
# ██ ██ ██ ██ ██ ██
# ██ ██ ██ ██ ███████
'.text.xml':
'.xml':
'Blank Tag':
'prefix': '<?>'
'body': '<${1}>${2}</${1}>'
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
"""
# ██ ██ ███████ ██ ████████
# ██ ██ ██ ██ ██
# ███ ███████ ██ ██
# ██ ██ ██ ██ ██
# ██ ██ ███████ ███████ ██
'.text.xml.xsl':
'xsl root element':
'prefix': 'xslroot'
'body': """
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://w3.org/1999/XSL/Transform">
<xsl:template match="${1:/}">
${2}
</xsl:template>
</xsl:transform>
"""
'xsl template':
'prefix': 'xsltemplate'
'body': """
<xsl:template match="${1:/}">
${2}
</xsl:template>
"""
'xsl output as html':
'prefix': 'xslhtml'
'body': '<xsl:output method="html" encoding="utf-8" indent="yes" />'
'xsl value-of':
'prefix': 'xslvalue'
'body': '<xsl:value-of select="${1:XPath Expression}" />'
'html5 doctype':
'prefix': 'html5'
'body': """
<xsl:text disable-output-escaping='yes'>&lt;!DOCTYPE html&gt;</xsl:text>
"""
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
"""
# ██ ██ ████████ ███ ███ ██
# ██ ██ ██ ████ ████ ██
# ███████ ██ ██ ████ ██ ██
# ██ ██ ██ ██ ██ ██ ██
# ██ ██ ██ ██ ██ ███████
'.text.html':
'html5 template':
'prefix': 'html5templ'
'body': '<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta charset=\'utf-8\' />\n\t\t<title>${1:title text}</title>\n\t</head>\n\t<body>\n\t\t${3:content here}\n\t\t\n\t\t<!---------------->\n\t\t${2}\n\t</body>\n</html>'
'mobile meta':
'prefix': 'metam'
'body': '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>'
'link rel="stylesheet"':
'prefix': 'linkcss'
'body': '<link rel="stylesheet" href="${1:/css/theme.css}" />${2}'
'a href':
'prefix': 'ahref'
'body': '<a href="${1:https://${2:example.com}/}">${3:Display text}</a>${4}'
'canvas id':
'prefix': 'canvasid'
'body': '<canvas id="${1:canvas-main}"></canvas>${2}'
'placeholder image':
'prefix': 'placeholder'
'body': '<img class="placeholder" src="https://starbeamrainbowlabs.com/images/placeholder/?width=${1:720}&amp;height=${2:440}" />${3}'
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
"""
# ██████ ███████ ███████
# ██ ██ ██
# ██ ███████ ███████
# ██ ██ ██
# ██████ ███████ ███████
'.source.css':
'Divider':
'prefix': 'divide'
'body': '/* ************************************************************************* */'
'css3 template':
'prefix': 'css3templ'
'body': """
html, body { font-size: 100%; }
body {
font-family: sans-serif;
}
"""
'full screen canvas':
'prefix': 'canvasfull'
'body': """${1:#canvas-main}
{
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;${2}
}${3}
"""
'keyframes':
'prefix': 'keyframes'
'body': """@keyframes ${1:identifier}
{
0% { ${2} }
100% { ${3} }
}
"""
'CSS Grid':
'prefix': 'grid'
'body': """
display: grid;
grid-template-columns: ${1:10% auto 10%};
grid-template-rows: ${2:10em auto auto};
${3}
"""
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
"""
'@media prefers-color-scheme':
'prefix': 'mediacol'
'body': """
@media (prefers-color-scheme: dark) {
:root {
${1}
}
}
"""
'@media max-width':
'prefix': 'mediaw'
'body': """
@media (${1:max-width: 500px}) {
${2:/* css here */}
}
"""
# ██ █████ ██ ██ █████ ███████ ██████ ██████ ██ ██████ ████████
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ██ ███████ ██ ██ ███████ ███████ ██ ██████ ██ ██████ ██
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# █████ ██ ██ ████ ██ ██ ███████ ██████ ██ ██ ██ ██ ██
'.source.js':
'createTextNode':
'prefix': 'ctn'
'body': 'document.createTextNode(${1:`${2}`})${3}'
'divider':
'prefix': 'divide'
'body': '// ------------------------------------------------------------------------'
'addEventListener':
'prefix': 'ae'
'body': '${1:document}.addEventListener("${2:click}", ${3:functionName});${4}'
'node event listener':
'prefix': 'on'
'body': '${1:thing}.on(${3:"${2:event}"}, ${4:function});${5}'
'getElementById':
'prefix': 'gi'
'body': '${1:document}.getElementById("${2:id}")${3}'
'createElement':
'prefix': 'ce'
'body': 'document.createElement(${2:"${1:elementName}"})${3:}'
'getContext2D':
'prefix': 'ctx2d'
'body': 'getContext("2d")'
'this.context':
'prefix': 'tc'
'body': 'this.context'
'Canvas ellipse':
'prefix': 'cel'
'body': '${1:context}.ellipse(${2:xPos}, ${3:yPos}, ${4:xRadius}, ${5:yRadius}, ${6:rotation}, ${7:startAngle}, ${8:endAngle}, ${9:anticlockwise})${10}'
'Canvas save / restore':
'prefix': 'csr'
'body': """
context.save();
${1:// ...}
context.restore();
"""
'Canvas beginPath':
'prefix': 'cbp'
'body': '${1:context}.beginPath();${2}'
'Canvas moveTo':
'prefix': 'cmt'
'body': '${1:context}.moveTo(${2:xCoord}, ${3:yCoord});${4}'
'Canvas lineTo':
'prefix': 'clt'
'body': '${1:context}.lineTo(${2:xCoord}, ${3:yCoord});${4}'
'Canvas translate':
'prefix': 'ctt'
'body': '${1:context}.translate(${2:xCoord}, ${3:yCoord});${4}'
'Canvas rotate':
'prefix': 'ctr'
'body': '${1:context}.rotate(${2:angleRads});${3:}'
'Canvas stroke style':
'prefix': 'css'
'body': '${1:context}.strokeStyle = ${3:"${2:green}"};${4:}'
'Canvas line width':
'prefix': 'clw'
'body': '${1:context}.lineWidth = ${2:3};${3:}'
'Canvas fill style':
'prefix': 'cfs'
'body': '${1:context}.fillStyle = ${2:3};${3:}'
'Canvas global alpha':
'prefix': 'cga'
'body': '${1:context}.globalAlpha = ${2:0.45};${3:}'
'Canvas font':
'prefix': 'cst'
'body': '${1:context}.font = ${3:"${2:18px sans-serif}"};${4:}'
'Canvas fill text':
'prefix': 'cft'
'body': '${1:context}.fillText(${3:"${2:text}"}, ${4:x}, ${5:y}${6:, ${7:max_width}});${8:}'
'Canvas fill':
'prefix': 'cfl'
'body': '${1:context}.fill();${2:}'
'Canvas stroke':
'prefix': 'csk'
'body': '${1:context}.stroke();${2:}'
'Canvas fill rect':
'prefix': 'cfr'
'body': '${1:context}.fillRect(${2:x}, ${3:y}, ${4:width}, ${5:height})'
'Canvas draw image short':
'prefix': 'cdi1'
'body': '${1:context}.drawImage(${2:image}, ${3:x}, ${4:y})'
'Canvas draw image medium':
'prefix': 'cdi2'
'body': '${1:context}.drawImage(${2:image}, ${3:x}, ${4:y}, ${3:width}, ${4:height})'
'Canvas draw image long':
'prefix': 'cdi3'
'body': '${1:context}.drawImage(${2:image}, ${3:source_x}, ${4:source_y}, ${5:source_width}, ${6:source_height}, ${7:dest_x}, ${8:dest_y}, ${9:dest_width}, ${10:dest_height})'
'Anonymous function':
'prefix': 'afn'
'body': 'function(${1}) {\n\t${2}\n}'
'Self executing anonymous function':
'prefix': 'seaf'
'body': """
(${1}(${2}) => {
${3:"use strict";
${4}}
})(${5});
"""
'Seaf (legacy)':
'prefix': 'seafl'
'body': """
(function(${1}) {
"use strict";
${2:
}
})(${1});
"""
'bound anonymous function':
'prefix': 'bafn'
'body': """
(function(${1:variable}) {
${3}
}).bind(${2:this})${4}
"""
'Object.keys':
'prefix': 'keys'
'body': 'Object.keys(${1:object})${2}'
'require':
'prefix': 'req'
'body': '${1:module} = require("${1:module}")${2}'
'ES6 Class':
'prefix': 'class'
'body': """class ${1:class_name} {
constructor() {
${2}
}${3}
}${4}"""
'if':
'prefix': """if(${1:condition}) {
${2}
}${3}"""
'else':
'prefix': 'else'
'body': """else
{
${1}
}${2}
"""
'use strict':
'prefix': 'usestrict'
'body': '"use strict";'
'import':
'prefix': 'modim'
'body': 'import ${2:${1:{ functionName \\}}} from \'${1:${4:./${3:Objects/FlyingBanana}}}\';${5}'
'export':
'prefix': 'modex'
'body': 'export { $1 };$2'
'export default':
'prefix': 'modexd'
'body': 'export default ${2:identifier}'
'class file':
'prefix': 'classf'
'body': """
"use strict";
class ${1:class_name} {
constructor(${2}) {
${3}
}${4}
}
export default ${1:class_name};
"""
'for..await':
'prefix': 'fora'
'body': """
for await (let ${1:variable} of ${2:iterable}) {
${3:// Do something}
}
"""
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
"""
# ██████ ██ ██ ██████
# ██ ██ ██ ██ ██ ██
# ██████ ███████ ██████
# ██ ██ ██ ██
# ██ ██ ██ ██
'.source.php':
'anonymous function':
'prefix': 'afn'
'body': """
function (${1}) {
${2}
}
"""
'namespace':
'prefix': 'name'
'body': 'namespace ${1:SBRL};${2}'
'$_GET':
'prefix': 'get'
'body': '$_GET["${1:key}"]${2}'
'$_POST':
'prefix': 'post'
'body': '$_POST["${1:key}"]${2}'
'$_SESSION':
'prefix': 'session'
'body': '$_SESSION["${1:key}"]${2}'
'var_dump':
'prefix': 'vd'
'body': 'var_dump(${2:$${1:variable}});'
'var_export()':
'prefix': 've'
'body': "var_export(${2:$${1:variable}}, true)${3}"
'read json file':
'prefix': 'readjson'
'body': 'json_decode(file_get_contents(${1:$filename}))${2}'
'write json file':
'prefix': 'writejson'
'body': 'file_put_contents(${1:$filename}, json_encode(${2:$data}))${3}'
'start timing':
'prefix': 'timestart'
'body': "$start_time = microtime(true)"
'end timing':
'prefix': 'timeend'
'body': "round((microtime(true) - $start_time) * 1000, 2)"
'error_log()':
'prefix': 'el'
'body': "error_log(${2:var_export($${1:variable}, true)})${3:;}${4}"
'content type json':
'prefix': 'headerjson'
'body': 'header("content-type: application/json");'
'foreach':
'prefix': 'fore'
'body': """foreach(${2:$${1:variable}} as $${3:${4:key} => $${5:value}})
{
${6:// Loop code here}
}${7}"""
'Public Method':
'prefix': 'methodpub'
'body': """public function ${1:functionName}(${2:$variableName}) {
\t${3}
}"""
'Private Method':
'prefix': 'methodpriv'
'body': """private function ${1:functionName}(${2:$variableName}) {
\t${3}
}"""
'interface':
'prefix': 'interface'
'body': """
interface ${1:ICheese}
{
${2}
}
"""
'getter':
'prefix': 'getter'
'body': """
public function get_${1:thing}() {
return $this->bean->${1:thing};
}${2}
"""
'setter':
'prefix': 'setter'
'body': """
public function set_${1:thing}() {
$this->bean->${1:thing} = $value;
return $this;
}${2}
"""
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
"""
# ███████ ██ ██ █████ ██████ ███████ ██████ ███████
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ███████ ███████ ███████ ██ ██ █████ ██████ ███████
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ███████ ██ ██ ██ ██ ██████ ███████ ██ ██ ███████
'.source.glsl':
'constant':
'prefix': 'const'
'body': 'const ${1:type} ${2:variableName} = ${3:value};${4}'
'uniform':
'prefix': 'uni'
'body': 'uniform ${1:type} ${2:variableName};${3}'
'in':
'prefix': 'in'
'body': 'in ${1:type} ${2:variableName};${3}'
'out':
'prefix': 'out'
'body': 'out ${1:type} ${2:variableName};${3}'
'attribute':
'prefix': 'attr'
'body': 'attribute ${1:type} ${2:variableName};${3}'
'4x4 identity matrix':
'prefix': 'mat4new'
'body': """
mat4( ${1:1.0}, ${2:0.0}, ${3:0.0}, ${4:0.0},
${5:0.0}, ${6:1.0}, ${7:0.0}, ${8:0.0}
${9:0.0}, ${10:0.0}, ${11:1.0}, ${12:0.0}
${13:0.0}, ${14:0.0}, ${15:0.0}, ${16:1.0} );
"""
'CSS colour matrix':
'prefix': 'colmat'
'body': 'css_ColorMatrix'
'CSS max colour':
'prefix': 'mixcol'
'body': 'css_MixColor'
'Define PI':
'prefix': 'defpi'
'body': 'const PI = 3.14159265359;'
'Note':
'prefix': 'note'
'body': '// NOTE: '
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
"""
# ███████ ██ ██ ███████ ██ ██
# ██ ██ ██ ██ ██ ██
# ███████ ███████ █████ ██ ██
# ██ ██ ██ ██ ██ ██
# ███████ ██ ██ ███████ ███████ ███████
'.source.shell':
'silence command':
'prefix': 'si'
'body': '>/dev/null 2>&1'
'cd or exit (safe)':
'prefix': 'cds'
'body': 'cd "${1}" || { echo "${2:Failed to cd into ${1}}"; exit 1; };${3}'
'tmpdir':
'prefix': 'tmpdir'
'body': 'temp_dir="$(mktemp --tmpdir -d "${1:prefix}-XXXXXXX")";${2}'
'trap exit':
'prefix': 'trapex'
'body': """
on_exit() {
${1}
}
trap on_exit EXIT;
"""
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
"""
# ██████ ██ ██
# ██ ██ ██
# ██ ████████ ████████
# ██ ██ ██
# ██████ ██ ██
'.source.cpp':
'class':
'prefix': 'class'
'body': """
class ${1:ClassName} {
public:
${2}${4:
protected:
${3}}
private:
${5}
}
"""
arduino:
prefix: "arduino"
body: """
#include <Arduino.h>
void setup() {
Serial.begin(115200);
Serial.println("Hello, world!");
}
void loop() {
}
"""
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
"""
# ██████ ███████ ██████ ███ ██
# ██ ██ ██ ██ ████ ██
# ██ ███████ ██ ██ ██ ██ ██
# ██ ██ ██ ██ ██ ██ ██
# ██████ ███████ ██████ ██ ████
'.source.coffee':
'property':
'prefix': 'prop'
'body': '\'${1:property-name}\': \'${2:property-value}\'${3}'
'object':
'prefix': 'obj'
'body': '\'${1:property-name}\':\n\t${2}'
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
"""
# ██ █████ ████████ ███████ ██ ██
# ██ ██ ██ ██ ██ ██ ██
# ██ ███████ ██ █████ ███
# ██ ██ ██ ██ ██ ██ ██
# ███████ ██ ██ ██ ███████ ██ ██
#
'.text.tex.latex':
'italics':
'prefix': 'it'
'body': '\\\\textit{${1}}${2}'
'strong':
'prefix': 'str'
'body': '\\\\textbf{${1}}${2}'
'code':
'prefix': 'code'
'body': '\\\\texttt{${1}}${2}'
'label':
'prefix': 'label'
'body': '\\\\label{${1:prefix:label-name}}${2}'
'ref':
'prefix': 'ref'
'body': '\\\\ref{${1:prefix:label-name}}${2}'
'code block':
'prefix': 'codeblock'
'body': """
\\\\begin{lstlisting}[language=${1:csharp}]
${2}
\\\\end{lstlisting}
${3}
"""
'MPL 2.0 Short Header':
'prefix': 'mpl2'
'body': """
% This Source Code Form is subject to the terms of the Mozilla Public
% License, v. 2.0. If a copy of the MPL was not distributed with this
% file, You can obtain one at https://mozilla.org/MPL/2.0/.
"""
'.source.python':
'self dot':
'prefix': '.'
'disabled': true
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
@import 'ui-variables';
/*
* Examples
* (To see them, uncomment and save)
*/
// style the background color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
atom-text-editor-minimap
{
background: #31363e;
}
minimap-codeglance {
opacity: 0.9;
border-top: 0.3rem solid @tool-panel-border-color;
border-bottom: 0.3rem solid @tool-panel-border-color;
}
// Make the scrollbar invisible, since we have the minimap
atom-text-editor[with-minimap] .vertical-scrollbar,
atom-text-editor[with-minimap].editor .vertical-scrollbar {
opacity: 0;
width: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment