-
Download the NeverWare's ChromeOS build from http://www.neverware.com/freedownload
-
Extract the *.bin.zip
-
Convert it to VDI.
vboxmanage convertdd chromiumos_image.bin chromiumos_image.vdi
-
mv chromiumis_image.vdi C:\t\v\chromeos\
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
solve <- function(n) { | |
result <- largeSubtract(largeAdd(sumMultiple(n, 3), sumMultiple(n, 5)), sumMultiple(n, 15)) | |
} | |
right <- function (string, char){ | |
substr(string,nchar(string)-(char-1),nchar(string)) | |
} | |
left <- function (string,char){ | |
substr(string,1,char) |
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
_contracts = {} | |
class Contract: | |
@classmethod | |
def __init_subclass__(cls): | |
_contracts[cls.__name__] = cls | |
def __set__(self, instance, value): | |
self.check(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 blog post here: | |
# http://gettinggeneticsdone.blogspot.com/2015/01/microbenchmark-package-r-compare-runtime-r-expressions.html | |
library(dplyr) | |
library(nycflights13) | |
flights | |
# base | |
aggregate(flights$arr_delay, by=list(flights$carrier), mean, na.rm=TRUE) |
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
How to Ask for Help using R | |
======================================================== | |
The key to getting good help with an R problem is to provide a minimally working | |
reproducible example (MWRE). Making an MWRE is really easy with R, and it will | |
help ensure that those helping you can identify the source of the error, and | |
ideally submit to you back the corrected code to fix the error instead of sending | |
you hunting for code that works. To have an MWRE you need the following items: | |
- a minimal dataset that produces the error |
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
# 셀레늄 패키지와 rvest 패키지를 설치합니다. | |
source("https://install-github.me/ropensci/RSelenium") | |
install.packages("rvest") | |
install.packages("dplyr") | |
# 패키지를 불러서 사용할 준비를 합니다. | |
library(RSelenium) | |
library(rvest) | |
library(dplyr) |
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
--- | |
title: "Effect of compression type and file complexity on saveRDS size and speed" | |
author: "David Robinson" | |
date: "April 20, 2015" | |
output: html_document | |
--- | |
```{r echo = FALSE} | |
knitr::opts_chunk$set(cache = TRUE, message = FALSE) | |
``` |
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
#!/bin/sh | |
# onedrive-ubu.sh | |
# A BASH script to set up OneDrive integration with GNOME on Ubuntu | |
# Copyright (C) 2018 Garrett Mills ([email protected]) | |
# This software is licensed under the MIT License. | |
# This sofware is provided without warranty or even any implied intent of purpose. | |
# | |
# OnedriveD: https://github.com/xybu/onedrived-dev | |
# |
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
<NotepadPlus> | |
<UserLang name="Stata" ext="do ado" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="yes" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">00// 00* 00/// 01 02 03/* 04*/</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> |
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
fread(sprintf("bzcat %s | tr -d '\\000'", filename)) |
OlderNewer