Skip to content

Instantly share code, notes, and snippets.

<?php
/*
* AppClientScript class file.
* @package app.components
* @author seb
*/
/**
* AppClientScript allows to register single package and reset other registered script files.
@serebrov
serebrov / makesnapshots.py
Created December 30, 2014 19:24
Modified version of the aws-snapshot-tool (allows to tag instances which volumes will be backed up instead of volumes)
#!/usr/bin/python
#
# (c) 2012/2014 E.M. van Nuil / Oblivion b.v.
#
# makesnapshots.py version 3.3
#
# Changelog
# version 1: Initial version
# version 1.1: Added description and region
# version 1.2: Added extra error handeling and logging
guitar = new gsynth.GuitarSynth();
// a slowly picked E Major Chord:
var notes = [
{ str: 5, fret: 0, duration: 1000 },
{ str: 4, fret: 0, duration: 250 },
{ str: 3, fret: 0, duration: 250 },
{ str: 2, fret: 0, duration: 250 },
{ str: 1, fret: 0, duration: 250 },
{ str: 0, fret: 0, duration: 250 }
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test ajax</title>
</head>
<body>
<script>
function showCat(str) {
if (str == "") {