This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#-- | |
This file allows you to override and define new FreeMarker variables. | |
--> | |
<#assign | |
show_header = getterUtil.getBoolean(themeDisplay.getThemeSetting("show-header")) | |
/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#-- ---------- Common variables ---------- --> | |
<#assign | |
theme_display = themeDisplay | |
portlet_display = portletDisplay | |
layoutSet = layout.getLayoutSet() | |
theme_timestamp = themeDisplay.getTheme().getTimestamp() | |
theme_settings = themeDisplay.getThemeSettings() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{font-size:16px;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert("js load from gist"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="row"> | |
<div class="col-sm-4"> | |
<div class="card"> | |
<div class="card-body"> | |
<h5 class="card-title">Special title 1</h5> | |
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p> | |
<a href="#" class="btn btn-primary">Go somewhere</a> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var os = (function() { | |
var ua = navigator.userAgent.toLowerCase(); | |
return { | |
isWin : /windows/.test(ua), | |
ismacOs : /mac os/.test(ua) | |
}; | |
}()); | |
var browser = (function() { | |
var ua = navigator.userAgent.toLowerCase(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Meetup Groups by Member ID</title> | |
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$.getJSON("https://api.meetup.com/2/groups?callback=?&sign=true&member_id=8377069&page=20&api&key=4d6354b6970177437494d3e6a41414b&only=name,link", | |
function (data) { | |
var htmlString = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Demo Page</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<img src="http://mms.space.swri.edu/MMSposter-large.jpg" /> |