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
| @echo off | |
| set SERVER_VERSION=2.32.0 | |
| set IESERVER_VERSION=2.32.3 | |
| :REM This will update the Selenium Server Windows Service with the most recent Version | |
| :REM of Selenium Server. | |
| :REM | |
| :REM Prerequisits: | |
| :REM * Download Selenium Server to Downloads Folder | |
| :REM * Download IE-Server to Downloads Folder and Unzip to Downloads Folder (using suggested name) |
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
| // Talking console | |
| // | |
| // Support: http://caniuse.com/#search=SpeechSynthesisUtterance | |
| // | |
| // Copy paste the code into dev console or | |
| // use http://mrcoles.com/bookmarklet/ to create a bookmarklet. | |
| /* ✂️ ......................................................................................... */ | |
| if(console.log.name !== 'talkLog') { | |
| console.l = console.log; |
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
| javascript:void((function(){ | |
| /** | |
| * 功能:自动语音提醒进入斗鱼房间的观众 | |
| * 用法:需要[制作成 Chrome 书签](http://pan.baidu.com/s/1skgEosX) | |
| * 版本:v1.0.1 | |
| * 日期:2017年2月12日 14:16:12 | |
| */ | |
| const $cont = $('#js-chat-cont').find('.c-list'); |
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
| #!/bin/bash | |
| # | |
| # git-mv-with-history -- move/rename file or folder, with history. | |
| # | |
| # Moving a file in git doesn't track history, so the purpose of this | |
| # utility is best explained from the kernel wiki: | |
| # | |
| # Git has a rename command git mv, but that is just for convenience. | |
| # The effect is indistinguishable from removing the file and adding another | |
| # with different name and the same content. |
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
| if (!require(quantmod)) { | |
| stop("This app requires the quantmod package. To install it, run 'install.packages(\"quantmod\")'.\n") | |
| } | |
| # Download data for a stock if needed, and return the data | |
| require_symbol <- function(symbol, envir = parent.frame()) { | |
| if (is.null(envir[[symbol]])) { | |
| envir[[symbol]] <- getSymbols(symbol, auto.assign = FALSE) | |
| } |