Skip to content

Instantly share code, notes, and snippets.

View jmurowaniecki's full-sized avatar
🤐
************!

John Murowaniecki jmurowaniecki

🤐
************!
View GitHub Profile
@cristianobecker
cristianobecker / foca.js
Created September 11, 2014 19:53
Foca no código
/* Foca no código
.---.
/o o\
__(= " =)__
//\'-=-'/\\
) (_
/ `"=-._
/ \ ``"=.
@cristianobecker
cristianobecker / radio.sh
Last active January 14, 2016 16:00
Internet radio to work
radio() {
local radio
local station
local playlist
if test $# -eq 2; then
radio="$1"
station="$2"
elif test $# -eq 0; then
radio=soma
@cristianobecker
cristianobecker / convert-xbox.sh
Last active January 14, 2016 16:00
Convert a MKV file to MP4 with subtitles (xbox360 compatible) using ffmpeg
xbox-convert() {
if test $# -eq 1; then
local extension=$(echo "$1" | egrep -o '\.[^\.]+$')
local file=$(echo "$1" | sed -e "s/"$extension"$//")
if test -f "$file.srt" && test -f "$1"; then
ffmpeg -sub_charenc "ISO-8859-1" -i "$file.srt" "$file.ass"
ffmpeg -i "$1" -vf ass="$file.ass" -vcodec libx264 -acodec ac3 -ab 160k "$file.mp4"
rm "$file.ass"
else
echo ".str file and video file should have the same name"
@jaydson
jaydson / gist:27756965e32314cf28d8
Last active April 17, 2017 18:56
Convença o seu chefe - BrazilJS 2015

#Convença seu chefe - BrazilJS 2015

A BrazilJS Conf é a principal conferência de JavaScript do Brasil e uma das maiores do mundo (sério).
O evento já é tradição na comunidade de desenvolvimento Web brasileira. Todos os anos, centenas (+-1000) de desenvolvedores de todos os estados do Brasil comparecem ao que muitos dizem ser, o Woodstock da tecnologia.
Na sua 5º edição, a BrazilJS Conf 2015 acontecerá nos dias 21 e 22 de Agosto, sendo sediada na cidade de Porto Alegre, Rio Grande do Sul, no Shopping Center BarraShoppingSul, localizado na Av. Diário de Notícias, 300, bairro Cristal.

Justificativa

JavaScript é uma linguagem de programação em extrema ascensão, ganhando cada vez mais destaque no mercado e certamente, a linguagem mais apoiada por empresas como Google, Mozilla, Microsoft, Facebook, Yahoo!, Opera, Adobe, entre outras gigantes do mercado de tecnologia.
Apesar do nome, a conferência abrange diversos temas relacionados ao desenvolvimento web em geral,

@githubnando
githubnando / mysqldump-ignoring-multiple-tables.sh
Last active July 17, 2017 13:49
mysqldump-ignoring-multiple-tables
#!/bin/bash
DB_HOST=""
DB_DATABASE=""
DB_USERNAME=""
DB_PASSWORD=""
read -r -d '' tableSizesQuery << EOF
SELECT
table_schema as 'Database',
@githubnando
githubnando / windows10-uefi-stick.sh
Last active July 20, 2017 13:55
Make a bootable Windows 10 UEFI USB Stick
# Let the device unmounted
sudo umount /dev/sdb
# Optional: change the content to zeros
sudo dd if=/dev/zero of=THE_DEVICE bs=512 count=1
# Normally this is not nessecary. Then to create a new layout on the drive:
sudo fdisk /dev/THE_DEVICE
# Then:
@githubnando
githubnando / fedora25-afterinstall.sh
Last active October 4, 2017 18:25
Fedora 25|26 Afterinstall - Things TODO
#!/bin/bash
NC='\033[0m'
CO='\033[0;31m'
function display {
echo -e "$CO $1 $NC"
}
display "RPM FUSION FREE AND NONFREE"
@wilcorrea
wilcorrea / docker-compose.yml
Last active November 24, 2020 19:58
Docker Compose para manter
version: '3.7'
# make sure everything is running with:
# docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}\t{{.Status}}" | grep "nginx-"
#networks
networks:
#network reverse-proxy
reverse-proxy:
external: true
@PurpleBooth
PurpleBooth / am-i-ready-to-open-source-this.md
Last active February 4, 2021 22:17
Checklist to see if your open source repo is primetime ready!

Am I ready to Open Source This?

The checklist:

  1. A readme following a good template
  2. A contributing.md with a code of conduct.
  3. A license
  4. Travis configuration
  5. A way for people to raise issues
  6. Link to it
@lauraturk
lauraturk / circleci-heroku-continuous-deployment2.0.md
Last active November 23, 2021 15:28
instructions for deploying from circleci2.0 to heroku