Skip to content

Instantly share code, notes, and snippets.

@Yves-T
Yves-T / BMI.html
Last active December 11, 2015 19:28
DOJO: BMI calculation with number spinners
<!DOCTYPE html>
<html>
<head>
<title>Calculate BMI</title>
<script src="//ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js"></script>
<script src="scripts/bmi.js"></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/dojo/1.8.1/dijit/themes/claro/claro.css">
<style>
#answer {
display: inline;
@Yves-T
Yves-T / 0_reuse_code.js
Created September 28, 2013 05:27
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Yves-T
Yves-T / readme.md
Last active July 20, 2020 06:43
DRUSH: How to install on mamp mac osx

#Installing Drush on MAMP

##Use PHP version of MAMP

XCode also installs a version of php on the command line. We want to use the mamp version of php. First check which version is running on your mamp installation. ( mamp panel -> preferences -> PHP ). In my case this is php5.6.10.

Launch the terminal app and type

@Yves-T
Yves-T / contentSnippet.html
Created February 21, 2016 11:53
JQUERY: load templates
<h1 id="testHeader">BLABLA</h1>