http://docs.angularjs.org/tutorial
http://docs.angularjs.org/guide/
https://www.youtube.com/user/johnlindquist
http://blog.artlogic.com/2013/03/06/angularjs-for-jquery-developers/
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BackgroundColor</key> | |
<string>rgba(0.000000,0.000000,0.000000,1.000000)</string> | |
<key>CommentsColor</key> | |
<string>rgba(0.569157,0.569091,0.569188,1.000000)</string> | |
<key>CtagsIdentifierColor</key> | |
<string>rgba(0.6,0.0,0.4,1.0)</string> |
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
/* Code is by A.J. Cates (http://ajcates.com). Find his post here: http://forr.st/~XGU */ | |
#gradient-triangle { | |
width: 60px; | |
height: 60px; | |
position: absolute; | |
top: 3em; | |
left: -30px; | |
clip: rect(auto 30px 60px auto); | |
} |
/*! | |
* jQuery lightweight plugin boilerplate | |
* Original author: @ajpiano | |
* Further changes, comments: @addyosmani | |
* Licensed under the MIT license | |
* https://github.com/addyosmani/jquery-plugin-patterns/blob/master/jquery.basic.plugin-boilerplate.js | |
*/ | |
// the semi-colon before the function invocation is a safety | |
// net against concatenated scripts and/or other plugins |
const fs = require('fs'); | |
const { promisify } = require('util'); | |
const matter = require('gray-matter'); | |
const got = require('got'); | |
const queryString = require('query-string'); | |
const readFile = promisify(fs.readFile); | |
const readDir = promisify(fs.readdir); | |
(async () => { |
/* | |
From: http://devoracles.com/the-best-method-to-check-for-internet-explorer-in-javascript | |
"I declared a new variable, called IE, which has the value a comment block followed by ‘false‘. | |
The above variable will be understood by IE: var IE = !false, because Internet Explorer uses | |
JScript — a Javascript-like dialect of the standard ECMAScript — instead of Javascript which is | |
used by all the other browsers. JScript can parse the comments, just like Internet Explorer (see | |
conditional HTML comments post). This is a unique feature of IE, none of the other browsers can do it, | |
so Firefox, Chrome, Safari, Opera, all will understand the above declaration as IE = false." | |
*/ |
<?php | |
if (FE_USER_LOGGED_IN) | |
{ | |
$this->import('FrontendUser', 'User'); | |
$userid = $this->User->id; | |
$membername = $this->User->firstname; | |
$lastname = $this->User->lastname; | |
echo "The user id is " .$userid. " and the user id is also " . $this->User->id; |
/* regular */ | |
font-family: "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", 'TeXGyreHerosRegular', "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; | |
font-weight:400; | |
font-stretch:normal; | |
/* condensed */ | |
font-family: "HelveticaNeueCondensed", "HelveticaNeue-Condensed", "Helvetica Neue Condensed", "HelveticaNeueRomanCondensed", "HelveticaNeue-Roman-Condensed", "Helvetica Neue Roman Condensed", "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", 'TeXGyreHerosCnRegular', "Helvetica", "Tahoma", "Geneva", "Arial Narrow", "Arial", sans-serif; | |
font-weight:400; | |
font-stretch:condensed; |
// Found here: http://stackoverflow.com/questions/7783907/equivalent-of-data-for-jquery-objects/7784011#7784011 | |
$.fn.objData = function(key, value) { | |
var rootData = $(document).data("jQueryObjectData"); | |
if (!rootData) { | |
$(document).data("jQueryObjectData", rootData = {}); | |
} | |
var objData = rootData[this]; | |
if (!objData) { | |
rootData[this] = objData = {}; |