Run this command in sail project folder:
docker-compose exec mysql bash
execute the mysql -u root -p
command
provide the default password password
then executes
Run this command in sail project folder:
docker-compose exec mysql bash
execute the mysql -u root -p
command
provide the default password password
then executes
(https://www.sublimetext.com/docs/plugin-examples)
http://xahlee.info/linux/linux_lxde_add_key_shortcuts.html
http://openbox.org/wiki/Help:Bindings#Keys
Edit the file ~/.config/openbox/lxde-rc.xml
or ~/.config/openbox/lubuntu-rc.xml
Add
<keybind key="Caps_Lock">
echo "Creating an SSH key for you..." | |
ssh-keygen -t rsa | |
echo "Please add this public key to Github \n" | |
echo "https://github.com/account/ssh \n" | |
read -p "Press [Enter] key after this..." | |
echo "Installing xcode-stuff" | |
xcode-select --install |
From: | |
https://github.com/gibatronic/sesame | |
found on StackOverflow @ https://stackoverflow.com/questions/43016993/how-can-i-force-a-leonardo-to-reset-with-avrdude |
MAC OSX Hardware Acceleration is made through VideoToolbox | |
ffmpeg [...] -hwaccel videotoolbox [...] | |
ffmpeg [...] -c:v h264_videotoolbox [...] | |
# Obtain codec list | |
ffmpeg -codecs | |
# Set framerate (IMPORTANT! Always specify on input stream, otherwise could default to 1000kfps and it's bad) | |
ffmpeg [...] -framerate 30 [...] |
// C++ includes used for precompiling -*- C++ -*- | |
// Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
// | |
// This file is part of the GNU ISO C++ Library. This library is free | |
// software; you can redistribute it and/or modify it under the | |
// terms of the GNU General Public License as published by the | |
// Free Software Foundation; either version 3, or (at your option) | |
// any later version. |
Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key that enables you to choose a character from a menu of options. If you are on Lion try it by pressing and holding down 'e' in any app that uses the default NSTextField for input.
It's a nice feature and continues the blending of Mac OS X and iOS features. However, it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode, as it means you cannot press and hold h/j/k/l to move through your file. You have to repeatedly press the keys to navigate.
Latency Comparison Numbers | |
-------------------------- | |
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 |