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
import "ember"; | |
import EmberHandlebars from "ember-htmlbars/compat"; | |
var compile = EmberHandlebars.compile; | |
var App1, App2, $fixture; | |
function setupExample() { | |
$fixture.append('<div id="app1"></div>'); |
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
module Slider where | |
import Html exposing (..) | |
import Html.Attributes exposing (class, style) | |
import Mouse | |
import Signal | |
-- MODEL |
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
module DrawLines exposing (..) | |
import Html.App | |
import Mouse exposing (Position) | |
import Svg exposing (..) | |
import Svg.Attributes exposing (..) | |
main : Program Config | |
main = |
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
/* | |
* Arduino Keyboard Emulation | |
* learnelectronics | |
* 13 FEB 2017 | |
* | |
* www.youtube.com/c/learnelectronics | |
*/ | |
//############################################################################################################# | |
//This code only works on an Arduino with the ATmega32U4 chip, so only Arduino Leonardo and Arduino Pro Micro!! |
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
require "active_record" | |
require "database_cleaner" | |
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:" | |
ActiveRecord::Schema.define do | |
create_table :models do |t| | |
t.string :name | |
end | |
end |
OlderNewer