This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"net" | |
) | |
/************************************************************************* |
This file contains hidden or 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
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." |
This file contains hidden or 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
addEventListener("fetch", (event) => { | |
event.respondWith(handleRequest(event)); | |
}); | |
let data = { | |
ok: false, | |
}; | |
async function handleRequest(event) { | |
if (event.request.method == "POST") { | |
let body = await event.request.json(); | |
if (body.url && body.title && body.telemark_code) { |
This file contains hidden or 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
<?php | |
namespace App\Rules; | |
use Illuminate\Contracts\Validation\Rule; | |
use Illuminate\Support\Facades\Route; | |
class AllowedUsername implements Rule | |
{ | |
/** |
This file contains hidden or 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
<?php | |
// It's better to be exported as an environment variable or in a .env file. | |
define("SECRET", "<SECRET>"); | |
$body = file_get_contents("php://input"); | |
// $decodedBody = json_decode(urldecode($body)); | |
if (verifySignature($body) !== false) { | |
// verified |
This file contains hidden or 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
aaxar | |
abadaleh | |
abazar | |
abbas | |
abbasali | |
abbasi | |
abdolali | |
abdolamir | |
abdolghani | |
abdolhamid |
This file contains hidden or 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
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://' | |
} |
This file contains hidden or 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
name: Deploy to cPanel | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
FTP-Deploy-Action: | |
name: FTP-Deploy-Action | |
runs-on: ubuntu-latest | |
steps: |
This file contains hidden or 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
<?php | |
/* | |
* | |
* | |
* | |
* Developed by Mahdyar.me | |
* Contact: [email protected] | |
* |
OlderNewer