Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000source: https://savedlog.com/uncategorized/letsencrypt-ssl-certificate-namecheap-hosting/
The “Positive SSL” certificate I bought along with my domain is invalid with any of my subdomains and cannot be used with wildcards. One annoying thing is that namecheap doesn’t offer auto installation of free let’s encrypt certificates, even though, they are saying “Namecheap is dedicated to data security and privacy for all internet users. We believe the movement to encrypt nearly all web traffic is a positive direction. As more sites embrace HTTPS and use of security products, providers of free SSL are beginning to come online.”
Let me show you what it needs to be done in order to “encrypt nearly all web traffic”.
First, not required but it’s helpful to enable ssh access, it is not enabled by default on the base hosting plans, just go an start a live chat and request ssh access.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.0</real> |
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
| function getLatestPostHomepage() { | |
| global $post; | |
| $args = array( 'numberposts' => 1 ); | |
| $latestposts = get_posts($args); | |
| foreach ($latestposts as $post) { | |
| setup_postdata($post); | |
| echo the_title("<h2>","</h2>"); | |
| echo the_content(); | |
| } | |
| wp_reset_postdata(); |
| ul { | |
| padding-left: 15px; | |
| text-indent: -15px; | |
| } | |
| li { | |
| &:before { | |
| /* replacement bullet here */ | |
| } | |
| } |
| <?php | |
| /* | |
| Template Name: Master Archives Page | |
| */ | |
| ?> | |
| <?php get_header(); ?> | |
| <article class="archive-list"> |
| <canvas id = "c" > </canvas> | |
| <p> | |
| Tear the cloth with your mouse.<br><br> | |
| Right click and drag to cut the cloth.<br><br> | |
| Reduce physics_accuracy if it's laggy, increase it for a better effect. | |
| </p> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
| <meta name="viewport" content="width=device-width,user-scalable=no, scale=1, maximum-scale=1.0" /> |
| /* ---------------------------------------------------------- */ | |
| /* */ | |
| /* A media query that captures: */ | |
| /* */ | |
| /* - Retina iOS devices */ | |
| /* - Retina Macs running Safari */ | |
| /* - High DPI Windows PCs running IE 8 and above */ | |
| /* - Low DPI Windows PCs with IE zoomed in */ | |
| /* - Android hdpi devices and above */ | |
| /* - Android tvdpi devices, including Google Nexus 7 */ |