This file contains 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 | |
# Blog Post: http://joaoperibeiro.com/command-line-script-to-launch-multiple-tabs/ | |
# Array of commands to run in different tabs | |
commands=( | |
'tail -f /var/log/apache2/access.log' | |
'tail -f /var/log/apache2/error.log' | |
'tail -f /usr/local/var/postgres/server.log' | |
) |
This file contains 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
// this code is not amazing. Was not suppose to be... | |
// like I was lazy to check the news, I was also lazy to code ahahah | |
// check the reason of this gist here: https://www.youtube.com/watch?v=7w9p3beJHyA | |
// define slideshow time in seconds | |
var slideTime = 3; | |
// fail safe clear | |
window.feedlySlide = undefined; | |
$(document).on('keyup', function(e) { | |
if(e.which == 81) { // use 'q' key to start the slideshow |
This file contains 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
/* ********************************************************************************************************************* | |
One% CSS Grid - 12 Columns Fluid CSS Grid System | |
Why One% ? Let’s count ... | |
we have 12 columns (magic number divided by 2, 3, 4, 6) | |
for 12 columns we need 11 margins | |
so if we count margin 3%, then 3% * 11 margins = 33% |