“Toda la documentacion aca” :http://www.sublimetext.com/docs/2/.
Ctrl+C | (si no hay seleccion) Copia toda la linea |
Ctrl+X | (si no hay seleccion) Corta toda la linea |
Ctrl+⇧+K | Elimina la linea |
Ctrl+↩ | Inserta salto de linea en linea anterior |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
#Warn ; Recommended for catching common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
Toggle := False | |
$Space:: | |
KeyWait, Space, T0.15 ; Adjust this value to control the delay before switching modes | |
If ErrorLevel |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
“Toda la documentacion aca” :http://www.sublimetext.com/docs/2/.
Ctrl+C | (si no hay seleccion) Copia toda la linea |
Ctrl+X | (si no hay seleccion) Corta toda la linea |
Ctrl+⇧+K | Elimina la linea |
Ctrl+↩ | Inserta salto de linea en linea anterior |
hostssl replication replicator 5.6.7.8 md5 |
Constitution explains how and in what direction is the company growing
import contextlib | |
import OpenSSL.crypto | |
import os | |
import requests | |
import ssl | |
import tempfile | |
@contextlib.contextmanager | |
def pfx_to_pem(pfx_path, pfx_password): | |
''' Decrypts the .pfx file to be used with requests. ''' |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.