# 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' # # This file uses CoffeeScript Object Notation (CSON). # If you are unfamiliar with CSON, you can read more about it here: # https://github.com/bevry/cson#what-is-cson '.text.tex.latex': 'Sample Automata': 'prefix': 'sampleautomata' 'body': '\\\\documentclass{article}\n \\\\pagenumbering{gobble}\n \\\\usepackage{tikz}\n \\\\usetikzlibrary{automata,positioning}\n \\\\begin{document}\n \\\\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]\n \\\\node[state,initial] (q_0) {$q_0$};\n \\\\node[state, accepting] (q_1) [right=of q_0] {$q_1$};\n \\\\path[->]\n (q_0) edge node {0} (q_1)\n ;\n \\\\end{tikzpicture}\n \\\\end{document}' '.source.markdown': 'UebungsHeader': 'prefix': 'header' 'body': '## Übungsblatt X\n \n ### Aufgabe X \n **Andreas Hacker** (xxxxxx) \n **Phillip Jung** (565341) \n **Julian Veerkamp** (565050) \n **Übungsgruppe**: Mi. 9:00 - 11:00; Müller \n' '.source.perl': 'Dolby Header': 'prefix': 'dolbyhead' 'body': '#############################################################################################################\n ### ####### ###\n ### ### ###\n ### # ###\n ### ### ###\n ### ####### ###\n #########################\n #\n # Features:\n #\n # * None. :(\n #\n # TODO: (check below)\n #\n # *\n #\n # NOTE: (check below)\n #\n # *\n #\n #############################################################################################################\n' 'Perl Head': 'prefix': 'perl' 'body': '#! /usr/bin/perl' 'Open File': 'prefix': 'open' 'body': 'open(my $name, "<", $file)\n or die "cannot open File:$! \\n";'