Skip to content

Instantly share code, notes, and snippets.

DBA is life.

Alejandro Granadillo slayerfat

DBA is life.
View GitHub Profile
slayerfat /
Created November 28, 2018 12:48
default shell PS1 solaris / aix
export PS1=${LOGNAME}@`uname -n`':/${PWD##*/}\$ '
slayerfat / php.ini
Created April 26, 2016 01:57
xdebug > php.ini
View php.ini
zend_extension=/etc/php/7.0/apache2/conf.d/20-xdebug.ini (locacion real puede variar)
slayerfat / phpmd-ruleset.xml
Last active April 12, 2023 23:23
php mess detector ruleset for laravel and similar frameworks
View phpmd-ruleset.xml
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Laravel and similar phpmd ruleset"
Inspired by
slayerfat / custom_settings.txt
Created September 9, 2015 18:07
increased dungeon crawl tiles fontsizes
View custom_settings.txt
#Increased font size in dungeon crawl
#INCLUDE THIS IN OR EQUIVALENT FOLDER: /usr/share/crawl/settings/init.txt
#(without the # in the include = custom_settings.txt)
#include = custom_settings.txt
#tile_full_screen = false
#if you wanna use a custom font, you need to
#copy the *.ttf file in this directory:
slayerfat / atom_packages
Created May 25, 2015 16:18
useful atom packages
View atom_packages
<!-- PHP -->
<!-- LINT -->
<!-- PHPMD -->
composer global require "phpmd/phpmd"
slayerfat /
Last active December 23, 2015 01:19
automount drive in ubuntu

if ubuntu >= 14.04 go to unity searchbox > disks > edit mount options > turn on

sudo apt-get install udisks

sudo blkid

if unclean: sudo ntfsfix /dev/sdXY where XY = partition

/dev/sda1: UUID="89b18940-d5ff-4ce1-a85a-42cdd0369016" UUID_SUB="57d79ff6-7b53-44bc-82ec-ef783a23efc3" TYPE="btrfs" 
slayerfat / Gruntfile.js
Created January 19, 2015 21:34
barebones Gruntfile.js
View Gruntfile.js
module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
slayerfat / git.log
Last active December 23, 2015 19:21
git log version bonita
View git.log
git config --global alias.historial "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"
slayerfat / Preferences.sublime-settings
Last active August 29, 2015 14:11
Sublime text 3 user settings
View Preferences.sublime-settings
"auto_complete_selector": "source, text",
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"detect_indentation": true,
"ensure_newline_at_eof_on_save": true,
"font_options": "subpixel_antialias",
"font_size": 16,
"highlight_line": false,
"highlight_modified_tabs": true,