This file contains hidden or 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
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
| <xsl:output omit-xml-declaration="yes" method="text" /> | |
| <xsl:strip-space elements="*" /> | |
| <xsl:template match="notices"> | |
| <xsl:text>\documentclass[paper=a4,10pt]{scrlttr2} | |
| \usepackage{pstricks} | |
| \usepackage{fontspec} | |
| \usepackage{booktabs} | |
| \usepackage{graphicx} | |
| \usepackage{graphics} |
This file contains hidden or 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
| #!/bin/env stap | |
| global errors, files[50000] | |
| probe syscall.open, | |
| syscall.write, | |
| syscall.read, | |
| syscall.pread, | |
| syscall.pwrite | |
| { |
This file contains hidden or 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
| function(msg) { | |
| return "ping"; | |
| } |
This file contains hidden or 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
| { | |
| "number" : 6, | |
| "people" : [ | |
| { | |
| "name" : "Oleg Kotov", | |
| "title" : "Soyuz Commander", | |
| "country" : "russia", | |
| "launchdate" : "2013-09-25", |
This file contains hidden or 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
| Welcome to Scala version 2.10.0-20121205-235900-18481cef9b (OpenJDK 64-Bit Server VM, Java 1.7.0_40). | |
| Type in expressions to have them evaluated. | |
| Type :help for more information. | |
| scala> class MyAnno extends scala.annotation.StaticAnnotation | |
| defined class MyAnno | |
| scala> case class Foo(@(MyAnno @scala.annotation.meta.field) x:Int) | |
| defined class Foo |
This file contains hidden or 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
| class Foo { | |
| public: | |
| void Foo(int p_x); | |
| private: | |
| int _x; | |
| } | |
| void Foo::Foo(int p_x) : | |
| _x(p_x) | |
| { |
This file contains hidden or 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
| channel[*].USER_JOINED_EVENT(user) = { | |
| IF user.nick == 'leofseige': | |
| channel.send('Hello master!'); | |
| } | |
| message[*].MESSAGE_EVENT(user_or_channel) = { | |
| IF message == 'ping': | |
| user_or_channel.send('pong'); | |
| } |
This file contains hidden or 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
| _.-~-. | |
| 7'' Q..\ | |
| _7 (_ | |
| _7 _/ _q. / | |
| _7 . ___ /VVvv-'_ . | |
| 7/ / /~- \_\\ '-._ .-' / // | |
| ./ ( /-~-/||'=.__ '::. '-~'' { ___ / // ./{ | |
| V V-~-~| || __''_ ':::. ''~-~.___.-'' _/ // / {_ / { / | |
| VV/-~-~-|/ \ .'__'. '. ':: _ _ _ ''. | |
| / /~~~~||VVV/ / \ ) \ _ __ ___ ___ ___(_) | | __ _ .::' |
This file contains hidden or 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
| Native Chrome JavaScript. | |
| Copyright (c) 2013 Google Inc | |
| var map = []; | |
| var x = {}; | |
| x | |
| => {} | |
| map[x] = 1; | |
| => 1 | |
| map | |
| => [ '[object Object]': 1 ] |
This file contains hidden or 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
| var BitObject = { | |
| mixins: null, | |
| id: 0, | |
| generateID: function () { | |
| return BitObject.id++; | |
| }, | |
| create: function () { | |
| var newObject = Object.create(this); |