Opened with :hover.
See the result of this example on CodePen.
Opened with :hover.
See the result of this example on CodePen.
function verificar() { | |
var dados = document.getElementById("dados"), | |
t1 = document.getElementById("t1").value, | |
t2 = document.getElementById("t2").value, | |
t3 = document.getElementById("t3").value; | |
if (t1 == t2 && t2 == t3 && t1 == t3) { | |
dados.triangulo.value = "Isosceles"; | |
} | |
Just an CSS-only experiment that I wanted to share. =) I'm still improving it.
Tested on Google Chrome, Firefox and Opera.
Check out on CodePen.
for (var n = 0; n < 100; n++) { | |
var word = '' | |
if (n % 3 === 0) word += 'Fizz' | |
if (n % 5 === 0) word += 'Buzz' | |
console.log(word || n) | |
} |
Senoidal curve with SASS + HAML. Pure CSS(3).
Available on CodePen
import requireHacker from 'require-hacker' | |
const extensions = ['css', 'gif', 'jpg', 'svg'] | |
extensions.forEach(type => { | |
requireHacker.hook(type, () => 'module.exports = ""') | |
}) |
import pyaudio | |
import audioop | |
import serial | |
CHUNK = 1024 | |
FORMAT = pyaudio.paInt16 | |
CHANNELS = 2 | |
RATE = 44100 | |
RECORD_SECONDS = 5 |
int PIN = 7; | |
char message; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(PIN, OUTPUT); | |
} | |
void loop() { |
import pyaudio | |
import numpy | |
import array | |
import serial | |
import colorsys | |
import time | |
from color import convertPercentToColorValue | |
PORT = '/dev/cu.wchusbserial1430' | |
HSV_VALUE = 0.7 |
Works with all Ubuntu-based distros. 12.16.1860 version. Check out latest version reference.
(You must have wget, a free software package for retrieving files using HTTP, HTTPS and FTP. Install: sudo install wget
)
wget http://deb.opera.com/opera/pool/non-free/o/opera-next/opera-next_12.16.1860_i386.deb