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/sh | |
| echo Disabling vpnagentd... | |
| sudo launchctl disable system/com.cisco.anyconnect.vpnagentd | |
| echo Tearing down vpnagentd... | |
| sudo launchctl bootout system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist | |
| echo Deactivating Cisco AnyConnect Socket Filter Extension... | |
| /Applications/Cisco/Cisco\ AnyConnect\ Socket\ Filter.app/Contents/MacOS/Cisco\ AnyConnect\ Socket\ Filter -deactivateExt |
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
| # MS SCEP & SE quarantined files decrypter | |
| # This script is a fork from quarantine.py from the cuckoosandbox project. | |
| # Also thanks to Jon Glass (https://jon.glass/quarantines-junk/) | |
| # Usage: quarantine.py <encryptedfile> | |
| # | |
| # Copyright (C) 2015 KillerInstinct, Optiv, Inc. (brad.spengler@optiv.com) | |
| # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org | |
| # See the file 'docs/LICENSE' for copying permission. | |
There are several ways to clone a repository from github. Similar from other providers, such as bitbucket, gitlab, etc.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
Mostly, we use
- http
- ssh
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
| ''' | |
| O'Meirrcy !!!! Download free ebooks from O'Reilly | |
| Usage: | |
| > git clone https://gist.github.com/Krazybug/1ae50814d25b0a1d862dfdf7161ee503 | |
| > mv 1ae50814d25b0a1d862dfdf7161ee503 omercy | |
| > cd omercy | |
| > pip install requests | |
| > pip install bs4 | |
| > python omercy.py |
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
| set -l data_status (curl -s https://iceportal.de/api1/rs/status) | |
| set -l data_trip (curl -s https://iceportal.de/api1/rs/tripInfo/trip) | |
| # next stop | |
| echo (echo $data_trip | jq -r '([ .trip.stops[] | select(.info.passed==false) ] | |
| | first).station.name') | |
| # train number | |
| echo (echo $data_trip | jq -r '"\(.trip.trainType)-\(.trip.vzn)"') | |
| # speed | |
| echo speed (echo $data_status | jq -r '"\(.speed) km/h"') |
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
| #!/usr/bin/env python3 | |
| ''' | |
| calisuck: index, filter-out smartly and download ebooks from Calibre open directories | |
| Installation: | |
| You need python 3.5 installed | |
| Download the file as a zip and unzip-it and get into the dir |
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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
- 13" Macbook Pro 3.3 GHz i7 (late 2016)
- Microsoft Surface Book (2016)
NewerOlder

