This file contains hidden or 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
| BEGIN:VCALENDAR | |
| VERSION:2.0 | |
| PRODID:www.sit.nrw | |
| BEGIN:VEVENT | |
| UID:6a5f71ab3adfd | |
| DTSTART:20260722T220000Z | |
| SEQUENCE:0 | |
| TRANSP:OPAQUE | |
| DTEND:20260723T220000Z | |
| SUMMARY:Gelbe Tonne / Gelber Sack |
This file contains hidden or 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
| default_language_version: | |
| python: python3.10 | |
| repos: | |
| - repo: https://github.com/asottile/pyupgrade | |
| rev: v3.19.0 | |
| hooks: | |
| - id: pyupgrade | |
| - repo: https://github.com/ecugol/pre-commit-hooks-django | |
| rev: v0.4.0 # Use the ref you want to point at | |
| hooks: |
This file contains hidden or 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
| function State() { | |
| this.actions = {}; | |
| this.subscriptions = []; | |
| this.history = []; | |
| } | |
| State.prototype.subscribe = function(element, action, callback) { | |
| this.subscriptions[action] = this.subscriptions[action] || []; | |
| this.subscriptions[action].push(function(data) { | |
| callback.apply(element, data); |
This file contains hidden or 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
| def _fetchImageSizes(self, images: list): | |
| TIMEOUT_CONNECT = 2 | |
| async def fetchImage(image: dict): | |
| ctx = ssl.create_default_context() | |
| ctx.set_ciphers('DEFAULT@SECLEVEL=0') | |
| ctx.check_hostname = False | |
| ctx.verify_mode = ssl.CERT_NONE | |
| timeout = aiohttp.ClientTimeout(total=TIMEOUT_CONNECT) |
This file contains hidden or 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
| git rev-list --objects --all \ | |
| | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \ | |
| | sed -n 's/^blob //p' \ | |
| | sort --numeric-sort --key=2 \ | |
| | cut -c 1-12,41- \ | |
| | $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest |
This file contains hidden or 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
| #!/bin/bash | |
| #set -x | |
| # Shows you the largest objects in your repo's pack file. | |
| # Written for osx. | |
| # | |
| # @see https://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
| # @author Antony Stubbs | |
| # set the internal field separator to line break, so that we can iterate easily over the verify-pack output |
This file contains hidden or 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
| <script language="Javascript1.1" type="text/javascript"> | |
| var ftClick = getRequestParameter('target',location.href); | |
| var ftExpTrack_3096092 = ""; | |
| var ftX = ""; | |
| var ftY = ""; | |
| var ftZ = ""; | |
| var ftOBA = 1; | |
| var ftContent = ""; | |
| var ftCustom = ""; | |
| var ft1920x1080_OOBclickTrack = ""; |
This file contains hidden or 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
| # first haproxy entry | |
| frontend fe-scalinglaravel | |
| bind *:80 | |
| acl letsencrypt-acl path_beg /.well-known/acme-challenge/ | |
| use_backend letsencrypt-backend if letsencrypt-acl | |
| default_backend test |
This file contains hidden or 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
| #!/bin/bash | |
| COOKIE_JAR="ab-cookie-jar" | |
| COOKIE_NAME="_myapp_session" | |
| USERNAME="foo@bar.com" | |
| PASSWORD="password" | |
| LOGIN_PAGE_URI="http://localhost:3000/users/sign_in" | |
| TEST_PAGE_URI="http://localhost:3000/dashboard" | |
| echo "Logging in and storing session id." |
This file contains hidden or 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
| openssl genrsa -des3 -out smime.key 4096 | |
| openssl req -new -key smime.key -out smime.csr | |
| openssl x509 -req -days 3650 -in smime.csr -CA ca.crt -CAkey ca.key -set_serial 1 -out smime.crt -addtrust emailProtection -addreject clientAuth -addreject serverAuth -trustout -extfile smime.cnf -extensions smime | |
| openssl pkcs12 -export -in smime.crt -inkey smime.key -out smime.p12 -chain -CAfile ca.crt |
NewerOlder