JSFiddle

  • three.js experiment

    jQuery 2.1.4, HTML, CSS, JavaScript

    $(function() {
        var renderer = new THREE.WebGLRenderer();
        renderer.setSize(800, 600);
        document.body.appendChild(renderer.domElement);
    
        var scene = new THREE.Scene ...
  • three.js ~ example ~ Mr.doob

    2012-01-05 ~

    var camera, scene, renderer, geometry, material, mesh;
    
    init();
    animate();
    
    function init() {
    
        scene = new THREE.Scene();
    
        camera = new THREE.PerspectiveCamera(50 ...
  • three.js ~ example ~ Mr.doob

    2012-01-05 ~

    var camera, scene, renderer, geometry, material, mesh;
    
    init();
    animate();
    
    function init() {
    
        scene = new THREE.Scene();
    
        camera = new THREE.PerspectiveCamera(50 ...
  • Generating keys that s3 likes

    jQuery Compat (edge), HTML, CSS, JavaScript

    //var decodedData  = CryptoJS.enc.Base64.parse($('#b64').val());
    //var hash = CryptoJS.MD5(decodedData).toString(CryptoJS.enc.Base64);
    
    var key = CryptoJS ...
  • instances compare #8 is the latest revision

    jQuery 2.1.0, HTML, CSS, JavaScript, Bootstrap 3.2.0

    var previousInstances = [{"InstanceId":"i-78334d93","PublicIpAddress":"54.236.238.117"
    },{"InstanceId":"i-dd1b7336","PublicIpAddress":"54.86.239.146","Name":"RegionJs"
    },{"InstanceId":"i-eb7c0a3d ...
  • Underscore InstanceInfo

    jQuery (edge), HTML, CSS, JavaScript

    var json = {};
    
    var reservations = json.Reservations;
    var yy = _.chain(json.Reservations)
        .map(function (reservation) {return reservation.Instances;})
        .flatten()
        .map ...
  • Get Managers

    jQuery 2.1.0, HTML, CSS, JavaScript, Bootstrap 3.2.0

    $('#go').click(function () {
        
        var url = $('#url').val();
        if (url == '') {
            alert('enter a URL');
            return;
        }
        
        var logins = $('#logins').val().trim().toLowerCase ...
  • Dynamo DB - JS Sample #51 is the latest revision

    jQuery 2.1.0, HTML, CSS, JavaScript, Bootstrap 3.2.0

    var intervalHandle;
    
    $('#startPolling').click(function () {
        var polling = $(this).is(':checked');
        if (polling) intervalHandle = window.setInterval(pollDynamo, 3000);
        else window.clearInterval ...
  • Basic AWS template #5 is the latest revision

    jQuery 2.1.0, HTML, CSS, JavaScript, Bootstrap 3.2.0

    $('#go').click(function () {
    
        AWS.config.update({
            accessKeyId: $('#accessKeyId').val(),
            secretAccessKey: $('#secretAccessKey').val(),
            region: 'us-east-1'
        });
    
        var table = new AWS.DynamoDB({
            params ...
  • Basic AWS template #6 is the latest revision

    jQuery 2.1.0, HTML, CSS, JavaScript, Bootstrap 3.2.0

    $('#go').click(function () {
    
        AWS.config.update({
            accessKeyId: $('#accessKeyId').val(),
            secretAccessKey: $('#secretAccessKey').val(),
            region: 'us-east-1'
        });
    
        var db = new AWS.DynamoDB();
        db ...