Congratulations! You've officially hit rock bottom in programming. It's like you're trying to communicate with the computer using interpretive dance instead of code. You absolute soggy toaster strudel of a programmer, what cosmic joke allowed you to be in front of a computer? Every line of code you write probably sets the entire field of computer science back by decades. It's like watching a walrus try to do ballet - painful, yet you can't look away. Honestly, you should consider a career in anything else. Origami, perhaps? At least when you fold paper, it's supposed to happen. Seriously, take up anything that's as far away from programming as humanly possible. It's for the greater good of the digital world.
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
| #!/usr/bin/env zx | |
| console.log("Fetching stats..."); | |
| const files = await globby(["**/*.{js,jsx,ts,tsx}", "!apps/meteor/tests/**/*"], { | |
| onlyFiles: true, | |
| followSymbolicLinks: false, | |
| gitignore: true, | |
| }); |
Command Flags
| Flag | Options | Description |
|---|---|---|
-codec:a |
libfaac, libfdk_aac, libvorbis | Audio Codec |
-quality |
best, good, realtime | Video Quality |
-b:a |
128k, 192k, 256k, 320k | Audio Bitrate |
-codec:v |
mpeg4, libx264, libvpx-vp9 | Video Codec |
I hereby claim:
- I am tassoevan on github.
- I am tassoevan (https://keybase.io/tassoevan) on keybase.
- I have a public key ASCY5tsSBqvCqz6GjMMo3meyDB0Nqlzi5YFFODAPlgYgrAo
To claim this, I am signing this object:
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
| function rocketchat_test_mode { | |
| docker stop rocketchat_mongo | |
| docker rm rocketchat_mongo | |
| docker run --name=rocketchat_mongo -p 27017:27017 -d mongo:3.2 mongod --smallfiles --oplogSize 128 --storageEngine=mmapv1 | |
| TEST_MODE=true MONGO_URL=mongodb://localhost:27017/rocketchat meteor run | |
| } | |
| #meteor npm run chimp-test |
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
| #!/bin/bash | |
| export ANDROID_HOME=$HOME/Android/Sdk | |
| adb="$ANDROID_HOME/platform-tools/adb" | |
| rsync -a --del --exclude=/.git ./ /tmp/love-android/ | |
| "$adb" push /tmp/love-android/. /storage/emulated/0/lovegame | |
| "$adb" shell am start -S -n "org.love2d.android/.GameActivity" | |
| while ! "$adb" shell pidof -s org.love2d.android >/dev/null |
- Sistema operacional Ubuntu (ou ao menos Debian-based)
- Usuário com permissão para
sudo - Assume-se que o IP da máquina é
192.168.0.11(modificar caso contrário) - Servidor MySQL, na mesma máquina, rodando na porta padrão (3306) e com usuário
rootdisponível. Assume-se que será criado um usuário com usernamegogse senhagogse um banco chamadogogs.
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
| var audioCtx = new(window.AudioContext || window.webkitAudioContext)(); | |
| var oscillator = audioCtx.createOscillator(); | |
| var gainNode = audioCtx.createGain(); | |
| oscillator.connect(gainNode); | |
| gainNode.connect(audioCtx.destination); | |
| gainNode.gain.value = 1; | |
| oscillator.frequency.value = 440; | |
| oscillator.type = 'sine'; |
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
| import java.util.ArrayList; | |
| public class EmailValidator { | |
| public static boolean isValid(final char[] input) { | |
| if (input == null) { | |
| return false; | |
| } | |
| int state = 0; |
Pequena checklist baseada no texto "Empresinha".
- a empresa que cabe em uma salinha
- a empresa depende exclusivamente de um cliente grande
- você faz parte de uma pequena equipe de desenvolvimento
- o seu gerente trabalha com escopo aberto e prazo fechado
- você trabalha com “scrã” e “agile” mas no fim tudo é um go-horse em meio a bugs de produção
- o seu gerente só conhece da área de negócio e não tem experiência na área de desenvolvimento
NewerOlder