Function | Shortcut |
---|---|
New Tab | ⌘ + T |
Close Tab or Window | ⌘ + W (same as many mac apps) |
Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
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 |
# ---------------------------------- | |
# Colors | |
# ---------------------------------- | |
NOCOLOR='\033[0m' | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
ORANGE='\033[0;33m' | |
BLUE='\033[0;34m' | |
PURPLE='\033[0;35m' | |
CYAN='\033[0;36m' |
Before doing anything, please check the versions of the gem files:
gem 'rails', '~> 5.1.4'
gem 'devise', '~> 4.4.0'
Disclaimer - This solution may not work with older versions of rails and devise. Versions listed above were the latest versions of gems which I was using at the time of creation and tests. (10 Jan 2018)
{ | |
"banksnapas": [ | |
{ | |
"en_name": "An Binh Commercial Joint stock Bank", | |
"vn_name": "Ngân hàng An Bình", | |
"bankId": "970425", | |
"atmBin": "970425", | |
"cardLength": 16, | |
"shortName": "ABBank", | |
"bankCode": "323", |
name: Ruby | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: |
This gist lists challenges you run into when building offline-first applications based on IndexedDB, including open-source libraries like Firebase, pouchdb and AWS amplify (more).
Note that some of the following issues affect only Safari. Out of the major browsers, Chrome's IndexedDB implementation is the best.
When this bug occurs, every time you use the indexeddb, the WAL file grows. Garbage collection doesn't seem to be working, so after a while, you end up with gigabytes of data.
@Module({ | |
imports: [ | |
CacheModule.registerAsync({ | |
imports: [ConfigModule], | |
useFactory: async ( | |
cConfig: ConfigType<typeof cacheConfig>, | |
rConfig: ConfigType<typeof redisConfig>, | |
) => { | |
Logger.log(`*** Cache is disabled: ${cConfig.disabled}`); |
// Grasscutter 2.7.0 GM Handbook | |
// Created 2022/05/31 17:46:25 | |
// Commands | |
sendmessage : Sends a message to a player as the server | |
setfetterlevel : Sets your fetter level for your current active character | |
setworldlevel : Sets your world level (Relog to see proper effects) | |
setstats : Sets fight property for your current active character | |
give : Gives an item to you or the specified player |