I hereby claim:
- I am apogee on github.
- I am apogeek (https://keybase.io/apogeek) on keybase.
- I have a public key ASDDzNwiw2HefHJ5WMShzm2ivXs9Po7hN5A_Mjc5qJE6ngo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
Hi there...
I made this gists for my personal note as I keep on forgetting commands. Perhaps it may be useful for you too. Feel free to leave your comments.
Assume you already know the command to create tar gz archive. Here is the command to include a hidden file and exclude a list of files and folders.
$ tar -zcvf ../myfile.tar.gz * .one_hidden --exclude-from=../myexclude.list
<?php | |
/** | |
* I had to parse an XLSX spreadsheet (which should damn well have been a CSV!) | |
* but the usual tools were hitting the memory limit pretty quick. I found that | |
* manually parsing the XML worked pretty well. Note that this, most likely, | |
* won't work if cells contain anything more than text or a number (so formulas, | |
* graphs, etc ..., I don't know what'd happen). | |
*/ |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Ajax_uploader extends CI_Controller { | |
// ------------------------------------------------------------------------ | |
/** | |
* Array of allowed file extensions to upload. | |
* | |
* @var array |