(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
:
Para CPF | |
/^\d{3}\.\d{3}\.\d{3}\-\d{2}$/ | |
Para CNPJ | |
/^\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2}$/ | |
Para ambos ao mesmo tempo |
Note: Use this setting in calibre to convert an ePub file to a printing PDF file
{ | |
"AutoSelectCertificateForUrls": ["{\"pattern\":\"*\",\"filter\":{}}"] | |
} |
#!/bin/bash | |
# https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
sudo apt-get update | |
sudo apt-get -y install apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo bash -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list' | |
sudo apt-get update | |
sudo apt-get -y install linux-image-extra-$(uname -r) | |
sudo apt-get -y install docker-engine |
#!/bin/bash | |
################################################################ | |
# Install a printer on Arch Linux with cups using command line # | |
# Used for a HP PSC 1510 with default driver # | |
################################################################ | |
sudo pacman -S cups | |
sudo systemctl start org.cups.cupsd |
# -*- coding: utf-8 -*- | |
# this file is released under public domain and you can use without limitations | |
# ------------------------------------------------------------------------- | |
# Sample shopping cart implementation. | |
# ------------------------------------------------------------------------- | |
import traceback | |
def index(): |
FROM python:3.4 | |
ADD . /app/ | |
WORKDIR /app/ | |
RUN pip install -r requirements.txt | |
CMD ["echo", "hello"] |
import sys | |
from PyQt5 import QtCore, QtWidgets | |
class MainWindow(QtWidgets.QWidget): | |
switch_window = QtCore.pyqtSignal(str) | |
def __init__(self): | |
QtWidgets.QWidget.__init__(self) |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! | |
# Some colors | |
# Argonaut colors | |
# Black / Bright Black | |
set $color0 #232323 | |
set $color8 #444444 |