.gitignore: vendor/*
Bash: git rm --cached vendor -r
// ==UserScript== | |
// @name GreenIsBad | |
// @namespace GreenIsBad | |
// @version 0.2 | |
// @description Ukrywa wpisy/komentarze zielonek za spojlerami | |
// @author Feuer | |
// @match http://wykop.pl/* | |
// @match http://www.wykop.pl/* | |
// @grant none | |
// ==/UserScript== |
.gitignore: vendor/*
Bash: git rm --cached vendor -r
// Source http://www.thatjsdude.com/interview/js1.html | |
/* | |
|-------------------------------------------------------------------------- | |
| Log p() | |
|-------------------------------------------------------------------------- | |
| | |
*/ | |
var p = function(a) { |
# Aliases | |
# Navigation | |
alias ll='ls -alhF' | |
alias ls='ls -alhFG --color' | |
alias l='ls -lhFG --color' | |
alias md="mkdir -pv" | |
alias ~='cd ~' | |
alias ..='cd ..' | |
alias ...='cd ../..' |
1. Useful Commands | |
gg - jump to begining of file | |
G - jumo to end of file | |
{ - jump to paragraph | |
i - insert mode | |
a - insert mode after cursor | |
o - insert in new line below and swtich to insert mode | |
O - insert in new line above and swtich to insert mode | |
r - change letter | |
x - delele character |
#!/usr/bin/ruby | |
require 'benchmark' | |
require 'set' | |
$VERBOSE = nil | |
H = 'md' | |
N = 10 | |
Size = 3 | |
# H ='md' |
require 'Benchmark' | |
class Sudoku | |
attr_accessor :puzzle | |
def initialize | |
@puzzle = '' | |
@game = Array.new(9) | |
@game.map! { Array.new(9) } | |
9.times do |i| |
#!/usr/bin/ruby | |
require 'timeout' | |
class Sandbox | |
def initialize(tar, time) | |
@tar = tar | |
@time = time | |
@path = get_main_folder_name | |
@app_map = { |
#include<iostream> | |
#include<time.h> | |
using namespace std; | |
struct avl_node | |
{ | |
avl_node *left, *right, *p; | |
int key, bf; | |
}; | |
class AVL |
#include<iostream> | |
#include<time.h> | |
#include<vector> | |
using namespace std; | |
int n; | |
struct drzewo{ | |
int key,balance; |