Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
/////////////////////////////////////////////////////////////////////////////////////// | |
// This program uses the ESP8266 Wifi module to access a webpage. It's an adaptation of | |
// the program discussed at http://hackaday.io/project/3072/instructions | |
// and shown here http://dunarbin.com/esp8266/retroBrowser.ino . | |
// | |
// This program was ported to the ZPUino 2.0, a softcore processor that runs on an FPGA | |
// and emulates an Arduino. | |
// | |
// This program works with version 00160901 of the ESP8266 firmware. | |
/////////////////////////////////////////////////////////////////////////////////////// |
docker run -rm -t -i -v $(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK ubuntu /bin/bash |
int spk = 0; | |
void setup() {} | |
void loop() { | |
tone(spk,660,100); | |
delay(150); | |
tone(spk,660,100); | |
delay(300); | |
tone(spk,660,100); |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
require 'rubygems/package_task'
GEMSPEC = Gem::Specification.load('ruby-lint.gemspec')
Dir['./task/*.rake'].each do |task|
module Obvious | |
module EntityMixin | |
class << self | |
def included(base) | |
base.extend ClassMethods | |
end | |
end |
#!/usr/bin/env bash | |
# | |
# Wraps curl with a custom-drawn progress bar. Use it just like curl: | |
# | |
# $ curl-progress -O http://example.com/file.tar.gz | |
# $ curl-progress http://example.com/file.tar.gz > file.tar.gz | |
# | |
# All arguments to the program are passed directly to curl. Define your | |
# custom progress bar in the `print_progress` function. | |
# |
*.c | |
*.rl |
class ActiveRecord::Base | |
attr_accessible nil | |
def update_attributes *args | |
raise "Don't call #{self.class.name}#update_attributes. " + | |
"Mass assignment is pure evil." | |
end | |
end |