sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install build-essential screenfetch zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
| <?php | |
| // WPRocket hook | |
| add_action( 'after_rocket_clean_domain', 'force_purge_cloudflare' ); | |
| // Clear cache of Cloudflare after WPRocket cleared his cache | |
| function force_purge_cloudflare() { | |
| $rocket_settings = get_option( 'wp_rocket_settings' ) ?: array(); | |
| if ( !$rocket_settings ) { | |
| return; |
| <?php | |
| // Get Lat / Long coordinates as separate values | |
| $latlong = array(); | |
| $str = '-28.0166667, 153.4'; | |
| preg_match_all( '/[-]?((((1[0-7][0-9])|([0-9]?[0-9]))\.(\d+))|180(\.0+)?)|(90(\.0+)?)/', $str, $matches ); | |
| if ( $matches && is_array( $matches ) ) { | |
| $matches = reset( $matches ); | |
| // Group values by 2 (sometimes we have more than 1 latlong in a cell) | |
| $latlong = is_array( $matches ) ? array_chunk( $matches, 2 ) : $matches; |
| { | |
| "api": { | |
| "CredentialUserData": { | |
| "__compat": { | |
| "mdn_url": "https://developer.mozilla.org/docs/Web/API/CredentialUserData", | |
| "support": { | |
| "chrome": { | |
| "version_added": "60" | |
| }, | |
| "chrome_android": { |
| <?xml version="1.0"?> | |
| <ruleset name="PilotIn"> | |
| <description>Pilot'In Coding Standards</description> | |
| <!-- To customize properties: --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Docs/ruleset.xml --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Extra/ruleset.xml --> |
| <?xml version="1.0"?> | |
| <ruleset name="PilotIn"> | |
| <description>Pilot'In Coding Standards</description> | |
| <!-- To customize properties: --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Docs/ruleset.xml --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Extra/ruleset.xml --> |
| <?xml version="1.0"?> | |
| <ruleset name="PilotIn"> | |
| <description>Pilot'In Coding Standards</description> | |
| <!-- To customize properties: --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Docs/ruleset.xml --> | |
| <!-- https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress-Extra/ruleset.xml --> |
| @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
| choco install firefox -y | |
| choco install googlechrome -y | |
| choco install adobereader -y | |
| choco install winrar -y | |
| choco install vlc -y | |
| choco install composer -y | |
| choco install ccleaner -y | |
| choco install vcredist140 -y | |
| choco install vscode -y |
| { | |
| "api": { | |
| "CredentialUserData": { | |
| "__compat": { | |
| "mdn_url": "https://developer.mozilla.org/docs/Web/API/CredentialUserData", | |
| "support": { | |
| "chrome": { | |
| "version_added": "60" | |
| }, | |
| "chrome_android": { |