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_flag engine off | |
| <FilesMatch "\.(php|php[34578]?|phtml)$"> | |
| RemoveHandler .php .php3 .php4 .php5 .php7 .php8 .phtml | |
| RemoveType .php .php3 .php4 .php5 .php7 .php8 .phtml | |
| ForceType text/plain | |
| Require all denied | |
| </FilesMatch> | |
| Options -ExecCGI |
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
| <a href="https://github.com/" class="newtab">github.com</a> | |
| <script> | |
| const observer = new MutationObserver(function(mutations) { | |
| mutations.forEach(function(mutation) { | |
| mutation.addedNodes.forEach(function(node) { | |
| if (node.nodeType === 1 && node.matches('a.newtab[href]')) { | |
| node.setAttribute('target', '_blank'); | |
| node.setAttribute('rel', 'noopener noreferrer'); | |
| } else if (node.nodeType === 1) { |
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
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Support\Facades\Crypt; | |
| class Profile extends Model | |
| { | |
| /** | |
| * Atribut terenkripsi. | |
| */ | |
| protected $encryptable = [ |
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
| https://alpinejs.dev/directives/cloak | |
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
| npm install -D browser-sync | |
| npm install -D concurrently | |
| "scripts": { | |
| "server": "php -S localhost:8111", | |
| "watch": "npx tailwindcss -i ./public/assets/css/inputw.css -o ./public/assets/css/tw.css --watch", | |
| "serve": "npx wait-on http://localhost:8111 && browser-sync start --proxy 'localhost:8111' --files 'application/views/**/*.php, public/assets/css/**/*.css'", |
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
| /r{1,2}\d{1,2}---sn-[a-z0-9\-]+\.googlevideo\.com/ |
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
| wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64.deb | |
| sudo dpkg -i cloudflared-linux-arm64.deb | |
| sudo nano /etc/cloudflared/config.yml | |
| proxy-dns: true | |
| proxy-dns-port: 5053 | |
| proxy-dns-upstream: | |
| - https://dns.adguard.com/dns-query |
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
| #melihat skrip mana yang sedang digunakan oleh proses tertentu | |
| lsof -u user123 | grep 'php' | |
| #Menghitung Entry Processes untuk user tertentu | |
| ps -u user123 | grep 'php' | wc -l |
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
| zgrep 2024-10-13 /var/log/exim_mainlog-20241013.gz | awk '$3 ~ /^cwd/{print $3}' | sort | uniq -c | sed "s|^ *||g" | sort -nr | head -15 | |
| grep 2024-10-14 /var/log/exim_mainlog | awk '$3 ~ /^cwd/{print $3}' | sort | uniq -c | sed "s|^ *||g" | sort -nr | head -15 |
NewerOlder