Skip to content

Instantly share code, notes, and snippets.

View neomadara's full-sized avatar
🏠
Working from home

Cristian Gutiérrez neomadara

🏠
Working from home
View GitHub Profile
@neomadara
neomadara / LICENSE
Created August 22, 2017 17:53 — forked from donnierayjones/LICENSE
Render Bootstrap as "small" layout when printing
Copyright (C) 2016 Donnie Ray Jones
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
@neomadara
neomadara / .vimrc
Created July 21, 2017 03:27 — forked from topheman/.vimrc
vim-config on Mac OS X
" Vundle config
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
@neomadara
neomadara / .zshrc
Created July 9, 2017 22:37 — forked from zanshin/.zshrc
My .zshrc file
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#export ZSH_THEME="robbyrussell"
export ZSH_THEME="zanshin"
@neomadara
neomadara / nico.zsh-theme
Created July 2, 2017 01:24 — forked from ntarocco/nico.zsh-theme
Yet another ZSH theme, simple and nice looking
# fork from AVIT ZSH Theme
PROMPT='
$(_user_host)${_current_dir}$(git_prompt_info)
$ '
PROMPT2='%{$fg[grey]%}◀%{$reset_color%} '
#RPROMPT='$(_vi_status)%{$(echotc UP 1)%}$(git_prompt_short_sha) $(_git_time_since_commit) ${_return_status} %T% %{$(echotc DO 1)%}'
RPROMPT='$(_vi_status)%{$(echotc UP 1)%}$(git_prompt_short_sha) ${_return_status} %T% %{$(echotc DO 1)%}'
@neomadara
neomadara / homebrew-python27.markdown
Created April 29, 2017 01:34 — forked from rcackerman/homebrew-python27.markdown
Installing/updating Python 2.7 with Homebrew

Installing Python 2.7 with Homebrew

For Mac 10.8.x

1) Install XCode 4.4

Get it from the App Store.

server {
listen 80;
server_name localhost;
location / {
root /vagrant;
index index.html index.htm;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
en index
<?if($_REQUEST["mod"]!=""){include("mods/".$prefijo."".$_REQUEST["mod"].".txt");}else{ include("mods/".$prefijo."".$index.".txt");}?>
en sg config
$index='qNsGn33iC1t6LCL7NRg2';
modulo
<?
if($_SESSION['idusuario']!=17){
?>
<?
session_start();
include("sg_funciones.php");
header('Content-type: application/vnd.ms-excel');
header('Content-Disposition: attachment; filename=Utilidad-'.date('U').'.xls');
header('Pragma: no-cache');
header('Expires: 0');
?>
<meta charset="UTF-8">
@neomadara
neomadara / app.js
Created December 28, 2016 02:48 — forked from jdnichollsc/app.js
Ionic Google OAuth Authentication, Firebase 3 and ngCordovaOauth plugin
angular.module('App', ['ionic', 'ngCordova', 'ngAnimate', 'ngCordovaOauth', 'firebase'])
.run(['$ionicPlatform',
'$rootScope',
'$firebaseAuth',
function($ionicPlatform, $rootScope, $firebaseAuth) {
$ionicPlatform.ready(function() {
if(window.cordova && window.cordova.plugins.Keyboard) {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
var express = require('express');
var app = express();
one = [ "La cueca pá los chilenos",
"Si no le gustan las cuecas",
"Hoy es 18 de Septiembre",
"Yo también voy a la ramá",
"Tu creis que no se ná",
"Yo las bailo donde sea",
"No bailo tanto pero tengo otra gracia",