Skip to content

Instantly share code, notes, and snippets.

COMMAND LINE
ln -s /path/to/original/ /path/to/link
@rosenhub
rosenhub / gtown_sites_vue.html
Created March 29, 2018 13:11 — forked from woodwardtw/gtown_sites_vue.html
vue from google sheets & wp api
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Georgetown Domains</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://unpkg.com/vue@2.1.4/dist/vue.js"></script>
ssh-keygen -t rsa -C "john@example.com"
@rosenhub
rosenhub / noScroll
Created March 18, 2014 02:41
No scroll webapp meta-tags
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta id="extViewportMeta" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
@rosenhub
rosenhub / Cordova Status Bar
Created March 10, 2014 16:18
Cordova: Status Bar Javascript plug-in
$( document ).on( "deviceready", function(){
StatusBar.overlaysWebView( false );
StatusBar.backgroundColorByName( "gray" );
});
@rosenhub
rosenhub / Gloss
Created March 4, 2014 20:24
Web 2.0 Gloss Effect
The HTML
<div id="container">
<h2>Gloss</h2>
</div>
The CSS
body {
background: #21303b;
@rosenhub
rosenhub / Stitched
Created March 4, 2014 20:23
Dashed border in CSS
The HTML
<div id="container">
<h2>Stitched</h2>
</div>
The CSS
h2 {
font-size: 70px;
@rosenhub
rosenhub / Coupon
Created March 4, 2014 20:22
Coupon looking box in CSS
The HTML
<div id="container">
<h2>$10 Off</h2>
</div>
The CSS
h2 {
font-size: 80px;
@rosenhub
rosenhub / Text small caps
Created March 4, 2014 20:21
Text into small caps w/CSS
The HTML
<div id="container">
<p>Small Caps</p>
</div>
The CSS
#container p {
text-align: center;
@rosenhub
rosenhub / Text Press
Created March 4, 2014 20:19
Text pressing using CSS
Container
<div id="container">
<p>pressed</p>
</div>
The CSS
body {
background: #222222;