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://wordpress.org/latest.zip | |
unzip latest.zip | |
mv wordpress/* ./ | |
rm -rf wordpress latest.zip |
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://jsfiddle.net/7Lucfkg5/6/ | |
const Vehicle = function(name, sound) { | |
this.name = name | |
this.sound = sound | |
} | |
Vehicle.prototype.go = function() { | |
console.log(`${this.name} does the ${this.sound}`) | |
} |
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
sed -i -e 's/abc/XYZ/g' /tmp/file.txt |
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
[ | |
{ | |
"s2_cell_id": { | |
"low": 1073741824, | |
"high": 1093116151, | |
"unsigned": true | |
}, | |
"current_timestamp_ms": { | |
"low": 595677659, | |
"high": 342, |
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
sudo find ./ -type d -exec chmod 755 {} + | |
sudo find ./ -type f -exec chmod 644 {} + | |
sudo chmod -R u+rwX,go+rX,go-w ./ | |
sudo chown -R core:core ./ |
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
git subtree push --prefix=wp-content/plugins/wp-property-supermap [email protected]:wp-property/wp-property-supermap develop-rdc --squash |
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 | |
/* | |
* PHP Example for Google Storage Up- and Download | |
* with Google APIs Client Library for PHP: | |
* https://github.com/google/google-api-php-client | |
*/ | |
include( "Google/Client.php" ); | |
include( "Google/Service/Storage.php" ); |
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
<style> | |
#mc-embedded-subscribe { | |
background: #b0d26b none repeat scroll 0 0 !important; | |
border-bottom: 0 none !important; | |
float: left; | |
font-size: 14px !important; | |
height: 40px; | |
min-width: 20px !important; | |
opacity: 1; | |
padding: 0 !important; |
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
Warning: include(/var/www/wp-content/plugins/wp-stateless/vendor/google/apiclient/src/Google/Cache/File.php): failed to open stream: No such file or directory in /var/www/wp-content/plugins/wp-property-agents/vendor/composer/ClassLoader.php on line 412 Warning: include(): Failed opening '/var/www/wp-content/plugins/wp-stateless/vendor/google/apiclient/src/Google/Cache/File.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wp-content/plugins/wp-property-agents/vendor/composer/ClassLoader.php on line 412 Fatal error: Class 'Google_Cache_File' not found in /var/www/wp-content/plugins/wp-stateless/vendor/google/apiclient/src/Google/Client.php on line 612 |
NewerOlder