This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#main').css('background', "#a8ad37"); | |
var g = d3.select('svg') | |
.append('g') | |
.attr('transform', 'translate(' + $('#main').width()/2 + ', ' + 889 + ')'); | |
var randomNumbers; | |
if ($('#main').data('randomNumbers')) { | |
randomNumbers = $('#main').data('randomNumbers'); | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = new Avidemux(); | |
var ds = new DirectorySearch(); | |
var orgDir; | |
var destDir; | |
var reg =new RegExp(".$"); | |
/* | |
This is for Unix | |
For Windows change to | |
sep="\\"; | |
reg2=new RegExp("\\.*\\"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Convert blogger (blogspot) posts to jekyll posts | |
# | |
# Basic Usage | |
# ----------- | |
# | |
# ./blogger_to_jekyll.rb feed_url | |
# | |
# where `feed_url` can have the following format: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="coderwall_badges"> | |
<script | |
type="text/javascript" | |
src="http://coderwall-widget.appspot.com/coderwallbadges.js/tonussi"> | |
</script> | |
<script> | |
new CoderwallWidget({ | |
'color':'#000', | |
'#fff':'#000', | |
'width':245, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN GEEK CODE BLOCK----- | |
Version: 3.1 | |
GCS d- s+: a-- C ULC++ P+ L+++ E++ !W++(Wine) N++ !o K- !w !O !M+ V PS+ PE+ !Y+ !PGP- t+ !5 X+ !R- tv-- b- DI--- !D- G e(++)>++++$ h()>--- r>+++ y+(reset)>reset | |
------END GEEK CODE BLOCK------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen, projection, print { | |
html, body { font: 300 100.01% "Helvetica Neue", Helvetica, Arial, sans-serif; margin-left: auto; margin-right: auto; width: 100%; height: 100%; line-height:1.1138em; text-rendering: optimizeLegibility; } | |
a, a * { color: #555; text-decoration: none; } | |
h, h1, h2, h3, h4, h5 { color: #000; font-size: 1.1em; margin-left: 1em; padding-right: 1.250em; padding-bottom: 2.250em; padding-top: 2.250em; color: #429745; } | |
p, p1, p2, p3 { display: block; margin-before: 5em; margin-after: 5em; margin-start: 3em; margin-end: .8em; right: .5em; left: .5em; padding: 0.250em; padding-top: 2em; padding-bottom: 1.250em; font-size: .875em; } | |
strong.very { color: #f00 } | |
p4, p5, p6 { display: block; margin-before: 5em; margin-after: 5em; margin-start: 3em; margin-end: .8em; right: .5em; left: .5em; padding: 0.250em; padding-top: 2em; padding-bottom: 1.250em; font-size: .875em; } | |
header { padding-top: 1em; padding-bottom: 1em; height: auto; margin-top: auto; margin-bottom: 1em; bott |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x=c(3,5,6,7,8) | |
y=c(10,14,20,18,55) | |
x+y | |
z=c(x,y) | |
sum(x) | |
mean(x) | |
var(x) #Like var this uses denominator n - 1. | |
sd(x) | |
power(sd(x)) | |
plot(x,y) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* creativeoffice presents | |
* machine state of leds | |
* with start button | |
* a fancy simulation | |
*/ | |
//espaco para declaracoes de variaveis globais | |
//variaveis podem ser declaradas localmente tambem | |
//cabe ao programador decidir a logica |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#N canvas 108 219 593 441 10; | |
#X msg 19 103 devices; | |
#X obj 122 120 comport 0 9600; | |
#X msg 19 74 close; | |
#X msg 19 26 devicename /dev/ttyACM0; | |
#X obj 146 262 noteout; | |
#X floatatom 216 182 0 0 0 0 - - -; | |
#X floatatom 169 182 0 0 0 0 - - -; | |
#X obj 300 405 print x1; | |
#X obj 32 409 print x2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library IEEE; | |
use ieee.std_logic_1164.all; | |
USE ieee.numeric_std.all; | |
entity SerialShifter is | |
port( clock, | |
reset, | |
start: in std_logic; | |
dataIn: in std_logic_vector(7 downto 0); | |
dataOut: out std_logic_vector(7 downto 0); |
OlderNewer