This file contains 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
# | |
# Initialize the stuff | |
# | |
# We build the status bar item menu | |
def setupMenu | |
menu = NSMenu.new | |
menu.initWithTitle 'FooApp' | |
mi = NSMenuItem.new | |
mi.title = 'Hellow from MacRuby!' | |
mi.action = 'sayHello:' |
This file contains 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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
This file contains 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
/* See LICENSE file for copyright and license details. */ | |
/* appearance */ | |
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"; | |
static const char normbordercolor[] = "#444444"; | |
static const char normbgcolor[] = "#222222"; | |
static const char normfgcolor[] = "#bbbbbb"; | |
static const char selbordercolor[] = "#005577"; | |
static const char selbgcolor[] = "#005577"; | |
static const char selfgcolor[] = "#eeeeee"; |
This file contains 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
Use jwrdegoede/linux-sunxi sunxi-test for kernel (3.13) | |
User jwrdegoede/u-boot-sunxi sunxi-test for u-boot | |
---- | |
setenv ethaddr 5a:fe:b0:07:b0:07 # this can be anything | |
dhcp | |
setenv serverip <server-ip> |
This file contains 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
# Use kernel jwrdegoede/linux-sunxi sunxi-test (3.13) | |
# | |
# ---- | |
# | |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 3.13.0-rc2 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_MIGHT_HAVE_PCI=y |
This file contains 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 3.12.0-rc1 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_MIGHT_HAVE_PCI=y | |
CONFIG_SYS_SUPPORTS_APM_EMULATION=y | |
CONFIG_HAVE_PROC_CPU=y | |
CONFIG_NO_IOPORT=y | |
CONFIG_STACKTRACE_SUPPORT=y |
This file contains 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
# Pin & Location Assignments | |
# ----------------------------- | |
# Created by: Isa Ansharullah (Alab inc.) | |
set_location_assignment PIN_AJ14 -to fpga_sdram_memory_mem_a[0] | |
set_location_assignment PIN_AK14 -to fpga_sdram_memory_mem_a[1] | |
set_location_assignment PIN_AH12 -to fpga_sdram_memory_mem_a[2] | |
set_location_assignment PIN_AJ12 -to fpga_sdram_memory_mem_a[3] | |
set_location_assignment PIN_AG15 -to fpga_sdram_memory_mem_a[4] | |
set_location_assignment PIN_AH15 -to fpga_sdram_memory_mem_a[5] |
This file contains 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
Hello, world! |
This file contains 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<svg width="500px" height="500px"></svg> | |
<script> | |
var g = [{x:10, y:10}, {x:20, y:20}, {x:30, y:30}]; | |
var svg = d3.select("svg"); | |
var svgAll = svg.selectAll("circle"); |
This file contains 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
`timescale 1ns / 1ps | |
module testbench_lms (); | |
reg reset_p; | |
reg lms_clk; | |
initial begin | |
lms_clk = 0; | |
reset_p = 1; |
OlderNewer