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
<!--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>
!-------------------------------------------------------------------------------
!
! 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
@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 / SH_MYSQL_backup-all-dbs.sh
Created December 7, 2012 00:17
shell script to backup all db's [MYSQL]
#!/bin/bash
# Shell script to backup MySql database
# To backup Nysql databases file to /backup dir and later pick up by your
# script. You can skip few databases from backup too.
# For more info please see (Installation info):
# http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/01/mysql-backup-script.html
# Last updated: Aug - 2005
# --------------------------------------------------------------------
# This is a free shell script under GNU GPL version 2.0 or above
# Copyright (C) 2004, 2005 nixCraft project
@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"'
@branquito
branquito / wincmd.ini
Created January 21, 2013 21:00
INI -- wincmd.ini
[Configuration]
InstallDir=c:\totalcmd
firstmnu=3001
FirstTime=0
test=101
onlyonce=1
TrayIcon=1
UseRightButton=0
Savepath=1
Savepanels=1