cl<Tab>
=> console.log('
foro<Tab>
=> for (const item of list) {...}
# python version | |
import hmac, base64, hashlib | |
const secret = '??' | |
def validate_session(session_data): | |
try: | |
hash, serialized = base64.b64decode(session_data).decode('utf-8').split(':', 1) | |
print(serialized) |
# remap prefix from 'C-b' to 'C-x' | |
unbind C-b | |
set-option -g prefix C-x | |
bind-key C-x send-prefix | |
# ctrl-a (not the prefix, but after) to go to last window | |
bind-key C-a last-window | |
# hot conf reload | |
bind r source-file ~/.tmux.conf |
# remap prefix from 'C-b' to 'C-x' | |
unbind C-b | |
set-option -g prefix C-x | |
bind-key C-x send-prefix | |
# ctrl-a (not the prefix, but after) to go to last window | |
bind-key C-a last-window | |
# hot conf reload | |
bind r source-file ~/.tmux.conf |
cl<Tab>
=> console.log('
foro<Tab>
=> for (const item of list) {...}
// Toca alarme quando a fila atingir os valores abaixo: | |
let limites = [310000, 100000, 50000, 10000, 1000]; | |
// Define intervalo de verificação em segundos | |
let intervalo = 30; | |
function alarm() { | |
var audio = new Audio('https://linux.ime.usp.br/~orem/alarme.mp3'); | |
audio.play(); | |
} |
#include <stdio.h> | |
#include <string.h> | |
const char grupos[10][5] = {"", "", "abc", "def", "ghi", "jkl", | |
"mno", "pqrs", "tuv", "wxyz"}; | |
void gerarPalavra(int number[], int curr_digit, char output[], int n) | |
{ | |
int i; | |
if (curr_digit == n) | |
{ |
javascript:location.href='http://facebook.com/l.php?u='+encodeURIComponent(location.href) |