Skip to content

Instantly share code, notes, and snippets.

View xantiagoma's full-sized avatar

Santiago Montoya A. xantiagoma

View GitHub Profile
Font=Lucida Console
FontHeight=18
(global-set-key (kbd "<f5>") 'compile)
(global-set-key (kbd "<f6>") 'recompile)
(global-set-key (kbd "<f12>") 'undo)
(global-set-key (kbd "C-c g") 'goto-line)
export PATH=$PATH:$APPDATA/cabal/bin:$HOME/bin
export WPTAG="ST0244032"
consumer_key: WMID1AHhy7DALGVsW5MCDIp2m
consumer_secret: SjsZO9XbBt261RkvCeMGINZy4W0PKWR7Obbw1otCwNC7gQlWS4
access_token: 2321451554-L9Sa757odjYnqoYDDI2VvlqIlUbGLSjzKVyqclr
access_token_secret: h3joMUtjkR8fzz7FFzAnZcdy5MYpasJI0d52rh0Kn3Hh1
(setq column-number-mode t) ;; Set tales en true ;; nil es false
@xantiagoma
xantiagoma / init.coffee
Last active January 16, 2017 19:47
Atom Sync Settings
.
router.get("/", auth.authenticate(), middle.getroles, middle.roles(["user"]), function (req, res){
if(req.query.path){
res.sendFile("/mnt/vol0/storage"+req.query.path, {}, function (err) { //I know this is dangerous
if (err) {
console.log(err);
res.status(500).json(err);
}
else {
console.log('Sent:', req.query.path);
}
@charset "UTF-8";
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
/**
* Returns value of specified URL parameter.
* @param {String} name Query parameter to return value of.
* @return {String} String of query parameter or null / 0.
*/
getUrlParameter = function(name){
var results = new RegExp('[\\?&]' + name + '=([^&#?]*)').exec(window.location.href);
if (results==null){ return undefined; }
else { return results[1] || 0; }
}
$x48: 48em;
$x64: 64em;
$x75: 75em;
@mixin media($medias){
@each $media in $medias {
@if $media == xs {
@media only screen and (max-width: $x48) { @content; }
}
@else if $media == sm {