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
find -name "* *" -type d | rename 's/ /-/g' |
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
// Atribui um nome a variável 'nome' | |
nome = "Marcos Garcia"; | |
// Verifica se o 'nome' é maior ou igual a 10 caracteres | |
if (nome.length >= 10) { | |
console.log("I'm RIGHT!"); | |
// Se o nome ultrapassar 10 caracteres | |
} else { | |
console.log("I'm WRONG!"); | |
} |
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
rsync -arv * /media/marcker/FreeAgent\ GoFlex\ Drive |
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
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Terminal=false | |
Icon[pt_BR]=/opt/firefox/browser/icons/mozicon128.png | |
Exec="/opt/firefox/firefox" | |
Name[pt_BR]=Mozilla Firefox Aurora | |
Name=Mozilla Firefox Aurora | |
Icon=/opt/firefox/browser/icons/mozicon128.png |
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
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
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
for i in $(ls *.wmv); do ffmpeg -i $i -f flv -qscale 15 -ar 22050 -ab 96 -s 960x544 $i.flv; done |
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 Apps, Nevada; | |
Nevada = Nevada || {}; | |
Nevada.apps = { | |
indexOf: function() { | |
if (!Array.prototype.indexOf) { | |
Array.prototype.indexOf = function(searchElement) { | |
'use strict'; | |
var k, len, n, t; |
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
{ | |
"caret_style": "smooth", | |
"color_scheme": "Packages/Dayle Rees Color Schemes/TronLegacy.tmTheme", | |
"draw_white_space": "all", | |
"fold_buttons": false, | |
"font_face": "Consolas", | |
"font_options": | |
[ | |
"subpixel_antialias" | |
], |
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
$(document).ready(function() { | |
var tab, nav; | |
nav = $('.main-nav a'); | |
_ativarTab = function(e) { | |
tab = $(this).attr('href'); | |
$('section').removeClass('is-active'); | |
$(tab).addClass('is-active'); | |
e.preventDefault(); | |
}; |