#ABOUT
#INSTALLATION Run following commands:
apt-get install curl -y
curl https://gist.githubusercontent.com/mikepenz/bea8ef149c4c04917f04/raw/7fded476f46b156e3bc3cb8b0696fa27267c6b78/debianessentials.sh | sh;
$('[data-toggle="modal"]').click(function () { | |
var url = $(this).attr('href'); | |
$.get(url, function (data) { | |
var modal = $('<div id="clue-modal" class="modal fade" tabindex="-1" role="dialog"><div class="modal-dialog"><div class="modal-content">' + data + '</div></div></div>').modal(); | |
modal.on("hidden.bs.modal", function () { | |
$(this).remove(); | |
}); | |
setTimeout(function(){ | |
modal.modal('hide'); | |
},5000); |
//- compile and see the output online at below URL | |
http://jade-lang.com/ | |
//- table data | |
- var tableData = [['R1 Col1', 'R1 Col2', 'R1 Col3'], ['R2 Col1', 'R2 Col2', 'R2 Col3'], ['R3 Col1', 'R3 Col2', 'R3 Col3'], ['R4 Col1', 'R4 Col2', 'R4 Col3'], ['R5 Col1', 'R5 Col2', 'R5 Col3']] | |
//- table markup | |
table.table | |
//- table head | |
tr.t-head |
Less css trick to generate BEM-styled selectors, by Max Shirsin, http://noteskeeper.ru/1139 + Scss version | |
@block: ~".dm-import-feed"; | |
@{block} { | |
&_step_2 { | |
@{block}__page_step_2 { | |
display: block; | |
} | |
} |
<?xml version="1.0"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.arcusys</groupId> | |
<artifactId>theme</artifactId> | |
<packaging>war</packaging> | |
<name>theme Theme</name> | |
<version>1.0-SNAPSHOT</version> |
#ABOUT
#INSTALLATION Run following commands:
apt-get install curl -y
curl https://gist.githubusercontent.com/mikepenz/bea8ef149c4c04917f04/raw/7fded476f46b156e3bc3cb8b0696fa27267c6b78/debianessentials.sh | sh;
#merge gpx files
gpsbabel -i gpx -f file1.gpx -f file2.gpx -o gpx -F merged.gpx
#attach GPX to photo get needed libs first
pip install gpxpy
brew install pyexiv2 exiftool
git clone https://github.com/mapillary/mapillary_tools.git
python geotag_from_gpx.py path/to/photos gpx_track.gpx timeoffset
// | |
// Responsive Margin & Padding Shortcuts for Twitter Bootstrap 3.0 | |
// --------------------------------------------------------------- | |
// This is an addition to Twitter Bootstrap that allows additional margin and padding shortcuts | |
// for enhanced layout control purposes. It should be included after the bootstrap.less | |
// import statement or precompiled as you see fit. It differs from bootstrap standards in | |
// that for any given screen size it predetermines the margin/padding size. All you have to | |
// do is specify the size you want xs,sm,md,lg, or xl. The exception is for items that you | |
// want to be centered using auto left/right margins. This can be device responsive by | |
// specifying mc-xs, mc-sm, mc-md, or mc-lg depending on when you want that behavior. |
Some examples of the things one can do with Vanilla JavaScript. Comparison of Vanilla JS to jQuery and Underscore.js.
<?php | |
// Map grabber :: Yandex.Maps + jQuery + PHP/DOMDocument/XPath | |
// by Proger_XP :: http://proger.me | |
// Original article (Russian): http://habrahabr.ru/post/184334/ | |
// In public domain. I appreciate backlinks. | |
function dl($url) { | |
require_once 'sqobot/lib/downwind.php'; | |
return new Downwind($url, array( |