Image upload using Dropzone which can be found here - http://www.dropzonejs.com/
A Pen by Luis Gonzalez on CodePen.
change names to a consecutive list 0.jpg .... n.jpg | |
ls | cat -n | while read n f; do mv "$f" "$n.jpg"; done | |
Reduce quality | |
convert -quality 85% 0.jpg 0.jpg | |
For multiple files | |
ls | cat -n | while read n f; do convert -quality 85% "$f" "$n.jpg"; done |
Image upload using Dropzone which can be found here - http://www.dropzonejs.com/
A Pen by Luis Gonzalez on CodePen.
<?php | |
/** | |
* User: yiqing | |
* Date: 2014/12/15 | |
* Time: 0:21 | |
*/ | |
namespace year\widgets; | |
<svg id="code128"></svg> | |
<svg id="ean-13"></svg> | |
<svg id="ean-8"></svg> | |
<svg id="ean-5"></svg> | |
<svg id="ean-2"></svg> | |
<svg id="upc-a"></svg> | |
<svg id="code39"></svg> | |
<svg id="itf-14"></svg> | |
<svg id="msi"></svg> | |
<svg id="pharmacode"></svg> |
<div class="fabs"> | |
<div class="chat"> | |
<div class="chat_header"> | |
<span id="chat_head">Live Chat</span> | |
<div class="chat_loader"></div> | |
<div class="chat_option"><i class="zmdi zmdi-more-vert"></i> | |
<ul> | |
<li><span class="chat_color" style="border:solid 5px #2196F3" color="blue"></span></li> | |
<li><span class="chat_color" style="border:solid 5px #00bcd4" color="cyan"></span></li> | |
<li><span class="chat_color" style="border:solid 5px #607d8b" color="blue-grey"></span></li> |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; | |
-- -------------------------------------------------------- | |
-- | |
-- Estructura de tabla para la tabla `albalinea` | |
-- | |
CREATE TABLE `albalinea` ( | |
`codalbaran` int(11) NOT NULL default '0', |
package com.cwilldev.crypt; | |
import java.security.NoSuchAlgorithmException; | |
import javax.crypto.Cipher; | |
import javax.crypto.NoSuchPaddingException; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
public class ApiCrypter { |
#!/bin/bash -e | |
clear | |
echo "============================================" | |
echo "WordPress Install Script" | |
echo "============================================" | |
echo "Database Name: " | |
read -e dbname | |
echo "Database User: " | |
read -e dbuser | |
echo "Database Password: " |
sudo apt-get install php-mysqlnd php-pdo php-calendar php-opcache php-ctype php-exif php-fileinfo php-ftp php-gettext php-iconv php-json php-mcrypt php-mysqli php-intl sqlite zip php-zip ksh php-de php-imagick php-gd php-memcached memcached php-sqlite3 php-pgsql |
function GetMultiCellHeight($w, $h, $txt, $border=null, $align='J') { | |
// Calculate MultiCell with automatic or explicit line breaks height | |
// $border is un-used, but I kept it in the parameters to keep the call | |
// to this function consistent with MultiCell() | |
$cw = &$this->CurrentFont['cw']; | |
if($w==0) | |
$w = $this->w-$this->rMargin-$this->x; | |
$wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; | |
$s = str_replace("\r",'',$txt); | |
$nb = strlen($s); |