https://visualstudio.microsoft.com/thank-you-downloading-visual-studio-mac
https://dotnet.microsoft.com/download
Download .NET Core SDK
git remote add deploy-sit ssh://xxx@xxxxxx.sgvps.net:18765/home/your_username/public_html/test.yoursite.com/ | |
git push deploy-sit your_local_branch:master -f |
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
# https://github.com/phpseclib/phpseclib | |
use phpseclib\Crypt\RSA; | |
$update_cache_url = $_GET['url'] ?? $_GET['link'] ?? ''; | |
if( empty ($update_cache_url) || strpos($update_cache_url, 'https://www.sample.com.au/') === false ) { | |
die("Please provide a valid url, given: " . $update_cache_url); | |
} |
webgrind
: https://github.com/wodby/webgrindxdebug.profiler_enable_trigger=1
# track this file .gitignore (i.e. do NOT ignore it) | |
!.gitignore | |
# ignore compiled / system files | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so |
setInterval(() => {document.querySelector(".invitation-card__action-btn").click()} , 3000); |
<IfModule mod_security.c> | |
SecFilterEngine Off | |
SecFilterScanPOST Off | |
</IfModule> | |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] |
<?php | |
function prefix_add_amp_component_script( $data ) { | |
$data['amp_component_scripts']['amp-accordion'] = 'https://cdn.ampproject.org/v0/amp-accordion-0.1.js'; | |
return $data; | |
} | |
add_filter( 'amp_post_template_data', 'prefix_add_amp_component_script' ); |
rm -rf /Applications/Steam.app ~/Library/Application\ Support/Steam/ |
SetEnv DB_USER root | |
SetEnv DB_PASSWORD test | |
SetEnv DB_HOST db | |
###### All content of apache2.config | |
Listen 7001 | |
<VirtualHost *:7001> | |
DocumentRoot /var/www/html/api.local | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined |