Skip to content

Instantly share code, notes, and snippets.

rm rockymontana

Block or report user

Report or block rockymontana

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rockymontana
rockymontana / index.html
Last active Sep 13, 2017
Underhåll Pågår
View index.html
<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>
View libRoutes.jsx
Routes.find().fetch().map((dRoute) => {
that = this;
dRoute.forEach(function (dRoute) {
that.route(dRoute.path, {
name: dRoute.name,
path: '/' + dRoute.path,
layout: //[dRoute.template]
});
});
});
View routes.js
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
View designer.html
<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 Jul 10, 2013
Installing Sublime Text 3 from source on a Linux based system
View install_sublime_text_3
#!/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
View setup.SQL
--
-- 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
403 costum error problem
View 403.xsl
<?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"
/>
You can’t perform that action at this time.