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
| // ==UserScript== | |
| // @name Induced Paranoia | |
| // @description They're out to get you. | |
| // @version 1.0 | |
| // ==/UserScript== | |
| (function () | |
| { | |
| var phrases = [ |
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
| /* | |
| * How to give children nightmares at night. | |
| */ | |
| #include <stdio.h> | |
| int func_a(int a, int b){ return a + b; } | |
| int func_b(int a, int b){ return a - b; } | |
| int func_c(int a, int b){ return a * b; } | |
| int func_d(int a, int b){ return a / b; } |
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
| p \ | |
| p p \ | |
| p p p \ | |
| p p p p \ | |
| p p p p p \ | |
| p p p p p p \ | |
| p p p p p p p \ | |
| p p p p p p p p \ | |
| p p p p p p p p p \ |
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
| -- @author Simon Symeonidis | |
| -- A messy way to stop tasks. Define a global variable and have the loop bodies | |
| -- for the tasks check that boolean variable if it is true or not, and continue | |
| -- the looping or not, respectively. | |
| with Ada.Text_IO; | |
| procedure konky is | |
| STOP_ANNOYING_PERSON : Boolean := False; |
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
| % This is a very stripped down example of what a latex document looks like. | |
| \documentclass[twoside]{article} | |
| \title{Sample document} | |
| \author{Anne Ominous} | |
| \date{\today} | |
| \usepackage[margin=0.8in]{geometry} |
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
| require 'sqlite3' | |
| require 'singleton' | |
| class DbRegistry | |
| include Singleton | |
| def initialize | |
| @handle = SQLite3::Database.new("db.db") | |
| end |
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
| -module(lists1). | |
| -author(psyomn). | |
| -export([mymin/1,mymax/1,min_max/1,swedish_date/0]). | |
| mymin([H|T]) -> mymin(T,H). | |
| mymin([],Acc) -> Acc; | |
| mymin([H|T],Acc) when H < Acc -> mymin(T,H); | |
| mymin([_|T],Acc) -> mymin(T,Acc). |
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
| require 'Qt4' | |
| require 'domain/commands/create_entity_command.rb' | |
| require 'domain/entity_mapper.rb' | |
| # Author :: Simon Symeonidis | |
| # The entity widget for the game editor. This is loaded and accessed as a tab | |
| # along with all the other uis. | |
| # | |
| # TODO: this should have a list at a side of current entities, and the ui used | |
| # to either edit the selected entity, or save a new one. |
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
| # | |
| # Proc demonstration | |
| # | |
| my_code1 = Proc.new do | |
| puts 1 | |
| sleep 0.5 | |
| puts 2 | |
| sleep 0.5 | |
| puts 3 |
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
| /** | |
| test comments | |
| */ | |
| fn main() | |
| { | |
| io::println("HELLO WORLD"); | |
| let x: int = add_numbers(12,21); | |
| io::println(fmt!("Add numbers function : %d" , x)); | |
| io::println(fmt!("Cound and add numbers : %?" , count_and_add_numbers(10))); |