This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Font=Lucida Console | |
FontHeight=18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=$PATH:$APPDATA/cabal/bin:$HOME/bin | |
export WPTAG="ST0244032" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consumer_key: WMID1AHhy7DALGVsW5MCDIp2m | |
consumer_secret: SjsZO9XbBt261RkvCeMGINZy4W0PKWR7Obbw1otCwNC7gQlWS4 | |
access_token: 2321451554-L9Sa757odjYnqoYDDI2VvlqIlUbGLSjzKVyqclr | |
access_token_secret: h3joMUtjkR8fzz7FFzAnZcdy5MYpasJI0d52rh0Kn3Hh1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq column-number-mode t) ;; Set tales en true ;; nil es false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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 { |
OlderNewer