^(\+98|0)?9\d{9}$
Discover gists
This file contains 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, we need to find our device. BEFORE inserting your USB drive, run the | |
# following: | |
diskutil list | |
# This will output a bunch of info about all of the disk drives connected to | |
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is | |
# some number starting at 0. Now, insert your USB drive and run the command | |
# again. You should see a new entry. Make note of the name (ie, /dev/diskX). | |
diskutil list |
This file contains 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
-- Remove Duplicate Message v2.1 | |
-- An Applescript based on code by Barry Wainwright, 15th October 2010 | |
-- Detects and deletes duplicate messages within a selected folder | |
-- works on Message-ID header - uniquely identifying duplicates | |
-- Version History | |
-- v1.0 - 2002-03-18: First Release (For Microsoft Entourage) | |
-- v2.0 - 2010-10-07: modified to work with Microsoft Outlook for Mac | |
-- v2.1 - 2010-10-15: added final dialog to summarise messages removed | |
-- v2.2 - 2019-10-05: Added progress bar. (Sam Price) |
This file contains 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
# https://pure.tue.nl/ws/files/1613279/9901043.pdf | |
#http://car.france3.mars.free.fr/Formation%20INA%20HD/HDTV/HDTV%20%202007%20v35/SMPTE%20normes%20et%20confs/Contrastm.pdf | |
# %% | |
from __future__ import division | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from colour.utilities import as_float_array | |
from colour.plotting import colour_style, plot_single_function |
This file contains 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
"string" // [Mandatory] || Mojangson string representation of a Compound Tag -- See https://github.com/aramperes/Mojangson for spec | |
OR | |
Object // [Mandatory] || Object representation of a Compound Tag, which is just write a JSON object that maps to your desired nbt. | |
// A string representation of CompoundTag implies -> "nbt": "{Data:0}" | |
// The object representation implies -> "nbt": { "Data": 0 } | |
// Either form is valid, and the object form is easier. |
This file contains 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
/* Android ssl certificate pinning bypass script for various methods | |
by Maurizio Siddu | |
Run with: | |
frida -U -f <APP_ID> -l frida_multiple_unpinning.js [--no-pause] | |
*/ | |
setTimeout(function() { | |
Java.perform(function() { | |
console.log(''); |
Command:
$ fastboot help
Output:
usage: fastboot [OPTION...] COMMAND...
flashing:
This file contains 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 --login | |
# Downloads and installs a .dmg from a URL | |
# | |
# Usage | |
# $ dmginstall [url] | |
# | |
# For example, for installing wireshark version 3.0.2 | |
# $ dmginstall https://1.na.dl.wireshark.org/osx/Wireshark%203.0.2%20Intel%2064.dmg | |
# or for firefox version 68.0 |
NewerOlder