This file contains 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
#!/usr/bin/sh | |
for filename in ./*.md; do | |
tr -d '\015' < $filename > $filename.tmp | |
mv $filename.tmp $filename | |
done |
This file contains 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
#!/bin/sh | |
USER="deploy" | |
SERVER=$(cat config/deploy/production.rb | sed -n '2p' | awk '{print $2}' | sed -e "s#[',]##g") | |
ssh $USER@$SERVER |
This file contains 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
༼ つ ◕_◕ ༽つ ✨ sim sala bin revisa o meu PR por favorzin ✨ |
This file contains 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
HTML é uma abreviação de Hypertext Markup Language - Linguagem de Marcação de Hypertexto. | |
É uma linguagem de marcação utilizada na construção de páginas na Web. Documentos HTML podem ser interpretados por navegadores. | |
Resumindo em uma frase: o HTML é uma linguagem para publicação de conteúdo (texto, imagem, vídeo, áudio e etc) na Web. | |
Para conhecer o comportamento dos navegadores, vamos reproduzir esse conteúdo em um arquivo de texto comum, | |
que pode ser criado com qualquer editor de texto puro e acessado através do navegador de sua escolha. | |
Essa é uma visão prática que começa nos fundamentos de HTML e estilização de páginas com CSS, incluindo a linguagem de programação JavaScript. |
This file contains 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
1) Qual seu nível técnico sobre o assunto? | |
- [ ] Primeiro contato | |
- [ ] Iniciante | |
- [ ] Intermediário | |
- [ ] Avaçando | |
2) Qual nível sobre o assunto você gostaria de assistir? | |
- [ ] Iniciante |
This file contains 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
#!/usr/bin/env bash | |
export $(egrep -v '^#' .env | xargs) | |
go run cmd/api/main.go |
This file contains 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
$ ./server.sh -c12 -mlocalhost | |
reading commandline parameters from file 'config/servercmdline.txt' | |
logging started: console(INFO), file(DISABLED), syslog(INFO, "AssaultCube[local#28763]", local6), timestamp(DISABLED) | |
logging local AssaultCube server (version 1202, protocol 1201/104) now.. | |
read 95 map rotation entries from 'config/maprot.cfg' | |
read 0 admin passwords from 'config/serverpwd.cfg' | |
read 0 (0) blacklist entries from 'config/serverblacklist.cfg', 0 errors | |
read 0 + 0 entries from nickname blacklist file 'config/nicknameblacklist.cfg', 0 errors | |
anticheat: enabled | |
dedicated server started, waiting for clients... |
This file contains 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
class Anagram | |
def is_anagram?(one, other) | |
one.downcase.chars.sort.join == other.downcase.chars.sort.join | |
end | |
end | |
require 'minitest/autorun' | |
describe Anagram do | |
before do |
This file contains 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
exit unless `which mpg123` && $?.success? | |
require 'minitest' | |
require 'minitest/autorun' | |
require 'minitest/pride' | |
module Minitest::Assertions | |
def assert_errooo(col, value, msg = nil) | |
assert col == value, call_errooo(msg) | |
end |
This file contains 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
require('os').cpus().length |
NewerOlder