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
[2020-04-16 12:03:31.146] [renderer1] [trace] CommandService#executeCommand workbench.action.showCommands | |
[2020-04-16 12:03:31.146] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"workbench.action.showCommands","from":"keybinding"} | |
[2020-04-16 12:03:33.318] [renderer1] [trace] CommandService#executeCommand workbench.action.showLogs | |
[2020-04-16 12:03:33.318] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"workbench.action.showLogs","from":"quick open"} | |
[2020-04-16 12:03:38.760] [renderer1] [trace] CommandService#executeCommand workbench.action.showCommands | |
[2020-04-16 12:03:38.760] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"workbench.action.showCommands","from":"keybinding"} | |
[2020-04-16 12:03:39.712] [renderer1] [trace] CommandService#executeCommand workbench.action.showLogs | |
[2020-04-16 12:03:39.712] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"workbench.action.showLogs","from":"quick open"} | |
[2020-04-16 12:03:40.827] [renderer1] [trace] onWillActivate |
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
[2020-04-14 11:49:01.489] [renderer1] [trace] CommandService#executeCommand workbench.action.showCommands | |
[2020-04-14 11:49:01.489] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"workbench.action.showCommands","from":"keybinding"} | |
[2020-04-14 11:49:02.365] [renderer1] [trace] CommandService#executeCommand workbench.action.setLogLevel | |
[2020-04-14 11:49:02.365] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"workbench.action.setLogLevel","from":"quick open"} | |
[2020-04-14 11:49:03.912] [renderer1] [trace] [File Watcher (nsfw)] [CHANGED] /Users/amelio/cnc/.git/FETCH_HEAD | |
[2020-04-14 11:49:03.968] [renderer1] [trace] [File Watcher (nsfw)] >> normalized [CHANGED] /Users/amelio/cnc/.git/FETCH_HEAD | |
[2020-04-14 11:49:04.417] [renderer1] [trace] [File Watcher (nsfw)] [CHANGED] /Users/amelio/cnc/.git/FETCH_HEAD | |
[2020-04-14 11:49:04.470] [renderer1] [trace] [File Watcher (nsfw)] >> normalized [CHANGED] /Users/amelio/cnc/.git/FETCH_HEAD | |
[2020-04-14 11:49:04.660] [renderer1] [trace] DecorationsS |
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
[ | |
{ | |
"key": "cmd+ctrl+r", | |
"command": "workbench.action.navigateRight" | |
}, | |
{ | |
"key": "cmd+ctrl+l", | |
"command": "workbench.action.navigateLeft" | |
}, | |
{ |
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
probe lift | spend lift | |
---|---|---|
-17.022928454948286 | 0.014672250000000005 | |
-15.586628197931887 | -0.00469775384615384 | |
2.8567944901523603 | 0.14434057692307692 | |
-22.247318315187176 | -0.004279830000000005 | |
-1.5522640420892877 | 0.12785214545454537 | |
5.787540438159766 | -0.37254556999999977 | |
0.4551408090612885 | 1.2664770300000003 | |
5.961554299416779 | -0.8872226384615385 | |
3.2555529063699296 | -0.00742559000000001 |
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
(py35)amelio @ amelio [Sun, May 29 09:32:12] ~/code/external/emacs-dbgr (master) | |
$ ./install-from-git.sh --prefix=~/.emacs.d/emacs-gdbr | |
****************************************** | |
Trying to install emacs-test-simple... | |
****************************************** | |
--- Running command: git clone https://github.com/rocky/emacs-test-simple.git | |
Cloning into 'emacs-test-simple'... | |
remote: Counting objects: 317, done. | |
remote: Total 317 (delta 0), reused 0 (delta 0), pack-reused 317 | |
Receiving objects: 100% (317/317), 91.64 KiB | 0 bytes/s, done. |
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
# Draw a 1000 sample from N(0,1) | |
mu, sigma = 0, 1 | |
sample = np.random.normal(mu, sigma, 1000) | |
# Let's simulate adding some anomalies to the sample (this is just for an example) | |
mu, sigma = 100, 10 | |
sample[::10] = np.random.normal(mu, sigma, 100) | |
# PROBLEM to SOLVE: Where are the outliers? | |
outlier_locations = find_anomalies(sample) |
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
$ brew doctor | |
Please note that these warnings are just used to help the Homebrew maintainers | |
with debugging if you file an issue. If everything you use Homebrew for is | |
working fine: please don't worry and just ignore them. Thanks! | |
Warning: Unbrewed dylibs were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when | |
building Homebrew formulae, and may need to be deleted. | |
Unexpected dylibs: |
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
val sqlCtx = new org.apache.spark.sql.hive.HiveContext(sc) | |
val results = sqlCtx.sql( | |
"SELECT * FROM events where d='26022015' and pmessage_type='attribution' limit 100") | |
results.map(t => "Name: " + t(0)).collect().foreach(println) | |
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 pandas as pd | |
def read_csv_from_qubole(p_file): | |
with open(p_file) as f: | |
columns = f.readline().strip().split('\t') | |
df = pd.read_csv(p_file, sep=chr(1), skiprows=[0], names=columns) | |
return df |
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
Usage: | |
qds [options] <CmdArgs|ClusterArgs|ReportArgs> | |
CmdArgs: | |
<hivecmd|hadoopcmd|prestocmd|pigcmd|shellcmd|dbexportcmd|dbtapquerycmd|sparkcmd> | |
<submit|run|check|cancel|getresult|getlog> [args .. ] | |
submit [cmd-specific-args .. ] : submit cmd & print id | |
run [cmd-specific-args .. ] : submit cmd & wait. print results |
NewerOlder