brew install neovim/neovim/neovim
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
$ azk start | |
[ ... snip ...] | |
azk: Installing sass 3.4.9 | |
azk: Installing sass-rails 5.0.1 | |
azk: Installing spring 1.2.0 | |
azk: Installing uglifier 2.6.0 | |
azk: Installing web-console 2.0.0 | |
azk: Your bundle is complete! | |
azk: It was installed into /azk/bundler | |
azk: postgres_development already exists |
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
$ azk start | |
azk: ↑ starting `postgres` system, 1 new instances... | |
azk: ✓ checking `wyaeld/postgres:9.3` image... | |
azk: ⇲ downloading `wyaeld/postgres:9.3` image... | |
3a831d2c7eb9: Download completeazk: ◴ waiting start `postgres` system, try connect port data/tcp... | |
azk: ↑ starting `gaveteiro-frontend` system, 2 new instances... | |
azk: ✓ checking `rails:4.1` image... | |
azk: ⇲ downloading `rails:4.1` image... | |
de10a6ea16ef: Pull completeazk: ↻ provisioning `gaveteiro-frontend` system... | |
azk: ◴ waiting start `gaveteiro-frontend` system, try connect port http/tcp... |
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
/** | |
* Documentation: http://docs.azk.io/Azkfile.js | |
*/ | |
// Adds the systems that shape your system | |
systems({ | |
kooljobs: { | |
shell: "/bin/bash", | |
// Dependent systems | |
depends: ["redis"], |
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
-- MarI/O by SethBling | |
-- Feel free to use this code, but please do not redistribute it. | |
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM. | |
-- For SMW, make sure you have a save state named "DP1.state" at the beginning of a level, | |
-- and put a copy in both the Lua folder and the root directory of BizHawk. | |
if gameinfo.getromname() == "Super Mario World (USA)" then | |
Filename = "DP1.state" | |
ButtonNames = { | |
"A", |
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
// CKEditor configuration - Gaveteiro | |
// referencia: http://docs.ckeditor.com/#!/api/CKEDITOR.config | |
// https://github.com/galetahub/ckeditor#customize-ckeditor | |
CKEDITOR.editorConfig = function( config ) | |
{ | |
config.language = 'pt-br'; | |
config.height = 250; | |
config.allowedContent = true; |
FWIW: I didn't produce the content present here. I've just copy-pasted it from somewhere over the Internet, but I cannot remember exactly the original source. I was also not able to find the author's name, so I cannot give him/her the proper credit.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
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
# Enter your code here. Read input from STDIN. Print output to STDOUT | |
require 'prime' | |
def ppn(n) | |
Prime.each(Float::INFINITY).lazy.select do |p| | |
p if p.to_s == p.to_s.reverse | |
end.first(n.to_i) | |
end |
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
# download dos shapefiles do IBGE | |
curl -s 'ftp://geoftp.ibge.gov.br/organizacao_do_territorio/malhas_territoriais/malhas_municipais/municipio_2016/Brasil/BR/BR.zip' -o BR.zip | |
# abrir o pacote | |
unzip -j BR.zip | |
# instala o postgresql e o postgis | |
brew install postgis | |
# inicia o postgresql |