This file contains hidden or 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
mkdir ~/.local/bin | |
echo "~/.local/bin:\$PATH" >> .bashrc |
This file contains hidden or 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
window.$ = window.jQuery = require('jquery'); | |
import Popper from 'popper.js'; | |
window.Popper = Popper; | |
window.Cookies = require('js-cookie'); | |
require('./django_ajax_csrf.js'); | |
require('bootstrap/dist/js/bootstrap.js'); | |
require('core/static/css/styles.scss'); | |
$.fn.flashMessage = function(message, callback, duration) { |
This file contains hidden or 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
[coming soon] |
This file contains hidden or 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
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" type="text/javascript" charset="utf-8"></script> | |
<script> | |
$(window).ready(function(){ | |
setInterval(function(){ | |
window.location.hash += "A"; | |
}, 300); | |
}); | |
</script> | |
<img src="https://media.giphy.com/media/ZyT7OVt78WZmE/giphy.gif" alt="turtle"> |
This file contains hidden or 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
// margin | |
@u-m-dirs: t top, r right, b bottom, l left; | |
@u-m-opts: '' 40px, '\+' 60px, '\+\+' 80px, '-' 20px, '--' 10px, '0' 0px; | |
.loopmarginoptions(@dir-class, @dir, @iterator:1) when(@iterator <= length(@u-m-opts)) { | |
@u-m-class: extract(extract(@u-m-opts, @iterator), 1); | |
@u-m-dist: extract(extract(@u-m-opts, @iterator), 2); | |
@class: ~"u-m@{dir-class}@{u-m-class}"; | |
.@{class} { | |
margin-@{dir}: @u-m-dist; | |
} |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"> | |
<script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script> | |
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
<body> | |
<div style="max-width:900px; -webkit-transform:rotate(0deg)"> | |
<scene id="scene1" width="200"> | |
<drawing t="translate(0,31)"> |
This file contains hidden or 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
# ssh => starwars | |
starwars(){ | |
telnet towel.blinkenlights.nl | |
} | |
alias ssh=starwars | |
# rm => nope | |
nopelol(){ | |
echo "Permission Denied" | |
} |
This file contains hidden or 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
// Data passed to Placester search during AJAX request | |
[ | |
{"name":"iDisplayLength","value":9}, | |
{"name":"iDisplayStart","value":0}, | |
{"name":"sEcho","value":2}, | |
{"name":"context","value":"custom_listings_search"}, | |
{"name":"import_id","value":"54d18daab1c93c67b4000001"}, // <== The value is getting passed to Wordpress's ajax handler | |
{"name":"location[address]","value":""}, | |
{"name":"location[neighborhood]","value":""}, | |
{"name":"metadata[min_price]","value":""}, |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
$mqs: | |
"md" "max-width: 940px", | |
"sm" "max-width: 680px", | |
"xs" "max-width: 480px"; |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
$spaces: "m" "margin", "p" "padding"; | |
$directions: "t" "top", "r" "right", "b" "bottom", "l" "left"; | |
$charges: "" "-"; | |
$defPX: 10; |
NewerOlder