Skip to content

Instantly share code, notes, and snippets.

View andrewnicols's full-sized avatar

Andrew Lyons andrewnicols

  • Moodle Pty Ltd
  • Perth, Australia
View GitHub Profile
#!/bin/bash
targettime="2000"
keymatch="AAAAB3NzaC1yc2EAAAADAQABAAACAQC81ZYzl/TeFmFiV8g1hIY4HUTqXhNPyEc6brFejqf1KsCWJPb724h/cKUZNQPbBmWrApFycJWuieJZEXdBrV0RQyTX4HqWz7zeIn7CuoLwVFdOSB0n4JJsFcvwjBo+fVX8eRcYBoWSJIx2laTEHSQr91jLW4H2MCoki1/rZeYJk3juhoeSdlwoj4aH/wroY0cEmAJAL6IepTiTu71UQpps8Ad7R8ELxHfmWDPJvn4/0nHPa2vOTMea0Q+fkYpz5TXzptTSTkIAPLjEX7Yn4oU7Ahly00+h8/mjlDgGrPoBW7v2m3KQ2yiolgiTWK4ZGtLfufDqsCeIAnz8Sr4VcTWKTuhBCE6aU6soHc3VlelLi8mN9GVMamD8u9Zn4GUWqIw7XLedtEP5QRz2VgROFZLMTlUNbgkHYWdrNUOzTu8XDDJdxQsLdqoMF80651Yj2c1haOwmyq/58oJzO/BvaJOMUI8QAMnsbFJhwYSUd1630oZfNTg2hAdBs7Pc5Q8fxVo5atrzzTdZ0LFoUuTX3wpjj/R4d2pgjtfJ9l+aJMajsGkMllF0CAp5N9iynLrEk9ep026SZFTrl/m3u9peUk1wrTgbOAdOatDof9WtPbYu48f7QB0bIMPAApCwqvBDFgRc2vnLygUUVI5JZ5YiZQit+nodQKw8SMeWqY8MrQZg3w=="
keymatch=`cat ~/.ssh/id_rsa.pub`
target=$(date -j $targettime +%s)
seconds=$(($target-`date +%s`))
ssh-add -L | grep "$keymatch" > /dev/null

App Framework Change History

@VERSION@

Router

  • Fixed issue where Router's hasRoute(url) method did not follow the same

Anim Change History

App Framework Change History

ArraySort Change History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.4.2/pure-min.css">
<script src="../build/yui/yui-min.js"></script>
<script asrc="http://yui.yahooapis.com/3.10.0/build/yui/yui-min.js"></script>
<style>
.yui3-overlay-content {background-color: #ECEFFB; border: 1px solid #9EA8C6; border-radius: 3px; box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.25);}
From 0e347d93c6e090c34ff1cb9cea57e6df7cec0fc9 Mon Sep 17 00:00:00 2001
From: Andrew Nicols <andrew@nicols.co.uk>
Date: Fri, 2 May 2014 10:43:23 +0800
Subject: [PATCH 1/1] foo
---
.../atto/yui/src/editor/js/editor-plugin-buttons.js | 3 ++-
lib/editor/atto/yui/src/editor/js/editor.js | 14 ++++++++++++++
lib/editor/atto/yui/src/editor/js/textarea.js | 18 ++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletion(-)
2012 yui3/src/loader:dev-3.x> yogi loader --yes --mix --start ../
yogi [info] using yogi@0.1.11 on node@0.10.26
yogi [info] generating loader meta-data for: /Users/nicols/git/yui/yui3/src
yogi [info] storing module here: /Users/nicols/git/yui/yui3/src/loader/js/yui3.js
yogi [info] and json here: /Users/nicols/git/yui/yui3/src/loader/js/yui3.json
yogi [info] found 159 .json files to parse. parsing now..
yogi [info] writing json: /Users/nicols/git/yui/yui3/src/loader/js/yui3.json
yogi [info] done processing json
yogi [info] using md5: 45357bb11eddf7fd0a89c0b756599df2
yogi [info] processing conditionals
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
<?php
$e = new SplFixedArray(10);
$e[0] = 1;
$e[1] = 5;
$e[2] = 10;
foreach ($e as $k => &$v) {
var_dump($v);
}
* (detached from FETCH_HEAD)
20140113
316rc1
43422reb
A
ATTO_ARIA
MDL-1-27
MDL-18162-master
MDL-24287-master
MDL-28261-master
Input
=====
Module ID: 10
User ID: 2147483646
Unique User Hash: a40961ed62ce8b2e358a7bc8baee8505aa336f1f
Post ID: 2147483647
Post Hash: c5109993615308b9faa8b9b5123f688f90862468
Generated Address: moodle+AAAAAAAAAAoBAAAAAAAAAH////4AAAAAf////yHevNyMzhLB
Length of address: 55