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.
| # Send SMS messages using Raspberry Pi. | |
| # Using gammu and Huawei E220 | |
| # Prepare SD card with wheezy. | |
| # Login / complete rasp-config / reboot / login | |
| # Set vimrc to prevent annoying ADBC arrow keys | |
| cp /etc/vim/vimrc ~/.vimrc |
| This worked like a charm for build 2217 on Mac OS X 10.6.8! | |
| using vim: | |
| 1. edit file ->> "vim Sublime\ Text\ 2" | |
| 2. change to hex mode ->> ":$!xxd" | |
| 3. find and replace ->> ":%s/5BE509C33B020111/5BE509C32B020111/g" | |
| or as said here using "sed 's/5BE509C33B020111/5BE509C32B020111/g' Sublime\ Text\ 2" | |
| Then use the license key |
| <?php | |
| $var = NULL "" 0 "0" 1 | |
| strlen($var) = 0 0 1 1 1 | |
| is_null($var) = TRUE FALSE FALSE FALSE FALSE | |
| $var == "" = TRUE TRUE TRUE FALSE FALSE | |
| !$var = TRUE TRUE TRUE TRUE FALSE | |
| !is_null($var)= FALSE TRUE TRUE TRUE TRUE | |
| $var != "" = FALSE FALSE FALSE TRUE TRUE | |
| $var = FALSE FALSE FALSE FALSE TRUE |
| #!/usr/bin/php | |
| <?php | |
| /* | |
| * Convert JSON file to CSV and output it. | |
| * | |
| * JSON should be an array of objects, dictionaries with simple data structure | |
| * and the same keys in each object. | |
| * The order of keys it took from the first element. | |
| * | |
| * Example: |
| #!/bin/bash | |
| # Usage: slackpost <token> <channel> <message> | |
| # Enter the name of your slack host here - the thing that appears in your URL: | |
| # https://slackhost.slack.com/ | |
| slackhost=PUT_YOUR_HOST_HERE | |
| token=$1 |
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.
Other people's projects:
My projects (tutorials are on my blog at http://maxoffsky.com):
| //============================================================================== | |
| // Casper generated Tue Feb 04 2014 16:17:45 GMT+0100 (CET) | |
| //============================================================================== | |
| var x = require('casper').selectXPath; | |
| casper.options.viewportSize = {width: 1855, height: 993}; | |
| casper.test.begin('Resurrectio test', function(test) { | |
| casper.start('http://en.wikipedia.org/wiki/Main_Page'); | |
| casper.waitForSelector(x("//*[contains(text(), \'Welcome\')]"), | |
| function success() { |
| <?php | |
| curl_setopt_array( | |
| $chpush = curl_init(), | |
| array( | |
| CURLOPT_URL => "https://new.boxcar.io/api/notifications", | |
| CURLOPT_POSTFIELDS => array( | |
| "user_credentials" => 'ACCESS_TOKEN', | |
| "notification[title]" => 'message title', | |
| "notification[long_message]" => '<b>Some text or HTML for the full layout page notification</b>', |