Skip to content

Instantly share code, notes, and snippets.

View lazycipher's full-sized avatar
🛡️
Stealth Mode

Himanshu Singh lazycipher

🛡️
Stealth Mode
View GitHub Profile
@lazycipher
lazycipher / output
Created May 23, 2020 20:47
Output when Firefox used i.e tests_init("firefox")
tests_init("firefox")
Starting selenium binary. To shut it down, run:
remDr$closeWindow()
remDr$closeServer()
checking Selenium Server versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
checking chromedriver versions:
BEGIN: PREDOWNLOAD
@lazycipher
lazycipher / output
Created May 23, 2020 20:46
Output when PhantomJS used i.e tests_init()
tests_init()
Starting phantomjs binary. To shut it down, run:
pJS$stop()
checking phantomjs versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
> tests_run(filter = "renderer")
[1] "axis angle rotate"
[1] 0.75
@lazycipher
lazycipher / animint.js
Created March 9, 2020 23:33
Hit or Miss Monte Carlo Integration
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 9, 2020 19:17
Hit or Miss Monte Carlo Integration
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 7, 2020 23:29
Interactive World Bank Data Viz. 'Life Expectancy vs Fertility Rate and Year vs Fertility Rate'
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 22:03
Happiness Dataset Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 21:56
SARS 2002 Data Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 21:54
SARS 2002 Data Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 21:45
SARS 2002 Data Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 16:32
Hit or Miss Monte Carlo Integration
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments