Useful for mobile and card number validation with specific format
(((\+91)+(\d{5}|\s){4})|((\d{5}|\s){3}))
- will validate phone number with +91 12345 67890
or 12345 67890
# A basic script for uninstalling app packages in Windows 10/11, including those pre-installed with Windows | |
# | |
# Note: If you get an error about the script not being allowed to run, the below command will change the execution polciy temporarily for one session only: | |
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process | |
# | |
# To execute the script, open a Powershell window to the directory with the script and run the following command using your scripts file name (and don't forget the .\ ) | |
# .\WhateverScriptName.ps1 | |
# ------------------------------------------------------------------------------------------- | |
# Script by ThioJoe - https://github.com/ThioJoe | |
#!/bin/sh | |
# https://gist.github.com/nferocious76/c2809304e99478e2d5d4d13b7b44e9b7 | |
PORT=4502 | |
NAME="author" | |
FILE="aem-author-p4502.jar" | |
# find and kill active instance on port $PORT | |
INSTANCE=$(netstat -vanp tcp | grep $PORT) |
To create an alias, use alias ALIAS_NAME="ALIAS_VALUE"
:
alias ll="ls -al"
To remove the alias, use the unalias
command:
unalias ll
192.168.0.0/16
172.16.0.0/12
10.0.0.0/8
Calculator: click here
sysctl net | grep net.inet.tcp | egrep -i "cubic|reno"
net.inet.tcp.cubic_sockets: 36 net.inet.tcp.newreno_sockets: 0 net.inet.tcp.use_newreno: 0 net.inet.tcp.cubic_fast_convergence: 0 net.inet.tcp.cubic_minor_fixes: 1 net.inet.tcp.cubic_rfc_compliant: 1 net.inet.tcp.cubic_tcp_friendliness: 0 net.inet.tcp.cubic_use_minrtt: 0
hotfix/?
, patch/?
or from release/?
for final live builddevelop
- means this branch will not be in sync with develop, but its changes (hotfix) will always be synched back to develop
#!/bin/bash | |
# https://firebase.googleblog.com/2017/01/debugging-firebase-cloud-messaging-on.html | |
# https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html#//apple_ref/doc/uid/TP40008194-CH11-SW1 | |
# https://developer.apple.com/videos/play/wwdc2016/724/ | |
clear | |
echo | |
echo "------ Debug start ------" | |
echo |