I hereby claim:
- I am arbelt on github.
- I am albertw (https://keybase.io/albertw) on keybase.
- I have a public key ASCBWZ3D7wuyMMGlT-Lz1hDrQ5BcRsuyy9kluIJ3Wiw-4wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
library(tidyverse) | |
library(stringi) | |
library(stringr) | |
df <- tibble::tribble( | |
~id, ~response, | |
1, "Paris to Berlin blah blah blah", | |
2, "Hello there stuff berlin London to Madrid berlini-Stuff Dover", | |
3, "Białystok to Port-au-Prince", | |
4, "I went to Saudi", |
diff --git a/contrib/storage-jdbc/src/main/java/org/apache/drill/exec/store/jdbc/JdbcStoragePlugin.java b/contrib/storage-jdbc/src/main/java/org/apache/drill/exec/store/jdbc/JdbcStoragePlugin.java | |
index ebff37173..16dc163c9 100755 | |
--- a/contrib/storage-jdbc/src/main/java/org/apache/drill/exec/store/jdbc/JdbcStoragePlugin.java | |
+++ b/contrib/storage-jdbc/src/main/java/org/apache/drill/exec/store/jdbc/JdbcStoragePlugin.java | |
@@ -90,6 +90,8 @@ public class JdbcStoragePlugin extends AbstractStoragePlugin { | |
source.setDriverClassName(config.getDriver()); | |
source.setUrl(config.getUrl()); | |
+ source.addConnectionProperty("defaultRowPrefetch", "200"); | |
+ |
## Super simple implementation of "optimus" algorithm. Easy and fast way to | |
## encrypt/decrypt numbers. To make it more user-friendly, the `.settings` | |
## function generates a prime number and mask from a supplied key string. This | |
## depends on a stable hash of the string, so it's probably a good idea to jot | |
## down the underlying numbers (prime and mask) in case something changes with | |
## the hash internals. You'll always be able to decrypt if you know the prime | |
## and mask. | |
library(digest) | |
library(gmp) |
#!/bin/bash | |
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user | |
killall Finder |
library(textreg) | |
library(tm) | |
library(dplyr) | |
library(wrapr) # for dot-pipe | |
df_mi <- df0 %.>% | |
filter(., !is.na(mostimportant)) | |
corp_mi <- df_mi %.>% | |
pull(., mostimportant) %.>% |
macOS has ncurses version 5.7 which doesn't ship the terminfo description for tmux. There're two ways that can help you to solve this problem.
Instead of tmux-256color
you can use screen-256color
, place this command into your ~/.tmux.conf
.
set-option -g default-terminal "screen-256color"
ctrl_table = { | |
sends_escape = true, | |
last_mods = {} | |
} | |
control_key_timer = hs.timer.delayed.new(0.15, function() | |
ctrl_table["send_escape"] = false | |
-- log.i("timer fired") | |
-- control_key_timer:stop() | |
end |