This is a very simple lightweight plugin to allow you to move the caret (or cursor) position in an <input /> or <textarea> element.
By exposing three jQuery.fn methods you can easily move a a caret to any position you like:
| #!/bin/bash | |
| # Script to convert PDF file to JPG images | |
| # | |
| # Dependencies: | |
| # * pdftk | |
| # * imagemagick | |
| PDF=$1 |
| <?php | |
| /* | |
| KOIVI HTML Form to FDF Parser for PHP (C) 2004 Justin Koivisto | |
| Version 1.1 | |
| Last Modified: 2010-02-17 | |
| This library is free software; you can redistribute it and/or modify it | |
| under the terms of the GNU Lesser General Public License as published by | |
| the Free Software Foundation; either version 2.1 of the License, or (at | |
| your option) any later version. |
| <?php | |
| // Machine name for our custom node | |
| define('NODE_NAME', 'the_node_machine_name'); | |
| // Machine name for our custom taxonomy | |
| define('TAXONOMY_NAME', 'the_taxonomy_machine_name'); | |
| function module_install() { | |
| _create_taxonomy(); | |
| _create_content_type(); | |
| } |
| #!/bin/bash | |
| # | |
| # Steam installer for Debian wheezy (32- and 64-bit) | |
| # | |
| # Place into empty directory and run. | |
| # | |
| download() { | |
| local url="$1" | |
| local filename="$(basename "$url")" |
| <?php | |
| $report = array( | |
| 'skips'=>0, | |
| 'updates'=>0, | |
| 'deletes'=>0, | |
| 'additions'=>0 | |
| ); // ?? | |
| $source = "Sometime drupal sucks"; | |
| $translation = "Drupal C DLA BALLE"; |
| var CryptoJS = require("crypto-js");//replace thie with script tag in browser env | |
| //encrypt | |
| var rawStr = "hello world!"; | |
| var wordArray = CryptoJS.enc.Utf8.parse(rawStr); | |
| var base64 = CryptoJS.enc.Base64.stringify(wordArray); | |
| console.log('encrypted:', base64); | |
| //decrypt | |
| var parsedWordArray = CryptoJS.enc.Base64.parse(base64); |
Lien vers l'offre OVH Public Cloud Object Storage : https://www.ovh.com/fr/cloud/storage/object-storage.xml
Pour utiliser l'API OpenStack Swift il faut récupérer des identifiants uniquement disponible dans l'interface Horizon
###1 - Créer un accès à Horizon
Dans l'espace client OVH : https://www.ovh.com/manager/cloud/login/
| # Remember to escape the dots!! example.com become example\.com | |
| # db.sql the original wordpress db | |
| # dump_02.sql the final one | |
| # cmon its kinda easy, this is just a reminder. | |
| sed 's|http://OLD|http://NEW|g' db.sql > dump_01.sql | |
| sed 's|OLD|NEW|g' dump_01.sql > dump_02.sql |