Skip to content

Instantly share code, notes, and snippets.

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

John Murowaniecki jmurowaniecki

🤐
************!
View GitHub Profile
@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
@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,

@cristianobecker
cristianobecker / foca.js
Created September 11, 2014 19:53
Foca no código
/* Foca no código
.---.
/o o\
__(= " =)__
//\'-=-'/\\
) (_
/ `"=-._
/ \ ``"=.
@wandernauta
wandernauta / sp
Last active April 16, 2024 15:37
sp is a command-line client for Spotify's dbus interface. Play, pause, skip and search tracks from the comfort of your command line.
#!/usr/bin/env bash
#
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
#
# Put differently, it allows you to control Spotify without leaving the comfort
# of your command line, and without a custom client or Premium subscription.
#
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active March 8, 2024 02:11
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh