Skip to content

Instantly share code, notes, and snippets.

testing now!
<!DOCTYPE html>
<html>
<head>
<title>Emmet</title>
</head>
<body>
<!-- The * operator will act as a multiplier -->
<!-- ol*2 -->
<ol></ol>
<h4>Multiple Select</h4>
<!-- Select tag
has 4 common attributes:
* Multple : Allows the user to select more than one option
: Can be either multiple="multiple" or simply multiple
* Size : If multiple is set, we set the height of the box containing the options.
* Name : is the key with which we will identify the value of the select tag.
* id : Will be used for labels.
-->
<div>
.container>.div-before+(.div-1>.div-1a+.div-1b+.div-1c)+.div-after
.container>.div-before+(.div-1>.div-1a+.div-1b+.div-1c)+.div-after
.container>.div-before+.div-1>.div-1a+.div-1b+.div-1c^.div-after
.container>.div-before+.div-1>.div-1a+.div-1b+.div-1c^^.div-after
<!-- === HTML AUDIO -->
<audio id="cAudio">
<source src="../static/media/c_note.mp3" type="audio/mpeg"></source>
<source src="../static/media/c_note.ogg" type="audio/ogg"></source>
<source src="../static/media/c_note.wav" type="audio/wav"></source>
</audio>
<a id="c" href="">Click me!</a>
<script type="text/javascript">
function onKeyDown(event){
var maxPoint = new Point(view.size.width, view.size.height);
var randomPoint = Point.random();
var point = maxPoint * randomPoint;
new Path.Circle(point, 10).fillColor = "pink";
}
var keyData = {
q: {
sound: new Howl({
src: ['sounds/bubbles.mp3']
}),
color: '#1abc9c'
},
w: {
sound: new Howl({
src: ['sounds/clay.mp3']
@albach
albach / Bank.sol
Created August 26, 2018 07:37
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.0;
/**
* The BankContract contract stores money
* and returns the balance
*/
contract BankContract {
uint balance;
@albach
albach / 2-dogContract.sol
Created August 26, 2018 07:40
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=true&gist=
pragma solidity ^0.4.0;
import "./Ownable.sol";
contract DogContract is Ownable{
// The Dog object
struct Dog{
string name;
uint age;
@albach
albach / 2-dogContract.sol
Created August 30, 2018 10:11
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=true&gist=
pragma solidity ^0.4.0;
import "./Ownable.sol";
contract DogContract is Ownable{
// The Dog object
struct Dog{
string name;
uint age;