Before:
$ proxmark3 /dev/cu.usbmodem14401
$ hf mf eload /Users/ray/Downloads/my-dump-file.eml
File /Users/ray/Downloads/my-dump-file.eml.eml not found or locked
After:
$ cd ~/Downloads
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "ERROR: Must be run with sudo" >&2 | |
| exit 1 | |
| fi | |
| if [[ -z "$1" || ! -f "$1" ]]; then | |
| echo "USAGE: $0 <disk_image_file>" >&2 | |
| exit 1 |
| { | |
| "version": 2, | |
| "rules": [ | |
| { | |
| "domain": [], | |
| "domain_suffix": [ | |
| "marvelsnap.com", | |
| "snapgametech.com", | |
| "bytegsdk.com", | |
| "byteoversea.com", |
| from PIL import Image | |
| import io | |
| import pasteboard | |
| pb = pasteboard.Pasteboard() | |
| pb_image = pb.get_contents(pasteboard.TIFF) | |
| if pb_image: | |
| image = Image.open(io.BytesIO(pb_image)) | |
| if image.mode == 'RGBA': | |
| image.load() |
| // ==UserScript== | |
| // @name Remove "People also search for" | |
| // @description Remove "People also search for" on Google | |
| // @namespace ray@rayps.com | |
| // @version 0.1.1 | |
| // @author Ray | |
| // @match https://*.google.com/search* | |
| // @match https://*.google.com.hk/search* | |
| // @icon https://www.google.com/s2/favicons?domain=google.com | |
| // ==/UserScript== |
Before:
$ proxmark3 /dev/cu.usbmodem14401
$ hf mf eload /Users/ray/Downloads/my-dump-file.eml
File /Users/ray/Downloads/my-dump-file.eml.eml not found or locked
After:
$ cd ~/Downloads
| # https://github.com/zimfw/git-info | |
| # Requires the `git-info` zmodule to be included in the .zimrc file. | |
| if (( ! ${+MAGENTA} )) typeset -g MAGENTA=magenta | |
| if (( ! ${+YELLOW} )) typeset -g YELLOW=yellow | |
| if (( ! ${+GREEN} )) typeset -g GREEN=green | |
| if (( ! ${+CYAN} )) typeset -g CYAN=cyan | |
| if (( ! ${+RED} )) typeset -g RED=red | |
| if (( ! ${+BLUE} )) typeset -g BLUE=blue | |
| if (( ! ${+BLACK} )) typeset -g BLACK=black |
| extension CGFloat { | |
| func modulate(from: [CGFloat], to: [CGFloat], limit: Bool) -> CGFloat { | |
| let result = to[0] + (((self - from[0]) / (from[1] - from[0])) * (to[1] - to[0])) | |
| return limit ? [[result, to.min()!].max()!, to.max()!].min()! : result | |
| } | |
| } |
https://http.kali.org/kali/pool/non-free/b/broadcom-sta/
Download the latest broadcom-sta-dkms_XXXXXXXXXXXXXXX_all.deb from the link above
For example:
$ wget http://http.kali.org/kali/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-24_all.deb
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| if let url = URL(string: "http://captive.apple.com/generate_204") { | |
| URLSession.shared.dataTask(with: url).resume() | |
| } | |
| } |
| let gradient = CAGradientLayer() | |
| gradient.colors = [ | |
| UIColor.black.cgColor, | |
| UIColor.black.cgColor, | |
| UIColor.clear.cgColor | |
| ] | |
| gradient.locations = [ | |
| 0, |