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 -n kadalu get pods | |
NAME READY STATUS RESTARTS AGE | |
kadalu-csi-nodeplugin-vx5qk 0/3 ContainerCreating 0 2m55s | |
operator-6c7c7b5797-zjl2p 0/1 CrashLoopBackOff 4 (80s ago) 2m55s | |
~ | |
❯ kubectl -n kadalu logs operator-6c7c7b5797-zjl2p | |
exec /kadalu/bin/python3: exec format error | |
~ |
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
#!/usr/bin/env python | |
import json | |
from datetime import datetime | |
print("Parsing input data...") | |
records = json.load(open("./Takeout/Location History/Records.json"))['locations'] | |
print("Done.") | |
def convert_conn(record): |
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
FROM node:16-alpine as build | |
WORKDIR /tmp | |
COPY . . | |
RUN npm ci && npm run build | |
FROM node:16-alpine | |
WORKDIR /usr/src/app | |
COPY --from=build /tmp/dist ./dist | |
COPY --from=build /tmp/docker/run.sh ./run.sh | |
COPY --from=build /tmp/package.json ./package.json |
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
vagrant@master-1:~$ sudo journalctl -u kube-scheduler --since=-10m | |
-- Logs begin at Thu 2020-06-25 17:21:59 UTC, end at Mon 2182-11-11 20:15:42 UTC. -- | |
Jun 28 16:00:34 master-1 systemd[1]: Started Kubernetes Scheduler. | |
Jun 28 16:00:35 master-1 kube-scheduler[835]: I0628 16:00:35.309830 835 flags.go:33] FLAG: --add-dir-header="false" | |
Jun 28 16:00:35 master-1 kube-scheduler[835]: I0628 16:00:35.310257 835 flags.go:33] FLAG: --address="127.0.0.1" | |
Jun 28 16:00:35 master-1 kube-scheduler[835]: I0628 16:00:35.310271 835 flags.go:33] FLAG: --algorithm-provider="" | |
Jun 28 16:00:35 master-1 kube-scheduler[835]: I0628 16:00:35.310275 835 flags.go:33] FLAG: --alsologtostderr="false" | |
Jun 28 16:00:35 master-1 kube-scheduler[835]: I0628 16:00:35.310278 835 flags.go:33] FLAG: --authentication-kubeconfig="" | |
Jun 28 16:00:35 master-1 kube-scheduler[835]: I0628 16:00:35.310281 835 flags.go:33] FLAG: --authentication-skip-lookup="false" | |
Jun 28 16:00:35 master-1 kube-scheduler[835]: I0628 16:00:35.310287 |
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
Homebrew build logs for weechat on Mac OS X 10.10.5 | |
Build date: 2016-04-25 13:51:39 |
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
$ cat /tmp/myfile | |
# blah | |
#acl_smtp_predata = daily_limit_acl | |
#acl_not_smtp = daily_limit_acl | |
more blah | |
$ salt-call --local file.uncomment /tmp/myfile 'acl_(smtp_predata|not_smtp) = daily_limit_acl' | |
local: | |
--- | |
+++ |
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
// ==UserScript== | |
// @name HSBC Personal - Human friendly account names | |
// @namespace http://github.com/skrobul | |
// @version 0.2 | |
// @description This scripts adds user-friendly names for your HSBC accounts. It can help with managing multiple accounts. | |
// @author skrobul <[email protected]> | |
// @match https://www.services.online-banking.hsbc.co.uk/* | |
// @grant none | |
// ==/UserScript== |
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
~/devel/zenoss_client(vcr-cassette-name-ruby19 ✔) bundle --version | |
Bundler version 1.7.6 | |
~/devel/zenoss_client(vcr-cassette-name-ruby19 ✔) rvm use 1.9.3 | |
Using /Users/skrobul/.rvm/gems/ruby-1.9.3-p551 | |
~/devel/zenoss_client(vcr-cassette-name-ruby19 ✔) export BUNDLE_GEMFILE=$PWD/Gemfile | |
~/devel/zenoss_client(vcr-cassette-name-ruby19 ✔) ruby --version | |
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin14.0.0] | |
~/devel/zenoss_client(vcr-cassette-name-ruby19 ✔) rvm --version | |
rvm 1.26.11 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] | |
~/devel/zenoss_client(vcr-cassette-name-ruby19 ✔) bundle --version |
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
Timing application.allwindows | |
application.allwindows time for loginwindow: 0.000263 | |
application.allwindows time for Dock: 0.000052 | |
application.allwindows time for SystemUIServer: 0.000289 | |
application.allwindows time for Spotlight: 0.000252 | |
application.allwindows time for com.apple.dock.extra: 0.000199 | |
application.allwindows time for sharingd: 0.000120 | |
application.allwindows time for Seil: 0.000228 | |
application.allwindows time for Karabiner: 0.000231 |
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
HOME = . | |
RANDFILE = $ENV::HOME/.rnd | |
oid_section = new_oids | |
[ new_oids ] | |
tsa_policy1 = 1.2.3.4.1 | |
tsa_policy2 = 1.2.3.4.5.6 |
NewerOlder