ssh root@IP passwd (changer de mot de passe) aptitude update &...
Liens et nouvelles
after configuring vino (vino-preferences),
on the other machine run
vncviewer -fullscreen 192.168.xxx.xxx:0
Friendly Drupal: More Aegir: Installing Barracuda and Octopus | Friendly Drupal Free Drupal Tutorials
This is the blog about my journey discovering nginx. I wanted this to be a chronological log of my progress, just like a captain's log (hello Star Trek fan's ;)).
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
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.
@media screen and (max-width: 1000px)
Here we specify that if the browser width ever dips below 1,000 pixels, we should remove the top margin, drop the rest of the margins from 5em to 1 and stop using up so much real estate for borders. This helps on smaller screens and netbooks, but to...
Since there is no :first-word pseudo-element in CSS, this script can be used in its place. It works in Firefox, Netscape 6 , IE4 /Win, Opera 7 , Konqueror 3, Safari, and IE5/Mac.
git config core.filemode false
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.
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…
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.
*42- Change Forward-To Number: followed by directory number is used to change the forwarded-to number for Call Forwarding when phone not answered.
*44 - Voice Activated Dialing - Customers will dial this code to access their VAD directory in order to add,...
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.
#VBoxManage clonehd --format RAW ubuntu.vdi ubuntu.img
Note: The ubunut.img is a raw disk image, it will be quite large (as many GB as your virtual drive is, see above).
Step 2 : convert the raw image to a qcow
#qemu-img convert -f raw ubuntu.img -O qcow2 ubuntu.qcow
Upload the ubuntu.qcow to web/ftp server and Import it as appliance from VxDataCenter
This article is the ultimate guide to installing and managing GIMP add-ons like brushes, plug-ins, scripts.
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
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.
echo Configure a laptop as a wlan0 to eth0 NAT router:
echo WAN = wlan0, DHCP
echo LAN = eth0, 192.168.1.1, 255.255.255.0
# 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
iptables -I INPUT -p TCP -m state --state NEW -m limit --limit 30/minute --limit-burst 5 -j ACCEPT
# Configure a port for the LAN hooked to eth0
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up...
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)
wlan0 = the network adapter with internet (external or WAN).
eth1 = the network adapter to which a second computer is attached (internal or LAN).
192.168.0.x = IP subnet for eth1
sudo iptables -A FORWARD -o...
If you have a tag named '12345' then you would just do this:
git tag -d 12345
git push origin :refs/tags/12345
That will remove '12345' from the remote repository.
This page gives the essential Git commands for working with this project's source files.
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?
Many exciting new functions and features are being thought up for CSS3. We will try and showcase some of them on this page, when they get implemented in either Firefox, Konqueror, Opera or Safari/Webkit.
- 1 sur 3