Skip to content

Instantly share code, notes, and snippets.

View xantiagoma's full-sized avatar

Santiago Montoya A. xantiagoma

View GitHub Profile
@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%;
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);
}
@xantiagoma
xantiagoma / init.coffee
Last active January 16, 2017 19:47
Atom Sync Settings
.
(setq column-number-mode t) ;; Set tales en true ;; nil es false
consumer_key: WMID1AHhy7DALGVsW5MCDIp2m
consumer_secret: SjsZO9XbBt261RkvCeMGINZy4W0PKWR7Obbw1otCwNC7gQlWS4
access_token: 2321451554-L9Sa757odjYnqoYDDI2VvlqIlUbGLSjzKVyqclr
access_token_secret: h3joMUtjkR8fzz7FFzAnZcdy5MYpasJI0d52rh0Kn3Hh1
export PATH=$PATH:$APPDATA/cabal/bin:$HOME/bin
export WPTAG="ST0244032"
(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)
Font=Lucida Console
FontHeight=18