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
| ### Keybase proof | |
| I hereby claim: | |
| * I am cmejo on github. | |
| * I am cmejo (https://keybase.io/cmejo) on keybase. | |
| * I have a public key ASDP1uYo3rZyvg8Wdvm-wnjR4jjQSDZEY71KRS6htFl-IQo | |
| 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
| ASP.sublime-package | |
| ActionScript.sublime-package | |
| AppleScript.sublime-package | |
| Batch File.sublime-package | |
| C#.sublime-package | |
| C++.sublime-package | |
| CSS.sublime-package | |
| Clojure.sublime-package | |
| Color Scheme - Default.sublime-package | |
| D.sublime-package |
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
| # Default backend definition. Set this to point to your content server. | |
| # | |
| backend default { | |
| .host = "127.0.0.1"; | |
| .port = "8080"; | |
| .connect_timeout = 600s; | |
| .first_byte_timeout = 600s; | |
| .between_bytes_timeout = 600s; | |
| } |
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
| #Drupal specific rewriting configuration | |
| location / { | |
| try_files $uri $uri/ /index.php?q=$uri&$args; | |
| } | |
| # pass php requests to php-fpm # make sure you have php5-fpm installed, if you're using fastcgi, tell me and i'll give you fpm configs and we'll switch php to fpm as it's faster and more secure | |
| location ~ \.php$ { | |
| # Connect via socket not TCP | |
| #fastcgi_pass unix:/var/run/php-fpm/phpsock.sock; # verify where the socket is on centos, google for an answer |
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
| # drupal 7 nginx vhost configuration | |
| server { | |
| server_name boncera.com; # change obviously | |
| rewrite ^ http://www.boncera.com$request_uri? permanent; # this makes it so whether the user types in www or non-www it redirects always to www and is SEO approved | |
| } | |
| server { | |
| listen 80; | |
| server_name www.boncera.com; # change the domain name obviously |
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 | |
| usage: sudo -h | -K | -k | -V | |
| usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user] | |
| usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command] | |
| usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] | |
| [VAR=value] [-i|-s] [<command>] | |
| usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file | |
| ... |
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
| # This is a basic VCL configuration file for varnish. See the vcl(7) main page for details on VCL syntax and semantics. | |
| # | |
| # Default backend definition. Set this to point to your content server. | |
| # | |
| backend default { | |
| .host = "127.0.0.1"; | |
| .port = "8080"; | |
| .connect_timeout = 600s; | |
| .first_byte_timeout = 600s; | |
| .between_bytes_timeout = 600s; |
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
| extension=apc.so | |
| apc.enabled=1 | |
| apc.shm_segments=1 | |
| ;could go down to 32M, 128M is rather high but we have the memory for it | |
| apc.shm_size=128M | |
| apc.cache_by_default=1 | |
| apc.stat=0 | |
| apc.ttl=0 |
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
| <ul id="menu-main-menu" class="sidemenu"><li id="menu-item-173" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-173"><a href="http://informant.example.com/archive/">Archive</a></li> | |
| <li id="menu-item-148" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-148"><a href="/bills-blog/">Bill’s Blog</a></li> | |
| <li id="menu-item-149" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-149"><a href="/submit-a-post">Submit a Post</a></li> | |
| </ul> </div> |
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
| nav .menu li a{ | |
| font-family: 'Gotham-Light','Arial',sans-serif; | |
| font-weight:normal !important; | |
| margin:0 10px; | |
| padding: 30px 6px; | |
| display: inline-block; | |
| font-size: 13px; | |
| text-transform:uppercase; | |
| color: #FFF; | |
| opacity: 0.8; |
NewerOlder