07 Sep 2015

testing syntax highlighting

Javascript:

function stuff() {
   alert("w00t");
}

C++:

#include <iostream>
using namespace std;
int main(){
   cout << "w00t w00t!" << endl;
   return 0;
}

Puppet:

# Create "/tmp/w00t" if it doesn't exist.
class test_class {
    file { "/tmp/w00t":
       ensure => present,
       mode   => 644,
       owner  => root,
       group  => root
    }
}

Go:

package main
import "fmt"
func main() {
	fmt.Printf("w00t, w00t.\n")
}



Share