Skip to content

Instantly share code, notes, and snippets.

View paulallies's full-sized avatar
🖥️
Coding

Paul Allies paulallies

🖥️
Coding
View GitHub Profile
@paulallies
paulallies / jsbin.saleso.html
Last active August 29, 2015 14:04
Google Maps Geoservice
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Geocoding service</title>
<style>
html, body, #map-canvas {
height: 100%;
margin: 0px;
@paulallies
paulallies / index.html
Created August 17, 2014 07:03
JQuery UI AutoComplete JQuery UI AutoComplete // source http://jsbin.com/lobaj/3
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="JQuery UI AutoComplete: Static DataSource" />
<link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<meta charset="utf-8">
<title>JQuery UI AutoComplete</title>
</head>
@paulallies
paulallies / nvm
Created August 20, 2014 11:29
install nvm
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
@paulallies
paulallies / designer.html
Last active August 29, 2015 14:07
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
curl https://raw.githubusercontent.com/creationix/nvm/v0.18.0/install.sh | bash
@paulallies
paulallies / sshserver
Last active August 29, 2015 14:09
Multi Hop SSH
#Generate Local Key Pair
[paul@pauls_mac paul]$ ssh-keygen
Output:
Generating public/private rsa1 key pair.
Enter file in which to save the key (/home/paul/.ssh/id_rsa): /home/paul/.ssh/id_rsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/paul/.ssh/id_rsa.
@paulallies
paulallies / designer.html
Last active August 29, 2015 14:13
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@paulallies
paulallies / YUI.examples.gallery.accordion.js
Created August 31, 2011 10:04
YUI3 gallery-accordion
@paulallies
paulallies / tabview.js
Created August 31, 2011 11:26
YUI3 tabview
//Requires the following modules
requires: 'tabview'
//Declare tabview
var myTabview = new Y.TabView({
srcNode: "#tree"
});
//select a tab of index 0
myTabview.selectChild(0);
@paulallies
paulallies / ajax.get.js
Created August 31, 2011 20:50
YUI3 Ajax GET
Y.io(uri, {
on: {
success: function (txnid, res) {
Y.one('#container').set('innerHTML', res.responseText);
},
failure: function (err, res) {
Y.log(res.status + ":" + res.statusText);
}
}
});