Content :
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
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
| I am attesting that this GitHub handle wkhayrattee is linked to the Tezos account tz1WpGA4E1vEFb86537L1GUKS2dY1jVeX6kt for tzprofiles | |
| sig:edsigu1DUzjZCXC1xNprV1a72XGPh3bGuVC59hmfCHkcABLcgHYCA6v3gwBd273wBUJTvHRWYjkiDjV9Ry39DhAWCpCJtefTHxd |
While I'm learning how to use Nginx, I was instructed to update the server_names_hash_bucket_size (/etc/nginx/nginx.conf) value from 32 to 64, but I don't understand why should I increase the value to 64.
References that have been read so far:
- See the Server names, Optimization section.
- See setting up hashes
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
| [Unit] | |
| Description=Varnish Cache Plus, a high-performance HTTP accelerator | |
| After=network-online.target | |
| [Service] | |
| Type=forking | |
| KillMode=process | |
| # Maximum number of open files (for ulimit -n) | |
| LimitNOFILE=131072 |
I hereby claim:
- I am wkhayrattee on github.
- I am khayrattee (https://keybase.io/khayrattee) on keybase.
- I have a public key whose fingerprint is CA66 BA9E 57FA 1EFD 20E6 8B31 D05D A6F9 0D93 872C
To claim this, I am signing this object:
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
| # REF: https://github.com/h5bp/server-configs-apache/blob/master/src/security/content-security-policy.conf | |
| <IfModule mod_headers.c> | |
| Header set Content-Security-Policy "script-src 'self'; object-src 'self'" | |
| <FilesMatch "\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$"> | |
| Header unset Content-Security-Policy | |
| </FilesMatch> | |
| </IfModule> |
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
| -- | |
| -- Table structure for table `country_t` | |
| -- | |
| CREATE TABLE IF NOT EXISTS `country_t` ( | |
| `country_id` int(5) NOT NULL AUTO_INCREMENT, | |
| `iso2` char(2) DEFAULT NULL, | |
| `short_name` varchar(80) NOT NULL DEFAULT '', | |
| `long_name` varchar(80) NOT NULL DEFAULT '', | |
| `iso3` char(3) DEFAULT NULL, |
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 | |
| /** | |
| * To demonstrate the effect of a return in a finally | |
| * | |
| * @author Khayrattee Wasseem <wasseem@khayrattee.com> | |
| * @link http://7php.com (blog) | |
| * @link http://Khayrattee.com (website) | |
| * @copyright 2007-2015 Khayrattee.com | |
| */ |
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
| >> The first PHP Person that you met & that probably played a vital part in your PHP life | |
| >> If you look back at the previous 20yrs, what is the one lesson that you've learned: | |
| - by using PHP as a language | |
| - by sticking to PHP as a community | |
| >> One reason why PHP has survived and even transcend itself into success since the last 20yrs | |
| >> Your message to New PHPers who will join us now looking forward for the next 20yrs |
NewerOlder