Open an ssl connection to site
openssl s_client -connect client-cert-missing.badssl.com:443
returns
.
.
.
---
! No Stories, Rooms, Contacts, Birthdays and Ads | |
facebook.com##div[data-pagelet=Stories] | |
facebook.com##div[data-pagelet=VideoChatHomeUnit] | |
facebook.com##div[data-pagelet=RightRail] | |
facebook.com##div[data-pagelet^="FeedUnit"]:has(a[aria-label="Sponsored"]) | |
facebook.com##div[data-pagelet^="FeedUnit"]:has(:has-text(Suggested for You)) |
Open an ssl connection to site
openssl s_client -connect client-cert-missing.badssl.com:443
returns
.
.
.
---
I was testing an application (parser.jar) and need to limit the resource used by the app (cpu/ram) and see how different implmenation behaves.
docker run --rm -p 9010:9010 -it --memory=3000MB --cpus="2" java:8-jdk bash -c " java \
-server \
-XX:+UseG1GC \
-XX:+UseStringDeduplication \
-XX:+ExitOnOutOfMemoryError \
-Xmx2g \
awk 'FNR==NR{a[NR]=$1;next}{ print $0 " + " a[FNR] " = " $0+a[FNR]}' total-time-317.log total-time-330.log |
node { | |
def rock | |
def branch | |
def commit | |
def nexussrv = "nexus.example.de" | |
def nexussrv_office = "${nexussrv}:8843" | |
def nexussrv_datacenter = "${nexussrv}:9843" |
From jenkins | |
USER root | |
RUN apt-get update && apt-get install -y vim nano zsh curl git sudo |
l=Bob\ Marley | |
d=/songs/$l | |
find "$d" -type f -iname "*.mp3" -exec ls '{}' + | |
find "$d" -type f -iname "*.mp3" -exec mid3v2 -D '{}' + | |
find "$d" -type f -iname "*.mp3" -exec mid3v2 --delete-frames=TALB,TCON,TPE1,TDRC,TIT2,AENC,ASPI,COMM,COMR,ENCR,EQU2,ETCO,GEOB,GRID,LINK,MCDI,MLLT,OWNE,PRIV,PCNT,POPM,POSS,RBUF,RVA2,RVRB,SEEK,SIGN,SYLT,SYTC,TBPM,TCOM,TCOP,TDEN,TDLY,TDOR,TDRL,TDTG,TENC,TEXT,TFLT,TIPL,TIT3,TKEY,TLAN,TLEN,TMCL,TMED,TMOO,TOAL,TOFN,TOLY,TOPE,TOWN,TPE3,TPE4,TPOS,TPRO,TPUB,TRSN,TRSO,TSOA,TSOP,TSOT,TSRC,TSSE,TSST,TXXX,UFID,USER,USLT,WCOM,WCOP,WOAF,WOAR,WOAS,WORS,WPAY,WPUB,WXXX '{}' + | |
find "$d" -type f -iname "*.mp3" -exec mid3v2 -l '{}' + | |
find "$d" -type f -iname "*.mp3" -exec id3tag --artist="$l" '{}' + | |
const async = require('async'); | |
let ob = { | |
'x': 8, | |
'y': 16 | |
} | |
function ci(callback) { | |
console.log('ci', this.x, this.y); | |
callback(null, 'berlin') |
git worktree add -b run-test-for-fix-bug-x ../fix-bug-x origin/fix-bug-x | |
rm -rf ../fix-bug-x && git worktree prune |
// func1 and func2 are synonyms | |
val func1 = (x: String) => "hello %s".format(x) | |
func1("world") | |
func1.apply("world") | |
val func2 = new Function1[String, String] { | |
def apply(x: String) = "hello %s".format(x) | |
} | |
func2("world") | |
func2.apply("world") |