When uploading multiple files, the $_FILES
variable is created in the form:
Array
(
[name] => Array
(
[0] => foo.txt
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
## SOURCE: xe.com | |
--> | |
<currency-symbol count="115"> | |
<entry code="ALL" unicode-decimal="76, 101, 107" unicode-hex="4c, 65, 6b">Albania Lek</entry> | |
<entry code="AFN" unicode-decimal="1547" unicode-hex="60b">Afghanistan Afghani</entry> | |
<entry code="ARS" unicode-decimal="36" unicode-hex="24">Argentina Peso</entry> | |
<entry code="AWG" unicode-decimal="402" unicode-hex="192">Aruba Guilder</entry> | |
<entry code="AUD" unicode-decimal="36" unicode-hex="24">Australia Dollar</entry> |
Strongly opinionated set of guides to quickly setup OS X Mavericks for web development. By default OS X hides stuff that normal people don't need to see. These settings are better defaults for developers.
I don't want: any sounds, annoying confirmation dialogs, hidden extensions, superflous animations, unnecessary things running like Dashboard, Notification center or Dock(Alfred/spotlight works better for me).
These are my opinions. Read this document through and pick up the good parts to your preferences.
<?php | |
$data = (object)array( | |
"html" => "<foo bar=\"baz\"/> &", | |
"arabic" => "العربية al-ʿarabiyyah, IPA: [æl ʕɑrɑˈbijjɐ], or عربي ʿarabī", | |
"hebrew" => "עִבְרִית, Ivrit", | |
"chinese" => "汉语/漢語 Hanyu; 华语/華語 Huáyǔ; 中文 Zhōngwén", | |
"korean" => "한국어/조선말", | |
"japanese" => "日本語 Nihongo", | |
"umlauts" => "äüöãáàß", |
sudo apt-get install ghostscript
iapi.h
etc) which are required but don't come with the default Ghostscript package: sudo apt-get install libgs-dev
sudo apt-get install gs-esp
sudo apt-get --purge remove imagemagick
cd ImageMagick-xx
./configure --with-gslib=yes
[and what else you need]gslib yes yes
and not gslib yes no
make
make install
convert -list configure | grep DELEGATES
=> DELEGATES bzlib djvu freetype gs jpeg jng jp2 lcms png tiff x11 xml zlib
var http = require('http'), | |
fs = require('fs'), | |
path = require('path'), | |
exec = require('child_process').exec; | |
function pipeDoc(inputPath, finalType, stream) { | |
var finalPath = path.dirname(inputPath) | |
+ "/" + path.basename(inputPath).split('.')[0] + ".html"; | |
var convCommand = 'unoconv -f ' + finalType + " " + inputPath; | |
exec(convCommand,function(err, stdout, stderr) { |
var util = require('util'), | |
EventEmitter = require('events').EventEmitter; | |
var Server = function() { | |
var self = this; | |
this.on('custom_event', function() { | |
self.logSomething('custom_event'); | |
}); |
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
/* CSS Statements that only apply on webkit-based browsers (Chrome, Safari, etc.) */ | |
body { background:red; } | |
} |