I hereby claim:
- I am mahdyar on github.
- I am mahdyar (https://keybase.io/mahdyar) on keybase.
- I have a public key whose fingerprint is 0C45 1EE6 1812 7F21 271C 77ED 15DF CA00 8893 751D
To claim this, I am signing this object:
#!/bin/sh | |
TODO=~/.TODO | |
# The Path of The TODO-List | |
alias clt="rm -rf $TODO" # For make the List empty. | |
alias adt="echo '#'$1 >> $TODO" # For add an Item to the List. | |
# Displaying the List.. | |
if test -f "$TODO";then |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"net" | |
) | |
/************************************************************************* |
for appFolder in /Applications/*/ ; do | |
cd "$appFolder/Contents/MacOS/" 2> /dev/null | |
if [[ "$?" != 0 ]]; then continue; fi | |
for file in * ; do | |
if [ ! -d "$file" ] && [[ $file != *"."* ]]; then | |
architecture=$(file "$file") | |
if [[ $architecture != *"arm64"* ]]; then | |
echo "\"$file\" doesn't support arm64." |
<?php | |
namespace App\Rules; | |
use Illuminate\Contracts\Validation\Rule; | |
use Illuminate\Support\Facades\Route; | |
class AllowedUsername implements Rule | |
{ | |
/** |
<?php | |
function validateCardNumber($cardNumber) | |
{ | |
if (empty($cardNumber) || strlen($cardNumber) !== 16) { | |
return false; | |
} | |
$cardToArr = str_split($cardNumber); | |
$cardTotal = 0; | |
for ($i = 0; $i < 16; $i++) { |
wir(){ | |
NAME=$(sed 's/ /_/g' <<< "$@") | |
INITIAL=$(echo $NAME | head -c 1) | |
IMDB_ID=$(curl -ks "https://v2.sg.media-imdb.com/suggestion/$INITIAL/$NAME.json" | jq -r '.d[0].id') | |
LINK="https://wir31.site/${IMDB_ID}/" | |
curl -ks "$LINK" | lynx -dump -nonumbers -listonly -stdin | grep -e '.mkv' -e '.mp4' | grep 'http://' | |
} |
<?php | |
/* | |
* | |
* | |
* | |
* Developed by Mahdyar.me | |
* Contact: hi@mahdyar.me | |
* |
<?php | |
/* | |
* | |
* Customized add to cart button for WooCommerce | |
* © mahdyar.me (hasanpour@mahdyar.me) | |
* | |
* Add this to the end of your template's "functions.php" file (without "<?php" at the begining of this file) | |
* | |
*/ |