#Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
#Enable repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
Quick uninstall JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | sudo bash -s
Linux installation notes (tested under Ubuntu 14.04LTS/12.04LTS), assuming VirtualBox is already installed on host.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Cidades extends Seeder { | |
public function run() | |
{ | |
DB::select(DB::raw("INSERT INTO `cidade` (`id`, `nome`, `estado_id`, `created_at`, `updated_at`) VALUES | |
(1, 'Afonso Cláudio', 8, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP ), | |
(2, 'Água Doce do Norte', 8, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP ), | |
(3, 'Águia Branca', 8, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing Arch: | |
sudo vim /etc/pacman.conf | |
Update packages list: sudo pacman -Syy | |
run sudo pacman -Syu before installing any software (to update the repositories first) | |
* Timing issue: | |
- Change hardware clock to use UTC time: | |
sudo timedatectl set-local-rtc 0 |
NewerOlder