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 () { | |
'use strict'; | |
var app = this.app || (this.app = {}); | |
app.Diagram = (function () { | |
function Diagram() { | |
this.started = false; | |
this._nodes = { | |
top: { |
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
alias gd="git diff | mate" | |
alias ga="git add" | |
alias gbd="git branch -D" | |
alias gst="git status" | |
alias gca="git commit -a -m" | |
alias gm="git merge --no-ff" | |
alias gpt="git push --tags" | |
alias gp="git push" | |
alias grh="git reset --hard" | |
alias gb="git branch" |
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
/* TEAM */ | |
Engineer: Viacheslav (Slava) Ivanov | |
Contact: slava [at] exilium.ca | |
Twitter: @vivanov1410 | |
From: Vancouver, BC, Canada | |
Designer: Svetlana Ivanova | |
Contact: sveta [at] exilium.ca | |
Twitter: @siya0509 |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#define NUMBER_OF_GAMES 1000 | |
#define NUMBER_OF_CHOICES 3 | |
int main(int argc, char const *argv[]) { | |
int arr[NUMBER_OF_GAMES][NUMBER_OF_CHOICES] = {0}; |
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
// tasuku3.c | |
#include <stdio.h> | |
#define MAX_LIMIT 4000000 | |
int main(int argc, char const *argv[]) { | |
// counter for basic operations | |
int counter = 0; |
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
<?php | |
# basic operation counter | |
$count = 0; | |
# prints all n! permutations of $str, $start - start index, $len - string length | |
function permute($str, $start, $len) { | |
if($start == $len) { | |
print "$str\n" . "<br/>"; | |
return; |
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
a = 3 | |
b = 5 | |
c = 1000 | |
sum = 0 | |
counter = 0 | |
function foo() | |
sum = 0 | |
for i = a,c-1 do |
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
COL_BLACK=$'\[\033[30m\]' | |
COL_RED=$'\[\033[31m\]' | |
COL_GREEN='\[\033[32m\]' | |
COL_YELLOW_ORANGE=$'\[\033[33m\]' | |
COL_BLUE=$'\[\033[34m\]' | |
COL_MAGENTA=$'\[\033[35m\]' | |
COL_CYAN=$'\[\033[36m\]' | |
COL_NORM=$'\[\033[39m\]' | |
PMPT_BOLD=$'\[\033[1m\]' | |
PMPT_NORM=$'\[\033[0m\]' |
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
prime_sieve = (n) -> | |
primes = [] | |
numbers = [] | |
numbers[number] = true for number in [2..n] | |
l = Math.floor Math.sqrt n | |
main_index = 2 |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
canvas { | |
border: dotted 3px black; |
NewerOlder