It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
| require(quantmod) | |
| do_chart <- function(symbol) { | |
| quote <- getQuote(symbol) | |
| quote$Close <- quote$Last | |
| xts(OHLCV(quote), quote[,"Trade Time"], | |
| pct_change = quote[,"% Change"]) | |
| } | |
| filename <- "intraday-sp500.rds" |
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
| DT1 <- data.table(x = 1:5) | |
| DT2 <- data.table(y = (1:5) + 0.01) | |
| setkey(DT1, x) | |
| setkey(DT2, y) | |
| # the following does not maintain both columns | |
| DT1[DT2, roll = 'nearest'] | |
| # x | |
| # 1: 1 | |
| # 2: 2 |
| # load libraries -------------------------------------------------------------------- | |
| library(data.table) | |
| library(feather) | |
| # US Part D Drug prices 2013: 500 MB zip, 2.9 GB uncompressed ----------------------- | |
| pde_link <- "http://download.cms.gov/Research-Statistics-Data-and-Systems/Statistics-Trends-and-Reports/Medicare-Provider-Charge-Data/Downloads/PartD_Prescriber_PUF_NPI_DRUG_13.zip" | |
| tf <- tempfile() |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
| cSplit <- function(indt, splitCols, sep = ",", direction = "wide", | |
| makeEqual = NULL, fixed = TRUE, drop = TRUE, | |
| stripWhite = FALSE) { | |
| message("`cSplit` is now part of the 'splitstackshape' package (V1.4.0)") | |
| ## requires data.table >= 1.8.11 | |
| require(data.table) | |
| if (!is.data.table(indt)) setDT(indt) | |
| if (is.numeric(splitCols)) splitCols <- names(indt)[splitCols] | |
| if (any(!vapply(indt[, splitCols, with = FALSE], | |
| is.character, logical(1L)))) { |
| //Copyright (c) 2011 ashelly.myopenid.com under <http://www.opensource.org/licenses/mit-license> | |
| #include <stdlib.h> | |
| //Customize for your data Item type | |
| typedef int Item; | |
| #define ItemLess(a,b) ((a)<(b)) | |
| #define ItemMean(a,b) (((a)+(b))/2) | |
| typedef struct Mediator_t |
| Byobu Commands | |
| ============== | |
| byobu Screen manager | |
| Level 0 Commands (Quick Start) | |
| ------------------------------ | |
| <F2> Create a new window |
Under Terminal > Preferences... > (Profile) > Advanced, "Declare terminal as:" should be set to xterm-256color.
This is easy with homebrew:
brew install screen
| #encoding:UTF-8 | |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'FasterCSV' | |
| require 'httparty' | |
| require 'json' | |
| require 'highline/import' | |
| def get_input(prompt="Enter >",show = true) |