:resize-window -A
:new -s
None of the previous saves are deleted (unless you explicitly do that). All save
files are kept in ~/.tmux/resurrect/
directory.
dependency-check.sh --enableExperimental --retirejsFilterNonVulnerable --disableAssembly --disableArchive --disableCmake --disableAutoconf --disableBundleAudit --disableRubygems --disablePyPkg --disablePyDist --disableCocoapodsAnalyzer --disableSwiftPackageManagerAnalyzer --disableComposer --cveValidForHours 24 --project angular-frontend --out public/owasp-dependency-check-report -s . | |
[INFO] Finished File Name Analyzer (0 seconds) | |
[INFO] Finished Node.js Package Analyzer (1 seconds) | |
[INFO] Finished Dependency Merging Analyzer (50 seconds) | |
[INFO] Finished Version Filter Analyzer (0 seconds) | |
[INFO] Finished Hint Analyzer (0 seconds) | |
[INFO] Created CPE Index (0 seconds) | |
[INFO] Finished CPE Analyzer (1 seconds) | |
[INFO] Finished False Positive Analyzer (0 seconds) |
docker build -t image-name . | |
docker run -it image-name /bin/bash | |
# stop all | |
docker stop $(docker ps -a -q) | |
# remove all | |
docker rm $(docker ps -a -q) |
// Custom Typings for Taiko - https://taiko.gauge.org/#/ | |
// Custom type definitions for Taiko 1.0.2 | |
declare module 'taiko' { | |
export type TaikoBrowserEvent = | |
| 'DOMContentLoaded' | |
| 'loadEventFired' | |
| 'networkAlmostIdle' | |
| 'networkIdle' | |
| 'firstPaint' |
CREATE DATABASE db CHARACTER SET utf8 COLLATE 'utf8_general_ci'; | |
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; | |
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, INDEX, DROP, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON db.* TO 'username'@'localhost'; | |
GRANT FILE ON *.* TO 'username'@'localhost'; |
gco master | |
git pull [email protected]:getgauge/taiko.git master | |
gco branch | |
gm master | |
# resolve conflicts | |
ga . | |
gcm "merged with master" | |
gp |
{"version":1,"resource":"file:///home/nuky/workspace/application/appserver/src/runtime/uiEngine/__tests__/uienginev3.spec.ts","entries":[{"id":"tc4Z.ts","source":"Fix all ESLint auto-fixable problems","timestamp":1650372563334},{"id":"xVgr.ts","source":"Fix all ESLint auto-fixable problems","timestamp":1650373365402},{"id":"TXTD.ts","source":"Fix all ESLint auto-fixable problems","timestamp":1650373391203},{"id":"I4Ze.ts","timestamp":1650375842181},{"id":"dJDC.ts","timestamp":1650375879715},{"id":"7Qo2.ts","timestamp":1650375902945},{"id":"sNXC.ts","timestamp":1650375947275},{"id":"Cf6g.ts","timestamp":1650375973805},{"id":"uy9R.ts","timestamp":1650375991510},{"id":"tCHj.ts","timestamp":1650376010063},{"id":"OGEq.ts","timestamp":1650382238870},{"id":"Ol3S.ts","timestamp":1650382289794},{"id":"KMkg.ts","timestamp":1650382306407},{"id":"58at.ts","timestamp":1650382342093},{"id":"aHFv.ts","source":"Fix all ESLint auto-fixable problems","timestamp":1650382408517},{"id":"uZzv.ts","source":"Fix all ESLint auto-fixa |
ssh-keygen -m PEM -t rsa -b 4096 -C "email" -f ~/.ssh/id_xxx | |
ssh-keygen -a 100 -m PEM -t ed25519 -f ~/.ssh/id_ed25519 -C "[email protected]" |
# backup the sources.list file ! | |
# backup | |
apt-mark showmanual > .installed_ubuntu_packages | |
# on another system | |
# restore sources.list file ! | |
xargs < .installed_ubuntu_packages apt-get install -y | |
ä old school way | |
# backup the sources.list file ! |
DO $$ DECLARE | |
namespace RECORD; | |
BEGIN | |
FOR namespace IN (SELECT s.nspname as schema from pg_catalog.pg_namespace s where nspname not in ('information_schema', 'pg_catalog', 'public', 'everest') and nspname not like 'pg_%') | |
LOOP | |
EXECUTE 'DROP SCHEMA IF EXISTS ' || quote_ident(namespace.schema) || ' CASCADE'; | |
END LOOP; | |
END $$; |