Skip to content

Instantly share code, notes, and snippets.

@hansspiess
hansspiess / index.html
Last active August 29, 2015 13:59
A Pen by Hans Spieß.
<div class="coindesk js-coindesk">
<p class="coindesk__price">
€ <span class="js-eur-value"></span>
</p>
<p>
Zuletzt aktualisiert am <span class="js-last-updated"></span>
</p>
<p class="small">Powered by <a href="/price/">CoinDesk</a></p>
</div>

Enhance Joomla 2.5 Pagination with Font Awesome Icons

The Implamantation of the Html in Joomla 2.5 is described in this gist.

A Pen by Hans Spieß. License.

@hansspiess
hansspiess / index.html
Created July 2, 2014 22:52
Multiple google maps with centered marker in foundation reveal modals on one page
<!DOCTYPE html>
<html>
<head>
<link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/css/normalize.min.css" rel="stylesheet" type="text/css" />
<link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/css/foundation.min.css" rel="stylesheet" type="text/css" />
<script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/js/vendor/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/js/foundation.min.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDEbRv070GUYNDHSrK8FzNPakJKl3wBmeg&amp;sensor=TRUE"></script>
<meta charset="utf-8">
<title>JS Bin</title>
@hansspiess
hansspiess / 01 eloquentjavascript.net
Last active August 29, 2015 14:16
Collecting my solutions for a great tutorial...
Every chapter of eloquentjavascript.net has some exercises, which i keep here for reference.
@hansspiess
hansspiess / setup-wordpress-with-sage.bash
Last active August 29, 2015 14:16
These commands come in handy when setting up new wp installs with the successor of roots, https://roots.io/sage/.
# download & unzip latest, to be executed in /sites folder
wget http://wordpress.org/latest.tar.gz && tar xfz latest.tar.gz && rm latest.tar.gz
# move to theme directory
cd wordpress/wp-content/themes/
# clone sage theme: https://roots.io/sage/
git clone https://github.com/roots/sage.git theme-name
# delete standard themes
@hansspiess
hansspiess / Skewed full width menu with scss.markdown
Created June 25, 2015 15:33
Skewed full width menu with scss
@hansspiess
hansspiess / Preferences.sublime-settings
Last active August 29, 2015 14:27
My current Sublime Text 3 User Settings
{
"enable_tab_scrolling": true,
"ignored_packages":
[
"Vintage"
],
// theming & colors
"color_scheme": "Packages/Base16 Color Schemes/base16-ocean.dark.tmTheme",
curl -L http://npmjs.org/install.sh | sudo sh