mount_fstab - Documentation Ubuntu Francophone

Monter un répertoire avec l'option ''bind'' de la commande ''mount''

Il est parfois utile de monter non pas un volume, mais un dossier dans un autre. Ceci peut ressembler à un lien logique mais c'est beaucoup plus puissant, notamment :

pour un chroot dans un compte FTP pour monter des fichiers dans un système de fichiers en lecture seule (où on ne peut donc pas créer de liens) (CD,…) pour monter des fichiers (fichiers compressés squashfs,…) Cela est possible avec l'option "bind". ...

Avoir un bookmarklet pour créer des marque pages dans mon site drupal

cd modules git git clone --branch master cd prepopulate git checkout 7.x-2.x less README.txt PREPOPULATE MODULE ================== By ea.Farris, based on an idea from chx. Maintained by Addison Berry (add1sun). Prepopulate is an attempt to solve the problem that resulted from the discussion at where the $node object, it was (correctly, I believe) decided, should not be prefilled from the $_GET variables, and instead, the power of the FormsAPI should be used to modify the #default_value of the form elements themselves. This functionality will make things like bookmarklets easier to write, since it basically allows forms to be prefilled from the URL, using a syntax like:[title]=this is the title&edit[body]=body goes here Refer to the USAGE.txt file or the online handbook at for more examples.

Migration depuis D6

I try to migrate my old d6 to d7* *(And it is done with * I'll try to rebuild content types and field, then migrate the old stuff in the new site using feeds_sql module. What needs to be migrated : * Blog * Articles * Bookmarks * Pages * Images (peintures etc) Let's test feeds_sql on the blog migration. We will use the blog module, so we probably don't need to put a lot of fields in the basic "blog" content type. drush en feeds_sql feeds_ui token Ok, apres quelques heures de travail là dessus, voici un exemple de configuration dans un aegir : dans le local.settings.php : <?php $databases['d6']['default'] = array( 'database' => 'dagadi', 'username' => 'dagada', 'password' => 'p4ssw0rd', 'host' => 'localhost', 'port' => '', 'driver' => 'mysql', 'prefix' => '' ); "d6" étant le nom que vous retrouverez dans l'interface feeds_sql.

ovh howto dot txt

ssh root@IP passwd (changer de mot de passe) aptitude update && aptitude dist-upgrade aptitude install sudo adduser YOURNAME visudo (insert:) YOURNAME ALL=(ALL) ALL (CTRL-X pour quitter et sauver) CTRL-D (logout) ssh YOURNAME@IP sudo nano /etc/ssh/sshd_config

How to create and apply a patch with Git -

Okay, now it's time to go and make a patch! All we really want are the two latest commits, stuff them in a file and send them to someone to apply them. But, since we created a separate branch, we don't have to worry about commits at all! git format-patch master --stdout > fix_empty_poster.patch

A Responsive Drupal theme in 50 lines of code or less | Zivtech

Media Queries Media queries allow you style sheets to apply specific styles depending on the current size of the browser. Normally these need to go a the root of your CSS document but thankfully Sass has a media bubbling behavior that will ensure they find their way to where they belong and you are free to define them in a place that makes sense to you, even nesting them inside other selectors. screen and (max-width: 1000px)

How do I make git ignore mode changes (chmod)? - Stack Overflow

git config core.filemode false
core.fileMode If false, the executable bit differences between the index and the working copy are ignored; useful on broken filesystems like FAT. See git-update-index(1). True by default.

My live Debians - Gitorious

Un petit projet pour toujours avoir une clé avec un système minimal pour démarrer un "PC". On essayera d'avoir une version encryptée On devrait avoir plusieurs tailles d'images, peut-être plusieurs version (SID) On essayera de comprendre comment marche le projet Debian Live. Pour l'instant, de mon côté c'est pas fort fort… … Un jour, on essayera, à l'occasion, d'avoir un serveur X sans X11. Je ne sais pas pourquoi, j'ai toujours rêvé de voir ça…

How to Use Your Phone - More Than "Star 69"

A Big List of Star Codes Also known as Vertical Service Codes Here is the list of "Star Codes". I do not mean for it to be exhaustive. These codes work in the US and I believe Canada. These services are only available to land-line or cellular telephones. Some require additional services be purchased from the telephone company to use them. *40 - Change Forward-To Number :followed by directory number is used to change the forwarded-to number for Call Forwarding when line is busy.

Hexagrid Computing - Knowledgebase - Converting VirtualBox VDI files to QCOW2

Both vdi and qcow images are compressed, so a a 10 Gb .vid or .qcow will take less space on your hard drive. Conversion, however, requires you to first convert the .vdi to a raw image, which will require the full 10 Gb, so plan accordingly. Assume your VirtualBox image is called “ubuntu.vdi” Step 1. Convert the VB disk vdi image to a raw image format. clonehd --format RAW ubuntu.vdi ubuntu.img

unix - iconv unicode unknown input format - Stack Overflow

This guy saved my day!!! The problem was that Windows could not interpret the file as UTF-8 on itself. it reads it as asci and then ä becomes a 2 character interpretation ä (ascii 195 164) trying to convert it, I found a solution that works for me: iconv -f UTF-8 -t WINDOWS-1252//TRANSLIT --output=outfile.csv inputfile.csv now I can view the special chars correctly in editors For SQLServer compability, converting UTF-8 to UTF-16 will work even better ... just the filesize grows quite a bit

Laptop Wifi NAT Howto - Herman Oosthuysen, GPL, 2010

This is a simple NAT script that allows you to connect a laptop machine to a WiFi network and then hook a desktop machine to the ethernet port of the laptop machine.
#! /bin/bash echo Configure a laptop as a wlan0 to eth0 NAT router: echo WAN = wlan0, DHCP echo LAN = eth0,, # Accept all traffic iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT # General new connection rate limiting for DOS and Brute Force protection

Internet/ConnectionSharing - Community Ubuntu Documentation

Mes notes:

I am at a café somewhere, pluged with wifi (wlan0)

  • My friend has a computer without wifi and I want him to surf
  • I have a CROSSOVER cable
apt-get install dhcpd * bound it to my internet port (wlan0) * plug my friend in my eth0 interface (or eth1...) Routing / bridging ================== * bridge will isolate my machine from his but will ISF ask for a wifi connexion ? * routing will hide him behind my machine (the gateway) NAT === wlan0 = the network adapter with internet (external or WAN).

chewearn's blog - Find window ID of a process ID in BASH script

In a BASH script, I launched an application and use %u201C$!%u201D variable to grab it%u2019s process ID. I would like to perform some action on the application%u2019s main window (e.g. move or resize it). However, this requires knowing the application%u2019s window ID. How do I find the application%u2019s window ID, using only it%u2019s process ID as a starting point?

Unable to track files in deep directories by Git - git, add -

Problem: to add files at ./shells/smallApps/* to Git at ./.git/ when I do not have the files at ./.git/info/exclude nor at any .gitignore -files.

Tags sizes not shown when used with taxonomy redirect |

I have a somewhat odd error, which means that whenever I have a tag cloud which is redirected with the taxonomy_redirect module, all tags are rendered with the class "level0" I can follow the code all the way through, and the level shows correctly in the term object. But whenever it is put through the theming function $output .= l($term->name, taxonomy_term_path($term), array('attributes' => array('class' => "tagadelic level$term->weight", 'rel' => 'tag'))) ." \n"; it suddenly turns to zero. For the tag clouds which are not redirected it works fine.