Skip to content

Instantly share code, notes, and snippets.

@angrykoala
Last active May 26, 2018 10:59
Show Gist options
  • Save angrykoala/8317cb946885fc4cc287 to your computer and use it in GitHub Desktop.
Save angrykoala/8317cb946885fc4cc287 to your computer and use it in GitHub Desktop.
File Templates. Put them under ~/Templates folder
#!/bin/sh
echo "hello world";
#include<iostream>
using namespace std;
int main(int argc, char **argv) {
cout<<"Hello World\n";
return 0;
}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>My Title</title>
<!-- <link rel="stylesheet" type="text/css" href="styles.css"> -->
</head>
<body>
<h1>Hello World!</h1>
<p>Don't Panic</p>
</body>
</html>
public class MyClass {
public MyClass() {
}
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
"use strict";
console.log("Hello World!");

My Title

Hello World

This is an example markdown template

print("Hello World")
<template>
</template>
<script>
"use strict";
module.exports={
}
</script>
<style lang="scss" scoped>
</script>
@angrykoala
Copy link
Author

angrykoala commented Jan 13, 2017

Default files to add as templates in linux systems, simply copy/clone these files into ~/templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment