This is the latest version of my CS:GO config. It is essentially a tweaked/modified version of Budi's Config.
Copy autoexec.cfg and buybinds.cfg to ./steamapps/common/Counter-Strike Global Offensive/csgo/cfg
| "extra": { | |
| "installer-paths": { | |
| "../../mu-plugins/{$name}/": ["type:wordpress-muplugin", "roots/soil"], | |
| "../../plugins/{$name}/": ["type:wordpress-plugin"] | |
| } | |
| }, |
This is the latest version of my CS:GO config. It is essentially a tweaked/modified version of Budi's Config.
Copy autoexec.cfg and buybinds.cfg to ./steamapps/common/Counter-Strike Global Offensive/csgo/cfg
| user www-data; | |
| worker_rlimit_nofile 1024; | |
| worker_processes 1; | |
| pid /var/run/nginx.pid; | |
| error_log /var/log/nginx/error.log; | |
| events { | |
| worker_connections 1024; |
| <?php | |
| namespace App; | |
| add_action('after_setup_theme', function() { | |
| $sage = sage('blade')->compiler(); | |
| /** | |
| * Create @asset() Blade directive | |
| */ |
| <?php | |
| namespace App; | |
| use function \Sober\Intervention\intervention; | |
| if (function_exists('Sober\Intervention\intervention')) { | |
| // Add Welcome Dashboard | |
| intervention('add-dashboard-item', [ | |
| 'Welcome', |
| <?php | |
| namespace App; | |
| use Samrap\Acf\Acf; | |
| /** | |
| * Shortcodes | |
| */ | |
| if (!class_exists('Shortcodes')) { |
| <?php | |
| namespace App; | |
| if (class_exists('TinyMCE')) { | |
| return; | |
| } | |
| /** | |
| * TinyMCE |
| <?php | |
| namespace App\Walker; | |
| use Roots\Soil\Nav\NavWalker as Soil; | |
| /** | |
| * Return if Soil does not exist. | |
| */ | |
| if (!class_exists('Roots\Soil\Nav\NavWalker')) { |
| (function() { | |
| tinymce.PluginManager.add('app', function(editor, url) { | |
| editor.addButton('app', { | |
| title: 'App', | |
| icon: 'app icon-example', | |
| type: 'menubutton', | |
| menu: [ | |
| { | |
| text: 'Shortcodes', | |
| menu: [ |
| #!/bin/bash | |
| backup=/home/backups | |
| echo Changing to /home... | |
| cd /home | |
| echo Backing up users webroot... | |
| mkdir -p $backup | |
| for dir in */; do |