From 13797b1cfbc5b8d2ad08121654150e352a5af9a8 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Fri, 12 Mar 2010 15:37:42 +0100 Subject: [PATCH] Ultraviolet qui marche mieux. --- content/html/en/blog/06_How_I_use_git.md | 4 +- ...bsite-synchronisation-with-mobileme--2-.md | 16 ++--- .../blog/2009-10-30-How-to-handle-evil-IE.md | 8 +-- .../en/blog/2009-10-Focus-vs-Minimalism.md | 2 +- .../2009-10-Wait-to-hide-a-menu-in-jQuery.md | 8 +-- ...2009-10-launch-daemon-from-command-line.md | 2 +- .../en/blog/2009-10-untaught-git-usage.md | 18 ++--- .../html/en/blog/2009-11-12-Git-for-n00b.md | 8 +-- .../Git-pour-quoi-faire.md | 4 +- .../commandes-avancees.md | 68 +++++++++---------- .../conf-et-install.md | 42 ++++++------ .../html/en/blog/2009-12-14-Git-vs--Bzr.md | 48 ++++++------- ...-01-04-Change-default-shell-on-Mac-OS-X.md | 4 +- .../2010-02-15-All-but-something-regexp.md | 16 ++--- ...2010-02-16-All-but-something-regexp--2-.md | 24 +++---- .../2010-02-18-split-a-file-by-keyword.md | 8 +-- content/html/en/blog/mvc/mvc2.md | 2 +- content/html/fr/blog/06_How_I_use_git.md | 4 +- ...bsite-synchronisation-with-mobileme--2-.md | 16 ++--- .../blog/2009-10-30-How-to-handle-evil-IE.md | 8 +-- .../fr/blog/2009-10-Focus-vs-Minimalism.md | 2 +- .../2009-10-Wait-to-hide-a-menu-in-jQuery.md | 8 +-- ...2009-10-launch-daemon-from-command-line.md | 2 +- .../fr/blog/2009-10-untaught-git-usage.md | 18 ++--- .../html/fr/blog/2009-11-12-Git-for-n00b.md | 8 +-- .../Git-pour-quoi-faire.md | 4 +- .../commandes-avancees.md | 68 +++++++++---------- .../conf-et-install.md | 42 ++++++------ .../html/fr/blog/2009-12-14-Git-vs--Bzr.md | 48 ++++++------- ...-01-04-Change-default-shell-on-Mac-OS-X.md | 4 +- .../2010-02-15-All-but-something-regexp.md | 16 ++--- ...2010-02-16-All-but-something-regexp--2-.md | 24 +++---- .../2010-02-18-split-a-file-by-keyword.md | 8 +-- content/html/fr/blog/mvc/mvc2.md | 2 +- lib/ultraviolet.rb | 5 +- 35 files changed, 284 insertions(+), 285 deletions(-) diff --git a/content/html/en/blog/06_How_I_use_git.md b/content/html/en/blog/06_How_I_use_git.md index a34f9c65c..01755d707 100644 --- a/content/html/en/blog/06_How_I_use_git.md +++ b/content/html/en/blog/06_How_I_use_git.md @@ -162,12 +162,12 @@ This is why I created two simple scripts to automate this. One for creating a br Then when you want to create a new branch (locally and remotely) ; you simply have to do a: -
git-create-new-branch branch_name
+git-create-new-branch branch_name and when you are on another computer and want to get locally all the remote branches you execute: -
git-get-remote-branches
+git-get-remote-branches Here are the code of theese two scripts: diff --git a/content/html/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-.md b/content/html/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-.md index 046ff97e4..85e903950 100644 --- a/content/html/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-.md +++ b/content/html/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-.md @@ -31,17 +31,17 @@ Here is my new script, it first create a map which associate to each file its ha Even with this script I also have some problem. Mostly due to 'webdav' issues. For example, renaming a folder work really badly (on Linux at least). I use webdavfs. For example: -
+ mv folder folder2 -
+ It returns OK and I've got: -
+ $ ls folder folder2 -
+ Booh.... @@ -49,7 +49,7 @@ Booh.... In order to handle most webdav issues I use a *framework* in zsh. It handle almost all except the correct renaming of folder. Working on it... Anyway here is the code I use. -
+ #!/usr/bin/env zsh function samelineprint { @@ -158,12 +158,12 @@ function trymv { done print } -
+ And here is the code on how I synchronize my website. There is a little cryptic code. It correspond a problem caused by the bluecloth filter which is a markdown program made in ruby. Each time my email is written it is transformed differently. This is why I remove this part from the content of each html file. Without it, all my files containing email are different at each regeneration of my website. -
+ #!/usr/bin/env zsh # Script synchronisant le site sur me.com @@ -285,7 +285,7 @@ else print -P -- "%BSync%b[${Root:t} => ${destRep:t}$suffix]" incrementalPublish fi -
+ This is my way to replace `rsync` with filesystem not handling it. diff --git a/content/html/en/blog/2009-10-30-How-to-handle-evil-IE.md b/content/html/en/blog/2009-10-30-How-to-handle-evil-IE.md index 5ef8c7209..e3d88430c 100644 --- a/content/html/en/blog/2009-10-30-How-to-handle-evil-IE.md +++ b/content/html/en/blog/2009-10-30-How-to-handle-evil-IE.md @@ -24,16 +24,16 @@ For developer IE is a nightmare. This is why, I use a method to disable my stand -
+ $(document).ready( function() { if ($.browser["msie"]) { // include the ie.js file $('head').append('