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
var http = require('http'); | |
var express = require('express'); | |
var router = express(); | |
var server = http.createServer(router); | |
router.get('/speedtestserver', function(req, res){ |
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
#Believe it or not, you _can_ install Homebrew/Linuxbrew on your shiny new Chromebook without [dual-booting](http://chromeos-cr48.blogspot.fr/) or [chrooting](https://github.com/dnschneid/crouton) another operating system like Ubuntu; nay, you can enjoy the goodness of CLI programs like `vim`, `zsh`, `ruby` , and all the other goodies Linuxbrew has to offer (not to mention anything you can compile from source) while still being able to flaunt your fancy Chrome OS GUI. So let's get started. | |
#**NOTE STILL IN PROGRESS EVERYTHING SHOULD WORK UNTIL GCC** | |
#> **Disclaimer** | |
#> This guide is still in progress and has only been tested on an Acer C720P, so results may vary with other Chromebooks, especially those with other architectures (sorry ARM). | |
#Prerequisites | |
#==================== | |
#If you just opened up your factory-fresh Chromebook, the first thing you have to do is [enable developer mode](http://www.cnet.com/how-to/how-to-enable-developer-mode-on-a-chromebook/). If that guide doesn't help do a google search |
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
/*#sideNavBox .ms-core-listMenu-item, #sideNavBox .ms-core-listMenu-item:link, #sideNavBox .ms-core-listMenu-item:visited, #sideNavBox .ms-tv-item:link, #sideNavBox .ms-tv-item:visited, #sideNavBox .ms-tv-header:link, #sideNavBox .ms-tv-header:visited { | |
color: hsl(219, 100%, 27%); | |
width: 50%; | |
}*/ | |
#contentBox{ | |
width: 75%; | |
margin-left: 320px; | |
} |
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
import streamlit.components.v1 as components | |
_ = components.html( | |
""" | |
<script> | |
function loadScript(url) | |
{ | |
return new Promise(function(resolve, reject) { | |