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
{ | |
"version": "0.2.0", | |
"env": { | |
"godot_path": "Godot_v4.2.2-stable_mono_win64.exe" | |
}, | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "coreclr", | |
"request": "launch", |
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
void Main() | |
{ | |
int size = 6; | |
CheckBox[,] buttons = new CheckBox[size,size]; | |
Form myform = new Form(); | |
var layout = new TableLayoutPanel(); | |
myform.Controls.Add(layout); | |
layout.AutoSize = true; |
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
kubectl run --image=cassandra:3.11 --restart=Never --rm=true -it containername -- /bin/bash | |
---------------------------------- | |
/# cat /root/.cassandra/cqlshrc | |
[authentication] | |
username = <un> | |
password = <pwd> | |
[cql] |
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
# | |
# Set GH_ACCESS_TOKEN | |
# Update PullRequest(number: | |
# Update subjectId | |
# | |
import itertools | |
import os | |
import socket | |
import sys |
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
# Upgrade distributive and fix in case of failure. | |
# Run dist-upgrade from terminal, not from X system. | |
apt-get dist-upgrade | |
# Load from recovery, mount rootdevie as root. | |
apt-get --fix-broken install | |
# Restart, try dist-upgrade another time | |
# configure apt-get repos | |
vim /etc/apt/sources.list |
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
# build all binaries skipping docker images and running tests | |
./gradlew build -x rat -x javadoc -x test -x website -x docs -x sdist -x lintPy27 -x lintPy27_3 -x lintPy3 -x testWebsite -x spotlessJava -x goTest -x checkstyleMain -x buildDockerImage -x spotbugsMain -x checkstyleTest -x buildLocalWebsite -x goVet -x gofmt | |
# skip compiling java tests | |
-x compileTestJava -x shadowJar -x compileJava | |
# Build java worker jav (DF runner harness) | |
./gradlew :beam-runners-google-cloud-dataflow-java-fn-api-worker:build -x spotlessJava -x rat -x test | |
./gradlew :beam-runners-google-cloud-dataflow-java-fn-api-worker:shadowJar |
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
set autoindent | |
set tabstop=2 | |
set expandtab | |
set listchars=tab:»-,space:·,nbsp:␣,trail:•,precedes:«,extends:» | |
set list |
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 org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
private static final Logger LOG = LoggerFactory.getLogger(MultimapSideInput.class); | |
LOG.error("Some text here, stacktrace: {}", getStackTrace()); | |
private String getStackTrace() { | |
StackTraceElement[] trace = Thread.currentThread().getStackTrace(); | |
StringBuilder traceInfo = new StringBuilder(); | |
for (StackTraceElement stackItem : trace) { |
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
[remote "origin"] | |
url = [email protected]:Ardagan/beam.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
[remote "upstream"] | |
url = [email protected]:apache/beam.git | |
fetch = +refs/heads/master:refs/remotes/upstream/master | |
fetch = +refs/pull/*/head:refs/remotes/upstream/pr/* | |
fetch = +refs/pull/*/merge:refs/remotes/upstream/pull/* | |