Skip to content

Instantly share code, notes, and snippets.

@jbauers
jbauers / IS24.sh
Created December 5, 2019 07:03
ImmobilienScout 24 results
#!/usr/bin/env bash
bundesland=''
ort=''
url="https://www.immobilienscout24.de/Suche/de/${bundesland}/${ort}/wohnung-kaufen?sorting=2&pagenumber="
for i in {1..2}
do
curl "${url}${i}" | grep "resultListModel" | cut -d':' -f2- | jq \

Keybase proof

I hereby claim:

  • I am jbauers on github.
  • I am jbauers (https://keybase.io/jbauers) on keybase.
  • I have a public key ASBEabRGjJWuvsNQFp7MqLyGQXfHITTdiPaF5WaX-xJXhwo

To claim this, I am signing this object:

FROM alpine:latest
# Sudo to emulate OS behavior
RUN apk --update add ca-certificates \
openssl \
sudo
RUN apk --update add --virtual build-dependencies \
python3-dev \
libffi-dev \
@jbauers
jbauers / dev_signed_cert.sh
Created March 7, 2019 20:28 — forked from dobesv/dev_signed_cert.sh
Script to create (1) a local certificate authority, (2) a host certificate signed by that authority for the hostname of your choice
#!/usr/bin/env bash
#
# Usage: dev_signed_cert.sh HOSTNAME
#
# Creates a CA cert and then generates an SSL certificate signed by that CA for the
# given hostname.
#
# After running this, add the generated dev_cert_ca.cert.pem to the trusted root
# authorities in your browser / client system.
#
@jbauers
jbauers / hp1920-get-config.sh
Created August 22, 2018 13:20 — forked from atiti/hp1920-get-config.sh
Download running config from a HP 1920S switch
#!/bin/bash
#
# Simple script to download the running configuration from the HP 1920S switch
# through the HTTP "APIs"
#
# Run it as:
# $ ./hp1920-getconfig.sh --host="10.1.2.3" --user="admin" --pass="hello" --file=startup-config
#
# Attila Sukosd <attila@airtame.com>
#