Skip to content

Instantly share code, notes, and snippets.

View branquito's full-sized avatar
🌴
On vacation

Branchito de Munze branquito

🌴
On vacation
View GitHub Profile
@branquito
branquito / app.css
Created September 1, 2014 11:53
susy2 grid example
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
.container {
max-width: 1140px;
margin-left: 0;
margin-right: auto;
background-image: linear-gradient(to right, rgba(0, 128, 0, 0.25), rgba(0, 204, 0, 0.25) 88.88889%, transparent 88.88889%);
@branquito
branquito / index.html
Created December 18, 2014 01:58
module-pattern-example.js
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Module Pattern Example</title>
</head>
<body>
<script src="module-pattern-example.js"></script>
</body>
</html>
!-------------------------------------------------------------------------------
!
! U R X V T - Settings
!
URxvt*geometry: 139x23
URxvt*foreground: grey80
URxvt*borderLess: true
URxvt*depth: 32
URxvt*background: rgba:0000/0000/0000/dddd
URxvt*scrollBar_right: true
<!--ubaci ovo u odeljak <applications></applications>, s tim da pazi, ceo odeljak ima tagove applicationS, a pojedinacni unosi applicatioN! ;) da se ne zeznes-->
<!--to ti je za terminal, da ti bude kao kod mene.. ovo ga pravi razduzenim po horizontali i na tacno odredjenoj poziciji na ekranu, u drugom fajlu podesavas da nema scroll itd..-->
<application class="URxvt">
<position>
<x>center</x>
<y>110</y>
<monitor>1</monitor>
</position>
<decor>no</decor>
<focus>yes</focus>
@branquito
branquito / multi_js.php
Created August 21, 2012 14:44
multiarray example PHP->JavaScript
<?php
$items = array(
'subject'=> array(
'easy' => array('music','history'),
'difficult' => array('maths','science')
),
'sports'=>array(
'easy' => array('cricket'),
'difficult' => array('football','basketball')
)
@branquito
branquito / mysql2excel.sh
Created September 21, 2012 19:45
mysql2csv
#!/bin/bash
###Convert MySQL files into Excel Files###
#Get user info
echo -e "Enter MySQL user name..."
read User
echo -e "Enter MySQL password..."
read -s Password
@branquito
branquito / adm tasks
Created November 9, 2012 00:39
administrative tasks in windows 7
admin.{ED7BA470-8E54-465E-825C-99712043E01C}
@branquito
branquito / vim-caps-esc.ahk
Created November 12, 2012 13:57
#VIM -- vim-caps-to-esc
classname = ""
keystate = ""
*Capslock::
WinGetClass, classname, A
if (classname = "Vim")
{
SetCapsLockState, Off
Send, {ESC}
}
@branquito
branquito / .gitignore
Created December 10, 2012 00:23
typical .gitignore file for JOOMLA
# files to ignore in typical Joomla installation
# also with some exclusions useful for SublimeText editor
*~
configuration.php
*.sublime-project
*.sublime-workspace
tags
.tags*
logs/
@branquito
branquito / .bashrc
Created January 18, 2013 19:07
BASH -- .bashrc-msysgit-windows
## source .bashrc ##
alias reload='. .bashrc'
## handy shortcuts ##
alias h='history'
alias h.20='history 20'
## create a new set of commands ##
alias path='echo -e ${PATH//:/\\n}'
alias now='date +"%T"'