Skip to content

Instantly share code, notes, and snippets.

💭
🎧

Marcos Garcia de Lima marcker

💭
🎧
Block or report user

Report or block marcker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marcker
marcker / yesterday.js
Last active May 4, 2018
Get yesterday - format: yyyy-mm-dd
View yesterday.js
function yesterday() {
'use strict';
var date = new Date();
function formatNumberTo2Digits(number) {
return ('0' + (number)).slice(-2);
}
// magic
@marcker
marcker / app.js
Created Sep 26, 2017
Organizing events
View app.js
const Vue = require('../../node_modules/vue/dist/vue.common.js');
const App = new Vue({
delimiters: ['${', '}'],
el: '#app',
data: {
message: 'Default message',
View .tmux.conf
set -g prefix C-a
unbind C-b
View .Xresources
xterm*background: grey9
xterm*foreground: white
xterm*cursorColor: red
xterm*cursorUnderline: true
xterm*cursorBlink: true
xterm*saveLines: 100
! -- Allow utf8 in/out
xterm*utf8: 2
xterm*eightBitInput: true
xtere*eightBitControl: false
View imagens.md

Imagem 1 — Comprar ingresso — Hover:

[data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS0AAAEZCAYAAADCCHNVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EA

@marcker
marcker / convert_flac_to_mp3.sh
Created Feb 18, 2015
Convert FLAC to MP3 using `ffmpeg`
View convert_flac_to_mp3.sh
#!/bin/bash
for a in *.flac; do
< /dev/null ffmpeg -i "$a" -qscale:a 0 "${a[@]/%flac/mp3}"
done
View meetup-openshift-04-02-2015.md
You can’t perform that action at this time.