suspend = y
, if you want that application waits the debbuger to start.
address = 5005
or number
, the remote debugger port.
java -jar:
env: | |
TERM: xterm-256color | |
window: | |
dimensions: | |
columns: 80 | |
lines: 24 | |
padding: | |
x: 2 |
" https://github.com/janko-m/vim-test | |
"------------------------------------ | |
let test#strategy = "dispatch" | |
let test#enabled_runners = ["groovy#maventest", "java#maventest"] | |
let g:test#groovy#maventest#defaultoptions = '-DfailIfNoTests=true -Dmaven.test.redirectTestOutputToFile=false' | |
let g:test#groovy#maventest#options = g:test#groovy#maventest#defaultoptions . ' -DargLine="' . $JAVA_OPTS . '"' | |
let g:test#groovy#maventest#executable = 'mw test' | |
function! TestCoverage() | |
unlet! g:test#last_command g:test#last_position g:test#last_strategy |
// Key.on('z', ['ctrl', 'cmd'], () => { | |
// const screen = Screen.main().flippedVisibleFrame(); | |
// const window = Window.focused(); | |
// if (window) { | |
// window.setTopLeft({ | |
// x: screen.x + (screen.width / 2) - (window.frame().width / 2), | |
// y: screen.y + (screen.height / 2) - (window.frame().height / 2) | |
// }); | |
// } |
FROM debian:latest | |
# Install basic dev packages | |
RUN apt-get clean && apt-get update && apt-get -y install --no-install-recommends \ | |
apt-utils \ | |
openssh-client \ | |
git \ | |
gnupg2 \ | |
dirmngr \ | |
iproute2 \ |
local status, bufferline = pcall(require, "bufferline") | |
if not status then | |
return | |
end | |
bufferline.setup({ | |
options = { | |
mode = "tabs", | |
numbers = "none", |
I frequently administer remote servers over SSH, and need to copy data to my clipboard. If the text I want to copy all fits on one screen, then I simply select it with my mouse and press CMD-C, which asks relies on m y terminal emulator (xterm2) to throw it to the clipboard.
This isn't practical for larger texts, like when I want to copy the whole contents of a file.
If I had been editing large-file.txt
locally, I could easily copy its contents by using the pbcopy
command:
$w.onReady(function () { | |
$w.onReady(()=>{ | |
let viewcounting = 0; //initiate viewportenter count | |
$w('#text1').onViewportEnter(() => { | |
viewcounting++; //increment viewport count by 1 on entry | |
if (viewcounting === 1) { //if statement to check if viewport entry count = 1 | |
let count = 0; //starting number | |
const endTime = 100; // ending number | |
const interval = 10; // speed of the count in ms |