Skip to content

Instantly share code, notes, and snippets.

View YannDoy's full-sized avatar

Yann Doy YannDoy

  • BFH
  • Tramelan, Swiss
View GitHub Profile
const rAF = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || (fn => setTimeout(fn, 16));
function autorun(fn) {
const derivation = new Derivation(fn);
derivation.register();
return derivation;
}
function schedule(derivation) {
if (!!schedule.queue) return schedule.queue.add(derivation);
Get-WmiObject -Class Win32_Product `
| ForEach-Object { $_.Name } `
| Out-File -Encoding UTF8 -FilePath \\s2mterall1\Instapp\00_AssistantsEtAdmins\YDO\softlist\$env:COMPUTERNAME.txt
<?php
/**
* Tweet checklist
* @author Yann Doy
* @since 23 oct 2017
*/
// to reset text/plain;base64,e30=
$store = 'data://text/plain;base64,e30=';
<?php
#----------------------------------------------------
# V I E W S
#----------------------------------------------------
/**
* Render a phtml file
*
* @param $_path string the phtml path