CSS only progress bar in 5 steps. JS is only used for animating the demo.
A Pen by Brian Redfern on CodePen.
<div id="content"> | |
<ul id="tasks"> | |
<li> | |
<div class="outer-circle"> | |
<div class="inner-circle orange-bg"> | |
<span class="inside-content"></span> | |
</div> | |
Broken Iphone <i class="material-icons right gray">rss_feed</i> | |
</div> |
CSS only progress bar in 5 steps. JS is only used for animating the demo.
A Pen by Brian Redfern on CodePen.
With Javascript we have to learn to think in functions. You got it partly right with the way you attach your behavior to the button click.
But we need a named function to wrap your code to get it behave as expected.
This is how your code needs to be changed into order to work correctly:
""" | |
Beam decoder for tensorflow | |
Sample usage: | |
``` | |
beam_decoder = BeamDecoder(NUM_CLASSES, beam_size=10, max_len=MAX_LEN) | |
_, final_state = tf.nn.seq2seq.rnn_decoder( | |
[beam_decoder.wrap_input(initial_input)] + [None] * (MAX_LEN - 1), |
module SmoothArray | |
# Sample usage: | |
# require SmoothArray | |
# ugly_array = [[1,2,[3]],4] | |
# result = [] | |
# result = SmoothArray.polish(ugly_array) | |
# result.each do |i| | |
# puts i.to_s | |
# end |
/* | |
* Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js | |
*/ | |
var http = require('http'), | |
fs = require('fs'), | |
util = require('util'); | |
http.createServer(function (req, res) { | |
var path = 'video.mp4'; |
/* Trello Node.js Developer Challenge - Solution | |
* | |
* https://trello.com/jobs/developer | |
* | |
* If hash is defined by the following pseudo-code: | |
* | |
* Int64 hash (String s) { | |
* Int64 h = 7 | |
* String letters = "acdegilmnoprstuw" | |
* for(Int32 i = 0; i < s.length; i++) { |
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> |
Tempo-Synced LFO Wobble Bass | |
Jacob Joaquin | |
July 10, 2011 | |
[email protected] | |
csoundblog.com | |
<CsoundSynthesizer> | |
<CsInstruments> | |
sr = 44100 | |
kr = 44100 |