- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
| #!/bin/bash | |
| # backup_mysql_db.sh | |
| # This script backs up each MySQL/MariaDB database into its own file daily. | |
| # The backups are stored in /var/backups/mysql/<database_name>/<database_name>_<date_time>.sql | |
| # Backups older than 30 days are automatically deleted. | |
| # | |
| # Author: Ph33nx | |
| # GitHub: https://github.com/ph33nx | |
| # |
| :: ################################################################ | |
| :: ## 🔥 WinMasterBlocker 🔥 # | |
| :: ################################################################ | |
| :: # Author: https://github.com/ph33nx # | |
| :: # Repo: https://github.com/ph33nx/WinMasterBlocker # | |
| :: # # | |
| :: # This script blocks inbound/outbound network access # | |
| :: # for major apps like Adobe, Autodesk, Corel, Maxon, # | |
| :: # and more using Windows Firewall. # | |
| :: # # |
| <IfModule mod_negotiation.c> | |
| Options -MultiViews | |
| </IfModule> | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] | |
| </IfModule> |
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
$ch = curl_init();
$headers = array();
$headers[] = "Authorization: Bearer " . $apiToken;
//$headers[] = "Content-Type: multipart/form-data"; // ERROR: no uses esta cabecera. Si $post es un array, la cabecera se añade automáticamente. Si se añade manualmente, me ha pasado que el boundary o el base64 se genera mal.
$cfile = new \CURLFile($fileNameWithFullPath);
//$post = array($fieldName => '@/tmp/phpDT8j'); // ERROR: no uses '@'. Genera errores en el base64. Desde PHP 5.5 está obsoleto. En su lugar usar CURLFile.| <?php | |
| //class docs: http://www.orderingdisorder.com/aws/ses/ | |
| require_once('ses.php'); | |
| //get credentials at http://aws.amazon.com My Account / Console > Security Credentials | |
| $ses = new SimpleEmailService('ACCESSkeyID', 'SECRETaccessKEY', 'eu-west-1', 'email.eu-west-1.amazonaws.com'); | |
| //print_r($ses->listVerifiedEmailAddresses()); |
** Listar y ordenar por tamaño Linux **
du -sh * | sort -h
** Listar y ordenar por tamaño NuShell**
ls -d | sort-by size -r
Buscar archivos con cierta ext:
Checar el tamaño de carpetas:
du -h --max-depth=1
Elimina error_log:
find -name "error_log" -exec rm -f '{}' \;
Mueve archivos a otra carpeta:
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| <canvas id="myChart" width="400" height="100"></canvas> | |
| <script src="/js/Chart.min.js"></script> | |
| <script> | |
| $(function () { | |
| var ctx = document.getElementById("myChart").getContext("2d"); | |
| // examine example_data.json for expected response data | |
| var json_url = "example_data.json"; | |
| // draw empty chart |