I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
.home .clouds,.home .clouds2 { | |
background:url("https://assets.litmuscdn.com/images/next/index/cloud.svg"); | |
position:absolute; | |
z-index:1; | |
width:2000px; | |
-webkit-animation:clouds 60s linear infinite; | |
-moz-animation:clouds 60s linear infinite; | |
-o-animation:clouds 60s linear infinite; | |
opacity:0.15; | |
height:345px; |
dpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while read n;do apt-get -y remove $n;done | |
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')") |
PHP_FUNCTION(publicize) | |
{ | |
char *classname = NULL; | |
int classname_len; | |
ulong i; | |
char *str; | |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", | |
&classname, &classname_len) == FAILURE) { | |
return; |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
# to find out the configuration commands, run: h2o --help | |
user: www-data | |
hosts: | |
"example.com": | |
listen: | |
host: xx.xx.xx.xx | |
port: 443 |
packages: | |
fswebcam | |
motion | |
mencoder | |
avconv | |
fswebcam -r 640x480 -S 15 --flip h --jpeg 95 --shadow --title "SLB Labs" --subtitle "Home" --info "Monitor: Active @ 1 fpm" --save home.jpg -q -l 60 | |
function fish_prompt | |
if not set -q -g __fish_robbyrussell_functions_defined | |
set -g __fish_robbyrussell_functions_defined | |
function _git_branch_name | |
echo (git symbolic-ref HEAD ^/dev/null | sed -e 's|^refs/heads/||') | |
end | |
function _is_git_dirty | |
echo (git status -s --ignore-submodules=dirty ^/dev/null) |
alias tunnel='/home/stunt/sshuttle/sshuttle --dns -r [email protected] 0/0' | |
alias e='exit' | |
alias c='clear' | |
alias p='ping 4.2.2.3' | |
alias art='php artisan' | |
alias ga='git add' | |
alias gc='git commit -am' | |
alias desktop='cd ~/Desktop' | |
alias downloads='cd ~/Downloads' | |
alias documents='cd ~/Documents' |
@font-face{ | |
font-family:"Museo 100"; | |
font-weight:normal; | |
font-style:normal; | |
src:url("data:application/x-font-woff; | |
charset=utf-8; | |
base64,d09GRgABAAAAAGZ0ABMAAAAAvcQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABqAAAABwAAAAcXnt9LEdERUYAAAHEAAAALQAAADIC+wHsR1BPUwAAAfQAAAAgAAAAIGyRdI9HU1VCAAACFAAAAOcAAAGmYzVg9E9TLzIAAAL8AAAAUQAAAGCOTYuqY21hcAAAA1AAAAGZAAAB+tKuiJRjdnQgAAAE7AAAADAAAAAwCTsMh2ZwZ20AAAUcAAABsQAAAmVTtC+nZ2FzcAAABtAAAAAIAAAACAAAABBnbHlmAAAG2AAAVvAAAKeg085XJ2hlYWQAAF3IAAAAMwAAADYDQhPsaGhlYQAAXfwAAAAgAAAAJA6KBvNobXR4AABeHAAAAkMAAAOcxmhNf2xvY2EAAGBgAAABxAAAAdD8FycgbWF4cAAAYiQAAAAgAAAAIAIEAaNuYW1lAABiRAAAAXwAAAPCXG2H/3Bvc3QAAGPAAAAB5wAAAteGw2eqcHJlcAAAZagAAADEAAABRbzOliN3ZWJmAABmbAAAAAYAAAAGKzpSHQAAAAEAAAAAzD2izwAAAADD+v6jAAAAAM5C27l42mNgZGBg4ANiLQYQYGJgYWBkqALiaoZaIK+O4RGQ/ZjhGVgGJM8AAF3ZBOgAAAAAAQAAAAoAHAAeAAFsYXRuAAgABAAAAAD//wAAAAAAAHjatZDNSkJRFIW/c/1BLiIhmuAgHDkQEXVSryAIGqJk6OBiGMFFouusepWeoWFq+CxB5mvouoeDo6YO9lqbffZee+2DAXyqPGDCYLkgQ1IVDgdSIoNHQpXU/CWYUQmfHgOqURAuqUdRs0Vb2ObGdiYtYtG42RgTUspS4EpbGq6rR |
We are testing a simple controller from imaginable MVC framework.
<?php
class UserController extends AbtractController {
public function show($id)
{
$user = $this->db->find('users',$id);
if (!$user) return $this->render404('User not found');