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; | |
| use ieee.std_logic_unsigned.all; | |
| entity lcd_master is | |
| port ( | |
| clk : in std_logic; | |
| reset_n : in std_logic; |
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
| rangify <- function(val, range) { | |
| # First prepare the factor of ranges | |
| rangef <- c() | |
| for (i in 1:length(range)) { | |
| rangef <- c(rangef, paste("<", range[i])) | |
| } | |
| rangef <- c(rangef, paste(">", range[length(range)])) | |
| rangef <- factor(rangef) | |
| r <- data.frame(val=val, range=rangef[length(rangef)]) |
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
| full_interaction <- as.data.frame(sapply(factors, levels)) | |
| join(df, full_interaction, type="full") | |
| } |
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
| full_interaction <- as.data.frame(sapply(factors, levels)) | |
| join(df, full_interaction, type="full") | |
| } |
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
| fillmelted <- function(df, factors=df[, sapply(df, class) == "factor"]) { | |
| full_interaction <- as.data.frame(sapply(factors, levels)) | |
| join(df, full_interaction, type="full") | |
| } |
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
| transform.split <- function(.data, .variables, ...) { | |
| by <- eval.quoted(as.quoted(.variables), .data) | |
| pf <- parent.frame() | |
| args <- substitute(list(...)) | |
| ## from aggregate.data.frame | |
| nrx <- NROW(.data) | |
| grp <- double(nrx) | |
| for (ind in rev(by)) { | |
| if (length(ind) != nrx) |
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
| transform.split <- function(.data, .variables, ...) { | |
| by <- eval.quoted(as.quoted(.variables), .data) | |
| pf <- parent.frame() | |
| args <- substitute(list(...)) | |
| ## from aggregate.data.frame | |
| nrx <- NROW(.data) | |
| grp <- double(nrx) | |
| for (ind in rev(by)) { | |
| if (length(ind) != nrx) |
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
| transform.split <- function(.data, .variables, ...) { | |
| by <- eval.quoted(as.quoted(.variables), .data) | |
| pf <- parent.frame() | |
| args <- substitute(list(...)) | |
| ## from aggregate.data.frame | |
| nrx <- NROW(.data) | |
| grp <- double(nrx) | |
| for (ind in rev(by)) { | |
| if (length(ind) != nrx) |
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
| globals = @driver.execute_script(' | |
| return (function() { | |
| var w = window; | |
| var h = {}; | |
| var ks = Object.keys(w); | |
| for (var i in ks) { | |
| var k = ks[i]; | |
| h[k] = typeof(w[k]); | |
| }; | |
| return h; |
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
| [core] | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false | |
| logallrefupdates = true | |
| [remote "origin"] | |
| fetch = +refs/heads/*:refs/remotes/origin/* | |
| url = git://github.com/flattr/osd-flattr-chrome-extension.git | |
| pushurl = [email protected]:corecode/osd-flattr-chrome-extension.git | |
| [branch "master"] |
OlderNewer