Skip to content

Instantly share code, notes, and snippets.

View rockymontana's full-sized avatar

Jonas Erlandsson rockymontana

View GitHub Profile
### Keybase proof
I hereby claim:
* I am rockymontana on github.
* I am jonaserlandsson (https://keybase.io/jonaserlandsson) on keybase.
* I have a public key ASAh7WvlPNqlCe2nc9Xp3C_HaEe8jGYn4e-22fWxbCefEgo
To claim this, I am signing this object:
@rockymontana
rockymontana / index.html
Last active September 13, 2017 21:20
Underhåll Pågår
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<div class="inner cover">
<p class="lead">
<img src="http://www.sitedirect.se/20.0.0.0/855/23a48da01b27752fc8fe3a5aa73c453e.svg" />
</p>
<p class="lead">JIRA, som hanterar våra supportärenden och kundprojekt, är just nu nere för underhåll. </p>
<p class="lead">Vi räknar med att vara på banan kl. 7 igen!</p>
Routes.find().fetch().map((dRoute) => {
that = this;
dRoute.forEach(function (dRoute) {
that.route(dRoute.path, {
name: dRoute.name,
path: '/' + dRoute.path,
layout: //[dRoute.template]
});
});
});
Router.map(function() {
DRoutes = Routes.find().fetch();
that = this;
DRoutes.forEach(function(dRoute) {
that.route('/' + dRoute.slug, {
name: dRoute.name,
controller: 'PageController',
where: 'client',
path: '/' + dRoute.slug,
layout: dRoute.layout
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="element-choser">
<template>
<style>
:host {
position: absolute;
@rockymontana
rockymontana / install_sublime_text_3
Created July 10, 2013 05:20
Installing Sublime Text 3 from source on a Linux based system
#!/bin/sh
SCRIPT="#!/bin/sh
if [ \${1} == \"--help\" ]; then
/usr/local/sublime_text_3/sublime_text --help
else
/usr/local/sublime_text_3/sublime_text \$@ > /dev/null 2>&1 &
fi"
curl -L "http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3047_x64.tar.bz2" -o "/tmp/sublime_text_3.tar.bz2"
cd /tmp
@rockymontana
rockymontana / setup.SQL
Created June 29, 2012 11:31
SQL question
--
-- Table structure for table `apartments`
--
CREATE TABLE IF NOT EXISTS `apartments` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(8) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`rooms` varchar(2) COLLATE utf8_swedish_ci NOT NULL,
`floor` int(2) NOT NULL,
`m2` int(5) NOT NULL,
@rockymontana
rockymontana / 403.xsl
Created May 28, 2012 13:58
403 costum error problem
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output
method="html"
encoding="utf-8"
omit-xml-declaration="yes"
doctype-system="about:legacy-compat"
/>