(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
from itertools import product | |
def score(self, other): | |
first = len([speg for speg, opeg in zip(self, other) if speg == opeg]) | |
return first, sum([min(self.count(j), other.count(j)) for j in 'ABCDEF']) - first | |
possible = [''.join(p) for p in product('ABCDEF', repeat=4)] | |
results = [(right, wrong) for right in range(5) for wrong in range(5 - right) if not (right == 3 and wrong == 1)] | |
def solve(scorefun): |
#!/bin/bash | |
# store the current dir | |
CUR_DIR=$(pwd) | |
# Let the person running the script know what's going on. | |
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n" | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find . -name ".git" | cut -c 3-); do |
<?php | |
//========================================================================= | |
// Skripta za posiljanje sms preko Simobilove Klape / Najdi.si / Tusmobil | |
// Verzija 2.50 (c) blackbfm @ slo-tech | |
//========================================================================= | |
// Pošiljanje: | |
// SendFreeSms("ponudnik", "uporabniskoime", "geslo", "stevilka", "sporocilo") | |
// | |
// Preverjanje stanja: | |
// SendFreeSms("ponudnik", "uporabniskoime", "geslo", "stevilka", "sporocilo", False) |
zenity example |
/* ncurses C++ | |
* | |
* A general purpose example of using ncurses in C++ e.g. with STL strings. | |
* I guess whatever license ncurses uses applies, otherwise public domain. | |
*/ | |
# include <algorithm> | |
# include <iostream> | |
# include <fstream> | |
# include <iterator> |
import requests | |
import sys | |
import json | |
import re | |
import os | |
import string | |
import argparse | |
BASE_URL = 'https://api.twitch.tv' |
#!/bin/sh | |
# ./create_vm.sh vm1 Debian_64 1024 20000 3393 Downloads/debian-7.1.0-amd64-netinst.iso | |
# VBoxManage startvm vm1 -type headless | |
# VBoxManage unregistervm vm1 --delete | |
VM_NAME=$1 | |
OS_TYPE=$2 | |
MEMORY_SIZE=$3 |