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
{ | |
"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 [email protected] | |
// @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, |
class InputLayer extends Layer | |
constructor: (options={}) -> | |
options.html = "<input type='text' value=''>" | |
super options | |
@define "input", | |
get: -> | |
return @querySelector("input") | |
# Usage: | |
textField = new InputLayer | |
height: 40 |