From a610562dc37cedd1d22ee2eb67844a4675e42295 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Fri, 2 Sep 2011 15:08:06 +0200 Subject: [PATCH 01/16] regeneration --- .../blog/2010-07-05-Cappuccino-and-Web-applications/index.html | 2 +- .../en/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html | 2 +- .../fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/output/Scratch/en/blog/2010-07-05-Cappuccino-and-Web-applications/index.html b/output/Scratch/en/blog/2010-07-05-Cappuccino-and-Web-applications/index.html index e61f23cf5..b8e5cf8ad 100644 --- a/output/Scratch/en/blog/2010-07-05-Cappuccino-and-Web-applications/index.html +++ b/output/Scratch/en/blog/2010-07-05-Cappuccino-and-Web-applications/index.html @@ -320,7 +320,7 @@ But if it is, it could be the end of projects like Cappuccino and Sproutcore.

Created: 07/05/2010 - Modified: 08/01/2010 + Modified: 09/02/2011
Entirely done with diff --git a/output/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html b/output/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html index 7e9401adc..e90169cd4 100644 --- a/output/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html +++ b/output/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html @@ -233,7 +233,7 @@ For nanoc user, simply put this file in your lib direc
Created: 10/26/2010 - Modified: 04/07/2011 + Modified: 09/02/2011
Entirely done with diff --git a/output/Scratch/fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html b/output/Scratch/fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html index eaa2e200f..eb318d622 100644 --- a/output/Scratch/fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html +++ b/output/Scratch/fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/index.html @@ -235,7 +235,7 @@ Pour les utilisateurs de nanoc il suffit de copier le fichier suiva
Écrit le : 26/10/2010 - modifié le : 07/04/2011 + modifié le : 02/09/2011
Site entièrement réalisé avec From 3bc31dfc95b4bce939556488beadb8a2821a657a Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 8 Sep 2011 17:28:58 +0200 Subject: [PATCH 02/16] Fixed some issues --- multi/blog/Learn-Vim-Progressively.md | 3 ++- .../Learn-Vim-Progressively/line_moves.jpg | Bin 6032 -> 5042 bytes .../Learn-Vim-Progressively/line_moves.txt | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.txt diff --git a/multi/blog/Learn-Vim-Progressively.md b/multi/blog/Learn-Vim-Progressively.md index e15d8d76f..fcc0b5f51 100644 --- a/multi/blog/Learn-Vim-Progressively.md +++ b/multi/blog/Learn-Vim-Progressively.md @@ -368,6 +368,7 @@ fr: ### Déplacement sur la ligne : `0` `^` `$` `f` `F` `t` `T` `,` `;` en: > - `0` → go to column 0 en: > - `^` → go to first character on the line en: > - `$` → go to the last character on the line +en: > - `g_` → go to the last column of the line en: > - `fa` → go to next occurrence of the letter `a` on the line. `,` (resp. `;`) will seek for the next (resp. previous) occurrence. en: > - `t,` → go just before the character `,`. en: > - `3fa` → search the 3rd occurrence of `a` on this line. @@ -439,7 +440,7 @@ fr: - `I-- [ESC]` → écrit `-- ` pour commenter le reste de la ligne. <%= blogimage("rectangular-blocks.gif","Rectangular blocks") %> -en: Not on windows you might have to use `` instead of `` if your clipboard is not empty. +en: Note on windows you might have to use `` instead of `` if your clipboard is not empty. fr: Remarquez que sous windows, vous devez utiliser `` plutôt que `` si votre "presse papier" n'est pas vide. en: ### Completion: `` and ``. diff --git a/output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.jpg b/output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.jpg index 95f0fcd901935153798db485f9a71964c503d956..7289ea739f94571f24a2e168a6cd8d3a881e1913 100644 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-2UGPj@(v;IG*C{I;Rr(}&bNlahQBG<|Np{~nR^81D1Mfc|G~#f@QQ33c+Q zD#ytrrcPals`!QFz{xmKU|7n(a+Au(T)l=s^KBaFry$Ctd1g<<%H#Oa7}1Z`d#>wW zk|skJ{gf_Wxxcen+Tit##Rk+{!>vxL1Z4=;9cBIG*SDRKtsbqU#aTk3;Ud#L@sf%m zn<$-XWvXqS1sbWH&JQgf>ZFR|{il&hN7CH=S?-C{aLAEQJ#UoRVsj-PN;o-zBi&qd z`(md)WE(k*?%PtE^-Ylsi}d%&72^9+MS)hOn$;f-wwO+Gu<1$p9SQ5+btNrzi6Jbu zY-aOk7kq$d{tq!Q6?txS=L!rznK?e_I&QprxM)}ICbINhzfCvTM|J`dTg_Lj$^cuFUFH#_-P zcT8NQQ*M;j0QaNN@R&wLJj*o3`tWVaze}&&mI9j4@P8HesM_JYX+F<3bzWVq3P)@~ zYHQejH#AP2J4^_HwToM(Q{_40`Sw7;LBa?rTw%G;yKEJt?)s33s8Qz@rd-O*LQ5p} z!EjNey-U$&@z2gfx&IB~`X{dX4~X@Duq0R53y06&$+rlsgx9F;kcFlb{1agO6F>bI R67g37`Wtrq-&-%n{tKKbR}KIG diff --git a/output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.txt b/output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.txt new file mode 100644 index 000000000..c78711d3b --- /dev/null +++ b/output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.txt @@ -0,0 +1,6 @@ + + + +0 ^ fi t) 4fi $ g_ +│ │ │ │ │ │ │ + x = (name_1,vision_3); #this is a comment. From 709490d89380da5624764bbb8917c0f7761257cb Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 8 Sep 2011 17:40:29 +0200 Subject: [PATCH 03/16] Fixed an error --- example.txt | 6 ++++++ multi/blog/Learn-Vim-Progressively.md | 4 ++-- .../Learn-Vim-Progressively/line_moves.jpg | Bin 5042 -> 5887 bytes .../Learn-Vim-Progressively/line_moves.txt | 6 +++--- 4 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 example.txt diff --git a/example.txt b/example.txt new file mode 100644 index 000000000..c5983300e --- /dev/null +++ b/example.txt @@ -0,0 +1,6 @@ + + + +0 ^ fi t) 4fi g_ $ +│ │ │ │ │ │ │ + x = (name_1,vision_3); #this is a comment. diff --git a/multi/blog/Learn-Vim-Progressively.md b/multi/blog/Learn-Vim-Progressively.md index fcc0b5f51..84bbb0a80 100644 --- a/multi/blog/Learn-Vim-Progressively.md +++ b/multi/blog/Learn-Vim-Progressively.md @@ -367,8 +367,8 @@ fr: ### Déplacement sur la ligne : `0` `^` `$` `f` `F` `t` `T` `,` `;` en: > - `0` → go to column 0 en: > - `^` → go to first character on the line -en: > - `$` → go to the last character on the line -en: > - `g_` → go to the last column of the line +en: > - `$` → go to the last column +en: > - `g_` → go to the last character on the line en: > - `fa` → go to next occurrence of the letter `a` on the line. `,` (resp. `;`) will seek for the next (resp. previous) occurrence. en: > - `t,` → go just before the character `,`. en: > - `3fa` → search the 3rd occurrence of `a` on this line. diff --git a/output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.jpg b/output/Scratch/img/blog/Learn-Vim-Progressively/line_moves.jpg index 7289ea739f94571f24a2e168a6cd8d3a881e1913..225c878b31d8fe24ded1d106840a4ae48c13baae 100644 GIT binary patch literal 5887 zcmb_g2T+sSwoVArTL3|%NjvDFN$&zuB7#^@s)%%?L+Bmp2%&fqIw+wi9q9rAqy(gi zNS7Kqp+yKSgp21~-+6cD&3pIGy!Frgvu5vqe`~FO@BOX4*ZIWxJb>Y@mbMlE2m}J| zTs(mDX@EKaMDkO9zCjm4N=EuqD9Fezkx^1mQBhJ*Qc}^-(@;^S#8;LnjDQi_X#4Ahj=7p?!HoVNkM6oALTR1lCCKmrDWz`*lP0LO)^ z0MLcIK)^2{BfUfpq5zUy^xkFw07*$mfFz(xWF(~Y7heDYBp}jDWMD>eCLU&9aTW<# z?;48BtZEM}_}s7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b7Ux zTM}^91}9^*)+P*H>P4>z-wCqQ7o=xBw#+~#^&b~HBgb;Sjj5@uJ3Ad>J_pV-uZda7 z6~B9|^FKS&9D7*zrXj@C-N@pnf@7+6>#Rq5iOg|!P|(*(l>k?($OE~#ZJ)kX;|STC zPD7i^%^m-N-OT|61N_mmjRl`80#ifU8ntaWao#w3_&nGz80$k0vtNPU+QLq?=<$bt{8Ms8Ok Date: Thu, 8 Sep 2011 17:42:38 +0200 Subject: [PATCH 04/16] Added french translation --- multi/blog/Learn-Vim-Progressively.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/multi/blog/Learn-Vim-Progressively.md b/multi/blog/Learn-Vim-Progressively.md index 84bbb0a80..858835228 100644 --- a/multi/blog/Learn-Vim-Progressively.md +++ b/multi/blog/Learn-Vim-Progressively.md @@ -375,7 +375,8 @@ en: > - `3fa` → search the 3rd occurrence of `a` on this line. en: > - `F` and `T` → like `f` and `t` but backward. fr: > - `0` → aller à la colonne 0, fr: > - `^` → aller au premier caractère de la ligne -fr: > - `$` → aller au dernier caractère de la ligne +fr: > - `$` → aller à la dernière colonne de la ligne +fr: > - `g_` → aller au dernier caractère de la ligne fr: > - `fa` → vous amène à la prochaine occurrence de a sur la ligne courante. `,` (resp. `;`) recherche l'occurrence suivante (resp. précédente). fr: > - `t,` → vous amène juste avant le `,`. fr: > - `3fa` → recherche la 3ième occurrence de `a`. From 1c3dca892048c8f5dc6da57a5a7dba848257eb1c Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 8 Sep 2011 17:45:10 +0200 Subject: [PATCH 05/16] Regen --- .../html/en/blog/Learn-Vim-Progressively.md | 5 +- .../html/fr/blog/Learn-Vim-Progressively.md | 3 +- .../blog/Learn-Vim-Progressively/index.html | 5 +- .../blog/Learn-Vim-Progressively/index.html | 3 +- output/Scratch/sitemap.xml | 368 +++++++++--------- output/index.html | 2 +- 6 files changed, 195 insertions(+), 191 deletions(-) diff --git a/content/html/en/blog/Learn-Vim-Progressively.md b/content/html/en/blog/Learn-Vim-Progressively.md index d72d0b4d1..8ddbab79c 100644 --- a/content/html/en/blog/Learn-Vim-Progressively.md +++ b/content/html/en/blog/Learn-Vim-Progressively.md @@ -217,7 +217,8 @@ Some of these features were the reason I started to use vim. > - `0` → go to column 0 > - `^` → go to first character on the line -> - `$` → go to the last character on the line +> - `$` → go to the last column +> - `g_` → go to the last character on the line > - `fa` → go to next occurrence of the letter `a` on the line. `,` (resp. `;`) will seek for the next (resp. previous) occurrence. > - `t,` → go just before the character `,`. > - `3fa` → search the 3rd occurrence of `a` on this line. @@ -260,7 +261,7 @@ Typically: `0I-- [ESC]` <%= blogimage("rectangular-blocks.gif","Rectangular blocks") %> -Not on windows you might have to use `` instead of `` if your clipboard is not empty. +Note on windows you might have to use `` instead of `` if your clipboard is not empty. ### Completion: `` and ``. diff --git a/content/html/fr/blog/Learn-Vim-Progressively.md b/content/html/fr/blog/Learn-Vim-Progressively.md index 50ec72c12..a7c952274 100644 --- a/content/html/fr/blog/Learn-Vim-Progressively.md +++ b/content/html/fr/blog/Learn-Vim-Progressively.md @@ -223,7 +223,8 @@ Celles que je n'ai retrouvé que dans vim (ou presque). > - `0` → aller à la colonne 0, > - `^` → aller au premier caractère de la ligne -> - `$` → aller au dernier caractère de la ligne +> - `$` → aller à la dernière colonne de la ligne +> - `g_` → aller au dernier caractère de la ligne > - `fa` → vous amène à la prochaine occurrence de a sur la ligne courante. `,` (resp. `;`) recherche l'occurrence suivante (resp. précédente). > - `t,` → vous amène juste avant le `,`. > - `3fa` → recherche la 3ième occurrence de `a`. diff --git a/output/Scratch/en/blog/Learn-Vim-Progressively/index.html b/output/Scratch/en/blog/Learn-Vim-Progressively/index.html index e548de0d7..cde9ad000 100644 --- a/output/Scratch/en/blog/Learn-Vim-Progressively/index.html +++ b/output/Scratch/en/blog/Learn-Vim-Progressively/index.html @@ -327,7 +327,8 @@ Some of these features were the reason I started to use vim.

  • 0 → go to column 0
  • ^ → go to first character on the line
  • -
  • $ → go to the last character on the line
  • +
  • $ → go to the last column
  • +
  • g_ → go to the last character on the line
  • fa → go to next occurrence of the letter a on the line. , (resp. ;) will seek for the next (resp. previous) occurrence.
  • t, → go just before the character ,.
  • 3fa → search the 3rd occurrence of a on this line.
  • @@ -377,7 +378,7 @@ Typically: 0<C-v><C-d>I-- [ESC]

    Rectangular blocks

    -

    Not on windows you might have to use <C-q> instead of <C-v> if your clipboard is not empty.

    +

    Note on windows you might have to use <C-q> instead of <C-v> if your clipboard is not empty.

    Completion: <C-n> and <C-p>.

    diff --git a/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html b/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html index 387afe33a..9e07bcc0a 100644 --- a/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html +++ b/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html @@ -333,7 +333,8 @@ Celles que je n’ai retrouvé que dans vim (ou presque).

    • 0 → aller à la colonne 0,
    • ^ → aller au premier caractère de la ligne
    • -
    • $ → aller au dernier caractère de la ligne
    • +
    • $ → aller à la dernière colonne de la ligne
    • +
    • g_ → aller au dernier caractère de la ligne
    • fa → vous amène à la prochaine occurrence de a sur la ligne courante. , (resp. ;) recherche l’occurrence suivante (resp. précédente).
    • t, → vous amène juste avant le ,.
    • 3fa → recherche la 3ième occurrence de a.
    • diff --git a/output/Scratch/sitemap.xml b/output/Scratch/sitemap.xml index 95dd61da0..6c2d68a7c 100644 --- a/output/Scratch/sitemap.xml +++ b/output/Scratch/sitemap.xml @@ -2,694 +2,694 @@ http://yannesposito.com/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/en/about/contact/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-06-17-track-events-with-google-analytics/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-01-04-Change-default-shell-on-Mac-OS-X/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-06-19-jQuery-popup-the-easy-way/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/softwares/ypassword/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2011-01-03-Why-I-sadly-won-t-use-coffeescript/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/Password-Management/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-05-19-How-to-cut-HTML-and-repair-it/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-09-jQuery-Tag-Cloud/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/about/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/ - 2011-09-02 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-10-06-New-Blog-Design-Constraints/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-09-02-base64-and-sha1-on-iPhone/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/en/softwares/ypassword/iphoneweb/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/en/blog/2010-02-18-split-a-file-by-keyword/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-06-17-hide-yourself-to-analytics/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/commandes-avancees/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_1/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/mvc/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-09-replace-all-except-some-part/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-02-18-split-a-file-by-keyword/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/09_Why_I_didn-t_keep_whosamung-us/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_2/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/softwares/yaquabubbles/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/commandes-avancees/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-10-Focus-vs-Minimalism/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_3/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-10-10-Secure-eMail-on-Mac-in-few-steps/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-06-19-jQuery-popup-the-easy-way/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-03-22-Git-Tips/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-07-09-Indecidabilities/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_4/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-07-05-Cappuccino-and-Web-applications/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-12-06-iphone-call-filter/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/01_nanoc/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-02-15-All-but-something-regexp/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_1/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/11_Load_Disqus_Asynchronously/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-07-05-Cappuccino-and-Web-applications/ - 2011-09-02 + 2011-09-07 http://yannesposito.com/Scratch/en/softwares/ypassword/web/ - 2011-08-31 - - - http://yannesposito.com/Scratch/fr/blog/05_git_create_remote_branch/ - 2011-08-31 - - - http://yannesposito.com/Scratch/en/blog/2009-10-untaught-git-usage/ - 2011-08-31 - - - http://yannesposito.com/Scratch/en/blog/11_Load_Disqus_Asynchronously/ - 2011-08-31 - - - http://yannesposito.com/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/ 2011-09-02 + + http://yannesposito.com/Scratch/fr/blog/05_git_create_remote_branch/ + 2011-09-07 + + + http://yannesposito.com/Scratch/en/blog/2009-10-untaught-git-usage/ + 2011-09-07 + + + http://yannesposito.com/Scratch/en/blog/11_Load_Disqus_Asynchronously/ + 2011-09-07 + + + http://yannesposito.com/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/ + 2011-09-07 + http://yannesposito.com/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_2/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-07-07-CSS-rendering-problems-by-navigator/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/about/cv/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-06-15-Get-my-blog-engine/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/Haskell-Mandelbrot/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/about/technical_details/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/mvc/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/validation/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_3/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-10-untaught-git-usage/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/08_Configure_ssh_to_listen_the_port_443_on_Snow_Leopard/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/softwares/yclock/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/en/blog/2009-10-How-to-preload-your-site-with-style/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2011-01-03-Happy-New-Year/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_4/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-05-17-at-least-this-blog-revive/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/02_ackgrep/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/03_losthighway/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/about/old/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/en/blog/2010-08-31-send-mail-from-command-line-with-attached-file/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-09-Disqus-versus-Intense-Debate--Why-I-switched-/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-07-07-CSS-rendering-problems-by-navigator/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-12-06-iphone-call-filter/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-10-How-to-preload-your-site-with-style/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-10-Focus-vs-Minimalism/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/07_Screensaver_compilation_option_for_Snow_Leopard/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/about/contact/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-07-31-New-style-after-holidays/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-02-23-When-regexp-is-not-the-best-solution/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-10-30-How-to-handle-evil-IE/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-09-02-base64-and-sha1-on-iPhone/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/softwares/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-10-14-Fun-with-wav/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-10-Wait-to-hide-a-menu-in-jQuery/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/02_ackgrep/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/08_Configure_ssh_to_listen_the_port_443_on_Snow_Leopard/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/07_Screensaver_compilation_option_for_Snow_Leopard/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-02-15-All-but-something-regexp/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-09-replace-all-except-some-part/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/10_Synchronize_Custom_WebSite_with_mobileMe/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/about/old/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/06_How_I_use_git/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/about/cv/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2011-04-20-Now-hosted-on-github/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/softwares/ypassword/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/Password-Management/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/A-more-convenient-diff/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/09_Why_I_didn-t_keep_whosamung-us/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/feed/feed.xml - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/fr/validation/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-08-23-Now-heberged-on-heroku/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-06-14-multi-language-choices/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-10-14-Fun-with-wav/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-09-Disqus-versus-Intense-Debate--Why-I-switched-/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/A-more-convenient-diff/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2011-01-03-Happy-New-Year/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-08-31-send-mail-from-command-line-with-attached-file/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/Git-pour-quoi-faire/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/10_Synchronize_Custom_WebSite_with_mobileMe/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-02-16-All-but-something-regexp--2-/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/softwares/yaquabubbles/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-07-31-New-style-after-holidays/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-12-14-Git-vs--Bzr/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/06_How_I_use_git/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/comprendre/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/03_losthighway/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/rss/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-09-jQuery-Tag-Cloud/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/conf-et-install/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-10-launch-daemon-from-command-line/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-06-15-Get-my-blog-engine/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-03-22-Git-Tips/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-03-23-Encapsulate-git/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/Haskell-Mandelbrot/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-05-24-Trees--Pragmatism-and-Formalism/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-02-16-All-but-something-regexp--2-/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/Git-pour-quoi-faire/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-02-23-When-regexp-is-not-the-best-solution/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-10-06-New-Blog-Design-Constraints/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-05-17-at-least-this-blog-revive/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-08-23-Now-heberged-on-heroku/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/softwares/ypassword/web/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/fr/blog/Learn-Vim-Progressively/ - 2011-08-31 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-03-23-Encapsulate-git/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/conf-et-install/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-10-launch-daemon-from-command-line/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-06-17-track-events-with-google-analytics/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/assets/css/main.css - 2011-08-31 + 2011-09-08 http://yannesposito.com/Scratch/fr/rss/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2011-04-20-Now-hosted-on-github/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2011-01-03-Why-I-sadly-won-t-use-coffeescript/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/about/technical_details/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/04_drm/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-06-17-hide-yourself-to-analytics/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/ - 2011-08-31 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-10-Wait-to-hide-a-menu-in-jQuery/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-10-10-Secure-eMail-on-Mac-in-few-steps/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-10-30-How-to-handle-evil-IE/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-07-09-Indecidabilities/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/01_nanoc/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/about/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/softwares/ypassword/iphoneweb/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/fr/ - 2011-08-31 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-05-19-How-to-cut-HTML-and-repair-it/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-01-04-Change-default-shell-on-Mac-OS-X/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/softwares/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/comprendre/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/c-est-parti-pour-l-aventure/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2010-06-14-multi-language-choices/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/05_git_create_remote_branch/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/feed/feed.xml - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/sitemap.xml - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/fr/softwares/yclock/ - 2011-08-31 + 2011-09-02 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/c-est-parti-pour-l-aventure/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/04_drm/ - 2011-08-31 + 2011-09-07 http://yannesposito.com/Scratch/en/blog/2009-12-14-Git-vs--Bzr/ - 2011-08-31 + 2011-09-07 diff --git a/output/index.html b/output/index.html index 97a85caf0..984c64218 100644 --- a/output/index.html +++ b/output/index.html @@ -188,7 +188,7 @@ Copyright ©, Yann Esposito
- Modified: 09/02/2011 + Modified: 09/08/2011
Entirely done with From 6d0212a9e4512bb8e0665265cf2014c29fb5d532 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 8 Sep 2011 17:47:03 +0200 Subject: [PATCH 06/16] Fixed a title --- multi/blog/Learn-Vim-Progressively.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multi/blog/Learn-Vim-Progressively.md b/multi/blog/Learn-Vim-Progressively.md index 858835228..7eafb4a35 100644 --- a/multi/blog/Learn-Vim-Progressively.md +++ b/multi/blog/Learn-Vim-Progressively.md @@ -362,8 +362,8 @@ fr: Jusqu'ici vous avez appris les commandes les plus courantes. fr: Mais voici les killer features de vim. fr: Celles que je n'ai retrouvé que dans vim (ou presque). -en: ### Move on current line: `0` `^` `$` `f` `F` `t` `T` `,` `;` -fr: ### Déplacement sur la ligne : `0` `^` `$` `f` `F` `t` `T` `,` `;` +en: ### Move on current line: `0` `^` `$` `g_` `f` `F` `t` `T` `,` `;` +fr: ### Déplacement sur la ligne : `0` `^` `$` `g_` `f` `F` `t` `T` `,` `;` en: > - `0` → go to column 0 en: > - `^` → go to first character on the line From 16f99c3cbd95192461050e30e87f8eed937cbdd3 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 8 Sep 2011 17:47:09 +0200 Subject: [PATCH 07/16] regeneration --- output/Scratch/en/blog/Learn-Vim-Progressively/index.html | 2 +- output/Scratch/fr/blog/Learn-Vim-Progressively/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/output/Scratch/en/blog/Learn-Vim-Progressively/index.html b/output/Scratch/en/blog/Learn-Vim-Progressively/index.html index cde9ad000..7b76e865a 100644 --- a/output/Scratch/en/blog/Learn-Vim-Progressively/index.html +++ b/output/Scratch/en/blog/Learn-Vim-Progressively/index.html @@ -561,7 +561,7 @@ $(document).ready(function() {
Created: 08/25/2011 - Modified: 08/31/2011 + Modified: 09/08/2011
Entirely done with diff --git a/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html b/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html index 9e07bcc0a..9eb06e238 100644 --- a/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html +++ b/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html @@ -568,7 +568,7 @@ $(document).ready(function() {
Écrit le : 25/08/2011 - modifié le : 31/08/2011 + modifié le : 08/09/2011
Site entièrement réalisé avec From 1e4f53706e9c4e41711fe448cdbad346455ce593 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 8 Sep 2011 17:49:59 +0200 Subject: [PATCH 08/16] regen --- .../html/en/blog/Learn-Vim-Progressively.md | 2 +- .../html/fr/blog/Learn-Vim-Progressively.md | 2 +- .../blog/Learn-Vim-Progressively/index.html | 2 +- .../blog/Learn-Vim-Progressively/index.html | 2 +- output/Scratch/sitemap.xml | 336 +++++++++--------- 5 files changed, 172 insertions(+), 172 deletions(-) diff --git a/content/html/en/blog/Learn-Vim-Progressively.md b/content/html/en/blog/Learn-Vim-Progressively.md index 8ddbab79c..077c0a434 100644 --- a/content/html/en/blog/Learn-Vim-Progressively.md +++ b/content/html/en/blog/Learn-Vim-Progressively.md @@ -213,7 +213,7 @@ With all preceding commands you should be comfortable to use vim. But now, here are the killer features. Some of these features were the reason I started to use vim. -### Move on current line: `0` `^` `$` `f` `F` `t` `T` `,` `;` +### Move on current line: `0` `^` `$` `g_` `f` `F` `t` `T` `,` `;` > - `0` → go to column 0 > - `^` → go to first character on the line diff --git a/content/html/fr/blog/Learn-Vim-Progressively.md b/content/html/fr/blog/Learn-Vim-Progressively.md index a7c952274..83bffda0d 100644 --- a/content/html/fr/blog/Learn-Vim-Progressively.md +++ b/content/html/fr/blog/Learn-Vim-Progressively.md @@ -219,7 +219,7 @@ Jusqu'ici vous avez appris les commandes les plus courantes. Mais voici les killer features de vim. Celles que je n'ai retrouvé que dans vim (ou presque). -### Déplacement sur la ligne : `0` `^` `$` `f` `F` `t` `T` `,` `;` +### Déplacement sur la ligne : `0` `^` `$` `g_` `f` `F` `t` `T` `,` `;` > - `0` → aller à la colonne 0, > - `^` → aller au premier caractère de la ligne diff --git a/output/Scratch/en/blog/Learn-Vim-Progressively/index.html b/output/Scratch/en/blog/Learn-Vim-Progressively/index.html index 7b76e865a..7c4c55391 100644 --- a/output/Scratch/en/blog/Learn-Vim-Progressively/index.html +++ b/output/Scratch/en/blog/Learn-Vim-Progressively/index.html @@ -321,7 +321,7 @@ is also true for d (delete), v (visual select), But now, here are the killer features. Some of these features were the reason I started to use vim.

-

Move on current line: 0 ^ $ f F t T , ;

+

Move on current line: 0 ^ $ g_ f F t T , ;

    diff --git a/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html b/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html index 9eb06e238..52980bd14 100644 --- a/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html +++ b/output/Scratch/fr/blog/Learn-Vim-Progressively/index.html @@ -327,7 +327,7 @@ est aussi vrai pour d (delete → supprimer), v (séle Mais voici les killer features de vim. Celles que je n’ai retrouvé que dans vim (ou presque).

    -

    Déplacement sur la ligne : 0 ^ $ f F t T , ;

    +

    Déplacement sur la ligne : 0 ^ $ g_ f F t T , ;

      diff --git a/output/Scratch/sitemap.xml b/output/Scratch/sitemap.xml index 6c2d68a7c..06c5f9954 100644 --- a/output/Scratch/sitemap.xml +++ b/output/Scratch/sitemap.xml @@ -2,147 +2,147 @@ http://yannesposito.com/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/en/about/contact/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-06-17-track-events-with-google-analytics/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-01-04-Change-default-shell-on-Mac-OS-X/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-06-19-jQuery-popup-the-easy-way/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/softwares/ypassword/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2011-01-03-Why-I-sadly-won-t-use-coffeescript/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/Password-Management/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-05-19-How-to-cut-HTML-and-repair-it/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-09-jQuery-Tag-Cloud/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/about/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-10-06-New-Blog-Design-Constraints/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-09-02-base64-and-sha1-on-iPhone/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/en/softwares/ypassword/iphoneweb/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-02-18-split-a-file-by-keyword/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-06-17-hide-yourself-to-analytics/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/commandes-avancees/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_1/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/mvc/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-09-replace-all-except-some-part/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-02-18-split-a-file-by-keyword/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/09_Why_I_didn-t_keep_whosamung-us/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_2/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/softwares/yaquabubbles/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/commandes-avancees/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-10-Focus-vs-Minimalism/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_3/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-10-10-Secure-eMail-on-Mac-in-few-steps/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-06-19-jQuery-popup-the-easy-way/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-03-22-Git-Tips/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-07-09-Indecidabilities/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_4/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-07-05-Cappuccino-and-Web-applications/ @@ -150,387 +150,387 @@ http://yannesposito.com/Scratch/en/blog/2009-12-06-iphone-call-filter/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/01_nanoc/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-02-15-All-but-something-regexp/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_1/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/11_Load_Disqus_Asynchronously/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-07-05-Cappuccino-and-Web-applications/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/softwares/ypassword/web/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/05_git_create_remote_branch/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-10-untaught-git-usage/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/11_Load_Disqus_Asynchronously/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_2/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-07-07-CSS-rendering-problems-by-navigator/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/about/cv/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-06-15-Get-my-blog-engine/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/Haskell-Mandelbrot/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/about/technical_details/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/mvc/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/validation/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_3/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-10-untaught-git-usage/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/08_Configure_ssh_to_listen_the_port_443_on_Snow_Leopard/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/softwares/yclock/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-10-How-to-preload-your-site-with-style/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2011-01-03-Happy-New-Year/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/03_losthighway/03_losthighway_4/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-05-17-at-least-this-blog-revive/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/02_ackgrep/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/03_losthighway/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/about/old/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-08-31-send-mail-from-command-line-with-attached-file/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-09-Disqus-versus-Intense-Debate--Why-I-switched-/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-07-07-CSS-rendering-problems-by-navigator/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-12-06-iphone-call-filter/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-10-How-to-preload-your-site-with-style/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-10-Focus-vs-Minimalism/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/07_Screensaver_compilation_option_for_Snow_Leopard/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/about/contact/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-07-31-New-style-after-holidays/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-02-23-When-regexp-is-not-the-best-solution/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-10-30-How-to-handle-evil-IE/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-09-02-base64-and-sha1-on-iPhone/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/softwares/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-10-14-Fun-with-wav/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-10-Wait-to-hide-a-menu-in-jQuery/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/02_ackgrep/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/08_Configure_ssh_to_listen_the_port_443_on_Snow_Leopard/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/07_Screensaver_compilation_option_for_Snow_Leopard/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-02-15-All-but-something-regexp/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-09-replace-all-except-some-part/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/10_Synchronize_Custom_WebSite_with_mobileMe/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/about/old/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/06_How_I_use_git/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/about/cv/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2011-04-20-Now-hosted-on-github/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/softwares/ypassword/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/Password-Management/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/A-more-convenient-diff/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/09_Why_I_didn-t_keep_whosamung-us/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/feed/feed.xml - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/fr/validation/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-08-23-Now-heberged-on-heroku/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-06-14-multi-language-choices/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-10-14-Fun-with-wav/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-09-Disqus-versus-Intense-Debate--Why-I-switched-/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/A-more-convenient-diff/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2011-01-03-Happy-New-Year/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-08-31-send-mail-from-command-line-with-attached-file/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/Git-pour-quoi-faire/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/10_Synchronize_Custom_WebSite_with_mobileMe/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-02-16-All-but-something-regexp--2-/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/softwares/yaquabubbles/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-07-31-New-style-after-holidays/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-12-14-Git-vs--Bzr/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/06_How_I_use_git/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/comprendre/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/03_losthighway/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/rss/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-09-jQuery-Tag-Cloud/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/conf-et-install/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-10-launch-daemon-from-command-line/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-06-15-Get-my-blog-engine/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-03-22-Git-Tips/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-03-23-Encapsulate-git/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/Haskell-Mandelbrot/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-05-24-Trees--Pragmatism-and-Formalism/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-02-16-All-but-something-regexp--2-/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/Git-pour-quoi-faire/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-02-23-When-regexp-is-not-the-best-solution/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-10-06-New-Blog-Design-Constraints/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-05-17-at-least-this-blog-revive/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-08-23-Now-heberged-on-heroku/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/softwares/ypassword/web/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/Learn-Vim-Progressively/ @@ -538,19 +538,19 @@ http://yannesposito.com/Scratch/fr/blog/2010-03-23-Encapsulate-git/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/conf-et-install/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-10-launch-daemon-from-command-line/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-06-17-track-events-with-google-analytics/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/assets/css/main.css @@ -558,39 +558,39 @@ http://yannesposito.com/Scratch/fr/rss/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2011-04-20-Now-hosted-on-github/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2011-01-03-Why-I-sadly-won-t-use-coffeescript/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/about/technical_details/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/04_drm/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-06-17-hide-yourself-to-analytics/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/ @@ -598,35 +598,35 @@ http://yannesposito.com/Scratch/en/blog/2009-10-Wait-to-hide-a-menu-in-jQuery/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-10-10-Secure-eMail-on-Mac-in-few-steps/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-10-30-How-to-handle-evil-IE/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-07-09-Indecidabilities/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/01_nanoc/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/about/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/softwares/ypassword/iphoneweb/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/fr/ @@ -634,62 +634,62 @@ http://yannesposito.com/Scratch/fr/blog/2010-05-19-How-to-cut-HTML-and-repair-it/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-01-04-Change-default-shell-on-Mac-OS-X/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/softwares/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/comprendre/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/c-est-parti-pour-l-aventure/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2010-06-14-multi-language-choices/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-11-12-Git-for-n00b/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/05_git_create_remote_branch/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/feed/feed.xml - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/sitemap.xml - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/fr/softwares/yclock/ - 2011-09-02 + 2011-09-08 http://yannesposito.com/Scratch/fr/blog/2009-11-12-Git-for-n00b/c-est-parti-pour-l-aventure/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/04_drm/ - 2011-09-07 + 2011-09-08 http://yannesposito.com/Scratch/en/blog/2009-12-14-Git-vs--Bzr/ - 2011-09-07 + 2011-09-08 From 7ab51181276a8f5656c9468b40039d327d433b75 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Mon, 12 Sep 2011 14:13:29 +0200 Subject: [PATCH 09/16] Removed this file --- example.txt | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 example.txt diff --git a/example.txt b/example.txt deleted file mode 100644 index c5983300e..000000000 --- a/example.txt +++ /dev/null @@ -1,6 +0,0 @@ - - - -0 ^ fi t) 4fi g_ $ -│ │ │ │ │ │ │ - x = (name_1,vision_3); #this is a comment. From 94adfae3bff24a26b2159b9184dbdc7e2ec8df77 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Tue, 13 Sep 2011 13:26:44 +0200 Subject: [PATCH 10/16] Clean up a bit --- README.md | 60 +++ Rules | 1 - config.ru | 2 + lib/css.rb | 32 -- output/Scratch/en/blog/feed/feed.xml | 164 +------ output/Scratch/en/blog/index.html | 20 +- output/Scratch/fr/blog/feed/feed.xml | 231 +-------- output/Scratch/sitemap.xml | 668 +++++++++++++-------------- output/index.html | 2 +- resources/.vimrc | 12 + 10 files changed, 444 insertions(+), 748 deletions(-) create mode 100644 README.md delete mode 100644 lib/css.rb create mode 100644 resources/.vimrc diff --git a/README.md b/README.md new file mode 100644 index 000000000..baa1cd04c --- /dev/null +++ b/README.md @@ -0,0 +1,60 @@ +# yannesposito.com + +This is the source code of yannesposito.com website. + +It is mainly a multi-language blog based on [nanoc](nanoc.stoneship.org). + +_Notice, this is not a clean system. +Mainly because I use it for some years now. +I just want it to work, not to be a nice piece of code. +But in the end I know I will make it clean._ + +What you'll need to use it: + +- [nanoc](nanoc.stoneship.org) → `gem install nanoc` +- [zsh](zsh.org) → By default installed on most good system +- A bunch of gems: `gem install ultraviolet krambook sass rainpress` + +Optionally + +- [graphviz](graphviz.org) + +Here is a short explanation of each file role: + + + config.rb → nanoc central configuration file + config.ru → Rack server configuration + config.yaml → A YAML configuration file (mostly strings) + content/ → The directory where nanoc will search most content + img_latest_blog_dir@ → A link to the latest blog image directory + latest.md@ → A link to the latest blog file + layouts/ → HTML Layouts for your webpages + lib/ → Some ruby files loaded by nanoc before generating + multi/ → Where you should write content + output/ → Where the content is loaded + Rakefile → Ruby actions + README.md → This file + resources/ → Some file I used and wanted to keep + Rules → Generation rules + tasks/ → Where I putted most of my scripts + + +Here are features I added: + + analytics.rb → Functions to add web analytics code + calendar.rb → Function show a date nicely in HTML + gitmtime.rb + graph.rb + helpers.rb + html.rb + intenseDebate.rb + macros.rb + mail.rb + multiMenu.rb + multi.rb + nanoc_item_conf.rb + repair_html.rb + syntaxColorize.rb + tag.rb + ultraviolet.rb + y.rb diff --git a/Rules b/Rules index fd19960a0..1c0aaa969 100644 --- a/Rules +++ b/Rules @@ -9,7 +9,6 @@ # CSS compile '/css/*' do - filter :no_custom_css filter :sass filter :rainpress end diff --git a/config.ru b/config.ru index 7591c9e6d..866e6b446 100644 --- a/config.ru +++ b/config.ru @@ -1,3 +1,5 @@ +# This file is needed if you want to host this website +# using ruby rack. In particular on heroku. require 'rubygems' require 'rack' require 'rack/contrib' diff --git a/lib/css.rb b/lib/css.rb deleted file mode 100644 index 0dada1386..000000000 --- a/lib/css.rb +++ /dev/null @@ -1,32 +0,0 @@ -class NoCustomCSS < Nanoc3::Filter - identifier :no_custom_css - def run(content, params={}) - res="" - content.each do |line| - res <<= line if not res=~/^\s*-(moz|webkit)/ - end - return res - end -end - -class MozillaCSS < Nanoc3::Filter - identifier :mozilla - def run(content, params={}) - res="" - content.each do |line| - res <<= line if not res=~/-webkit/ - end - return res - end -end - -class WebkitCSS < Nanoc3::Filter - identifier :webkit - def run(content, params={}) - res="" - content.each do |line| - res <<= line if not res=~/-moz/ - end - return res - end -end diff --git a/output/Scratch/en/blog/feed/feed.xml b/output/Scratch/en/blog/feed/feed.xml index 108b1959c..50de5f134 100644 --- a/output/Scratch/en/blog/feed/feed.xml +++ b/output/Scratch/en/blog/feed/feed.xml @@ -14,10 +14,6 @@ Learn Vim Progressively 2011-08-25T17:28:20Z 2011-08-25T17:28:20Z - - Yann Esposito - yannesposito.com - <p><img alt="Über leet use vim!" src="/Scratch/img/blog/Learn-Vim-Progressively/uber_leet_use_vim.jpg" /></p> @@ -52,10 +48,6 @@ Hard to learn, but incredible to use.</p> A more convenient diff 2011-08-17T09:33:30Z 2011-08-17T09:33:30Z - - Yann Esposito - yannesposito.com - <p>Diff is a very useful tool. But it is not so easy to read for us, simple mortal.</p> @@ -78,10 +70,6 @@ function colorize_diff { ASCII Haskell Mandelbrot 2011-07-10T10:41:26Z 2011-07-10T10:41:26Z - - Yann Esposito - yannesposito.com - <p>Here is the obfuscated code:</p> @@ -96,10 +84,6 @@ a=27;b=79;c=<span class="Constant">C</span>(-2.0,-1.0);d=<span cl 40 character's passwords 2011-05-18T11:14:28Z 2011-05-18T11:14:28Z - - Yann Esposito - yannesposito.com - <p><img alt="Title image" src="/Scratch/img/blog/Password-Management/main.png" /></p> @@ -129,10 +113,6 @@ It is both safe and easy to use everyday.</p> Now hosted on github 2011-04-20T15:22:15Z 2011-04-20T15:22:15Z - - Yann Esposito - yannesposito.com - <p><img alt="Title image" src="/Scratch/img/blog/2011-04-20-Now-hosted-on-github/main.png" /></p> @@ -144,10 +124,6 @@ It is both safe and easy to use everyday.</p> Why I won't use CoffeeScript (sadly) 2011-01-03T08:37:26Z 2011-01-03T08:37:26Z - - Yann Esposito - yannesposito.com - <p><img alt="Title image" src="/Scratch/img/blog/2011-01-03-Why-I-sadly-won-t-use-coffeescript/main.png" /></p> @@ -180,10 +156,6 @@ And as Denis said: &ldquo;it is time to use Coffeescript as a javascript wit Happy New Year 2011-01-01T06:55:54Z 2011-01-01T06:55:54Z - - Yann Esposito - yannesposito.com - <p>Happy New Year!</p> @@ -202,10 +174,6 @@ But I will revive a bit this blog.</p> LaTeX like macro for markdown 2010-10-26T12:30:58Z 2010-10-26T12:30:58Z - - Yann Esposito - yannesposito.com - <div class="intro"> @@ -225,10 +193,6 @@ When we are used to <span style="text-transform: uppercase">L<sup style Fun with wav 2010-10-14T09:04:58Z 2010-10-14T09:04:58Z - - Yann Esposito - yannesposito.com - <div class="intro"> @@ -256,10 +220,6 @@ This is even more impressive know...</p> Secure eMail on Mac in few steps 2010-10-10T16:39:00Z 2010-10-10T16:39:00Z - - Yann Esposito - yannesposito.com - <p><img alt="Title image" src="/Scratch/img/blog/2010-10-10-Secure-eMail-on-Mac-in-few-steps/main.png" class="clean" /></p> @@ -294,10 +254,6 @@ Now I&rsquo;m able to sign and encrypt my emails.</p> New Blog Design Constraints 2010-10-06T09:33:03Z 2010-10-06T09:33:03Z - - Yann Esposito - yannesposito.com - <p>I changed the design of my blog. Now it should be far cleaner. @@ -322,10 +278,6 @@ Then my new design obey to the following rules:</p> Use git to calculate trusted mtimes 2010-09-02T13:54:10Z 2010-09-02T13:54:10Z - - Yann Esposito - yannesposito.com - <p>You can remark at the bottom of each page I provide a last modification date. This label was first calculated using the <code>mtime</code> of the file on the file system. @@ -341,14 +293,10 @@ This is how I do this with <a href="http://nanoc.stoneship.org">nanoc</ <span class="Keyword">def</span> </pre></div></div> - tag:yannesposito.com,2010-09-02:/Scratch/en/blog/2010-09-02-base64-and-sha1-on-iPhone/ + tag:yannesposito.com,2010-09-01:/Scratch/en/blog/2010-09-02-base64-and-sha1-on-iPhone/ base64 and sha1 on iPhone 2010-09-01T22:02:17Z 2010-09-01T22:02:17Z - - Yann Esposito - yannesposito.com - <p>Lets be straight: here are two functions to add to your code to have <code>base64</code> and <code>hexadecimal</code> version of the <code>sha1</code> hash of an NSString.</p> @@ -367,10 +315,6 @@ here are two functions to add to your code to have <code>base64</code&g send mail from command line with attached file 2010-08-31T08:16:04Z 2010-08-31T08:16:04Z - - Yann Esposito - yannesposito.com - <p>I had to send a mail using only command line. I was surprised it isn&rsquo;t straightforward at all. @@ -398,10 +342,6 @@ begin 664 fic....</pre> Now hosted by heroku 2010-08-23T13:05:13Z 2010-08-23T13:05:13Z - - Yann Esposito - yannesposito.com - <h1 class="first" id="now-on-herokuhttpherokucom">Now on <a href="http://heroku.com">Heroku</a></h1> @@ -423,10 +363,6 @@ But here is the conf to make it work on heroku.</p> Undecidabilities (part 1) 2010-08-11T08:04:31Z 2010-08-11T08:04:31Z - - Yann Esposito - yannesposito.com - <div class="intro"> @@ -469,10 +405,6 @@ And I&rsquo;ll...</p></div> New style after holidays 2010-07-31T21:59:10Z 2010-07-31T21:59:10Z - - Yann Esposito - yannesposito.com - <p>Before my holidays many visitors tell me my website was too long to scroll. This is why I completely changed my website design. @@ -487,10 +419,6 @@ I was inspired by Readability and iBooks<small>&copy;</small> (t Do not use CSS gradient with Chrome 2010-07-07T13:43:43Z 2010-07-07T13:43:43Z - - Yann Esposito - yannesposito.com - <p>Some <a href="http://reddit.com">Reddit</a> users reported my website was really long to load and to scroll. They thinks it was because of the &lsquo;1px shadow&rsquo; I apply on all the text. @@ -512,10 +440,6 @@ I was a bit surprised, because I make some test into a really <em>slow< Cappuccino vs jQuery 2010-07-05T11:49:04Z 2010-07-05T11:49:04Z - - Yann Esposito - yannesposito.com - <div class="intro"> @@ -543,14 +467,10 @@ I was a bit surprised, because I make some test into a really <em>slow< Nonetheless I used these two to make the same web application. This is why I compare the exp...</p></div></hr> - tag:yannesposito.com,2010-06-19:/Scratch/en/blog/2010-06-19-jQuery-popup-the-easy-way/ + tag:yannesposito.com,2010-06-18:/Scratch/en/blog/2010-06-19-jQuery-popup-the-easy-way/ jQuery popup the easy way 2010-06-18T22:44:50Z 2010-06-18T22:44:50Z - - Yann Esposito - yannesposito.com - <p>Some source code on this blog can be downloaded. Most of time, the code is larger than the <code>div</code> bloc. @@ -569,10 +489,6 @@ This is why I use a method to show this code in a large jQuery popup. </p> Hide Yourself to your Analytics 2010-06-17T14:37:22Z 2010-06-17T14:37:22Z - - Yann Esposito - yannesposito.com - <p>This is a way not to count your own visits to your blog. First you should look on how <a href="/Scratch/en/blog/2010-06-17-track-events-with-google-analytics">I handle analytics</a>. All analytics are handled in one javascript file, this make things really convenient.</p> @@ -591,10 +507,6 @@ First you should look on how <a href="/Scratch/en/blog/2010-06-17-track-event Track Events with Google Analytics 2010-06-17T12:41:36Z 2010-06-17T12:41:36Z - - Yann Esposito - yannesposito.com - <p>Here is how to track all clicks on your website using google analytics asynchronously.</p> @@ -608,10 +520,6 @@ First you should look on how <a href="/Scratch/en/blog/2010-06-17-track-event Get my blog engine 2010-06-15T08:56:32Z 2010-06-15T08:56:32Z - - Yann Esposito - yannesposito.com - <p>I published a <em>light</em> version of my blog engine based on <a href="http://nanoc.stoneship.org">nanoc</a> yesterday night. By <em>light</em>, I mean a lighter, more portable CSS (without round border). You can get it on <a href="http://github.com/yogsototh/nanoc3_blog">github.com</a>.</p> @@ -632,10 +540,6 @@ You can get it on <a href="http://github.com/yogsototh/nanoc3_blog">github multi language choices 2010-06-14T14:14:57Z 2010-06-14T14:14:57Z - - Yann Esposito - yannesposito.com - <p>I translate most of my blog entries in French and English. Most people advice me to have one file per language. Generally it ends with:</p> @@ -668,10 +572,6 @@ Finally my files...</p> Trees; Pragmatism and Formalism 2010-05-24T18:05:14Z 2010-05-24T18:05:14Z - - Yann Esposito - yannesposito.com - <div class="intro"> @@ -704,10 +604,6 @@ I entered in the <em>infernal</em>: ...</p> How to repair a cutted XML? 2010-05-19T20:20:34Z 2010-05-19T20:20:34Z - - Yann Esposito - yannesposito.com - <p>For my main page, you can see, a list of my latest blog entry. And you have the first part of each article. To accomplish that, I needed to include the begining of the entry and to cut it somewhere. But now, I had to repair this cutted HTML.</p> @@ -722,10 +618,6 @@ I entered in the <em>infernal</em>: ...</p> I live again! 2010-05-17T11:25:51Z 2010-05-17T11:25:51Z - - Yann Esposito - yannesposito.com - <p>Hi all!</p> @@ -747,10 +639,6 @@ I entered in the <em>infernal</em>: ...</p> Encapsulate git 2010-03-23T20:37:36Z 2010-03-23T20:37:36Z - - Yann Esposito - yannesposito.com - <div class="intro"> Here is a solution to maintain divergent branches in git. Because it is easy to merge by mistake. I give a script that encapsulate git in order to forbid some merge and warn you some merge should be dangerous. @@ -777,10 +665,6 @@ clientB: project adapted for client B</p> Git Tips 2010-03-22T08:42:27Z 2010-03-22T08:42:27Z - - Yann Esposito - yannesposito.com - <h2 class="first" id="clone-from-github-behind-an-evil-firewall">clone from github behind an evil firewall</h2> @@ -818,10 +702,6 @@ $ git ...</pre></div> When regexp is not the best solution 2010-02-23T08:09:52Z 2010-02-23T08:09:52Z - - Yann Esposito - yannesposito.com - <p>Regular expression are really useful. Unfortunately, they are not always the best way of doing things. Particularly when transformations you want to make are easy.</p> @@ -838,10 +718,6 @@ ext<span class="Keyword">=</span><span class="Variable"><sp split a file by keyword 2010-02-18T13:29:14Z 2010-02-18T13:29:14Z - - Yann Esposito - yannesposito.com - <p>Strangely enough, I didn&rsquo;t find any built-in tool to split a file by keyword. I made one myself in <code>awk</code>. I put it here mostly for myself. But it could also helps someone else. The following code split a file for each line containing the word <code>UTC</code>.</p> @@ -860,10 +736,6 @@ The following code split a file for each line containing the word <code>UT Pragmatic Regular Expression Exclude (2) 2010-02-16T08:33:21Z 2010-02-16T08:33:21Z - - Yann Esposito - yannesposito.com - <p>In my <a href="previouspost">previous post</a> I had given some trick to match all except something. On the same idea, the trick to match the smallest possible string. Say you want to match the string between &lsquo;a&rsquo; and &lsquo;b&rsquo;, for example, you want to match:</p> @@ -889,10 +761,6 @@ a.....<span class="Constant"><strong>a......b</strong></spa Pragmatic Regular Expression Exclude 2010-02-15T09:16:12Z 2010-02-15T09:16:12Z - - Yann Esposito - yannesposito.com - <p>Sometimes you cannot simply write:</p> @@ -911,10 +779,6 @@ a.....<span class="Constant"><strong>a......b</strong></spa antialias font in Firefox under Ubuntu 2010-01-12T14:36:40Z 2010-01-12T14:36:40Z - - Yann Esposito - yannesposito.com - <p>How to stop using bad Microsoft© font under Ubuntu Linux in order to user nice anti aliased font under Firefox.</p> @@ -932,10 +796,6 @@ a.....<span class="Constant"><strong>a......b</strong></spa Change default shell on Mac OS X 2010-01-04T10:31:47Z 2010-01-04T10:31:47Z - - Yann Esposito - yannesposito.com - <p>I just found a way to change the default shell on Mac OS X. This note is mostly for me, but somebody else should find it useful. Just launch the following command: </p> @@ -949,10 +809,6 @@ a.....<span class="Constant"><strong>a......b</strong></spa Git vs. Bzr 2009-12-14T08:46:36Z 2009-12-14T08:46:36Z - - Yann Esposito - yannesposito.com - <div class="intro"> @@ -975,10 +831,6 @@ a.....<span class="Constant"><strong>a......b</strong></spa iphone call filter 2009-12-06T09:35:34Z 2009-12-06T09:35:34Z - - Yann Esposito - yannesposito.com - <p>It is unbelievable you cannot filter your call with an iPhone! The only reason I see for that is a negotiation with phone operator to force users to get phone advertising. It is simple unacceptable.</p> @@ -990,10 +842,6 @@ a.....<span class="Constant"><strong>a......b</strong></spa Git for n00b 2009-11-12T09:39:54Z 2009-11-12T09:39:54Z - - Yann Esposito - yannesposito.com - <h1 class="first" id="command-list">Command List</h1> @@ -1023,10 +871,6 @@ $ g...</pre></div> Git for n00b 2009-11-12T09:39:54Z 2009-11-12T09:39:54Z - - Yann Esposito - yannesposito.com - <div class="intro"> @@ -1058,10 +902,6 @@ git clone ssh...</pre></div> Git for n00b 2009-11-12T09:39:54Z 2009-11-12T09:39:54Z - - Yann Esposito - yannesposito.com - <h1 class="first" id="here-we-go">Here we go!</h1> diff --git a/output/Scratch/en/blog/index.html b/output/Scratch/en/blog/index.html index 2849b5522..e767f6dd4 100644 --- a/output/Scratch/en/blog/index.html +++ b/output/Scratch/en/blog/index.html @@ -429,7 +429,7 @@ It is both safe and easy to use everyday.

    • - 19 + 18 Jun 2010 @@ -888,7 +888,7 @@ It is both safe and easy to use everyday.

iPhone

Objective-C

Programming

- Modified: 09/08/2011 + Modified: 09/12/2011
Entirely done with diff --git a/resources/.vimrc b/resources/.vimrc new file mode 100644 index 000000000..d4afa97b8 --- /dev/null +++ b/resources/.vimrc @@ -0,0 +1,12 @@ +" Add this to your vimrc file to use my two split view with multiple language + +autocmd BufRead *latest.md set foldenable +autocmd BufRead *latest.md set foldlevel=0 +autocmd BufRead *latest.md set foldminlines=0 +autocmd BufRead *latest.md set foldmethod=expr +autocmd BufRead *latest.md set foldtext='' +autocmd BufRead *latest.md set scrollbind +autocmd BufRead *latest.md set foldexpr=getline(v:lnum)=~'^en:\ .*$' +autocmd BufRead *latest.md vsplit +autocmd BufRead *latest.md set foldexpr=getline(v:lnum)=~'^fr:\ .*$' +autocmd BufRead *latest.md set spell From 53717f4e9649c0e3182b01684df852365f390a3d Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 14 Sep 2011 09:51:52 +0200 Subject: [PATCH 11/16] Reorgarnization --- README.md | 18 +++++++++--------- lib/blog.rb | 19 +++++++++++++++++++ lib/helpers.rb | 1 - lib/multiMenu.rb | 25 ++++++++----------------- output/index.html | 2 +- 5 files changed, 37 insertions(+), 28 deletions(-) create mode 100644 lib/blog.rb diff --git a/README.md b/README.md index baa1cd04c..e560dd0a8 100644 --- a/README.md +++ b/README.md @@ -43,15 +43,15 @@ Here are features I added: analytics.rb → Functions to add web analytics code calendar.rb → Function show a date nicely in HTML - gitmtime.rb - graph.rb - helpers.rb - html.rb - intenseDebate.rb - macros.rb - mail.rb - multiMenu.rb - multi.rb + gitmtime.rb → Show time using git last change log + graph.rb → Use graphviz to draw graphs + helpers.rb → Some standard nanoc helpers are added + html.rb → Layout block helper + intenseDebate.rb → IntenseDebate integration + macros.rb → Macros system (%latex => LaTeX, etc...) + mail.rb → My uniquely encoded personal email + multiMenu.rb → The machinery for the menu + multi.rb → The machinery for helping to be multi-language nanoc_item_conf.rb repair_html.rb syntaxColorize.rb diff --git a/lib/blog.rb b/lib/blog.rb new file mode 100644 index 000000000..4c0978998 --- /dev/null +++ b/lib/blog.rb @@ -0,0 +1,19 @@ +# Helper to find an image corresponding to the current +# article +def blogimage(val,title="no name", divclass=nil) + if depthOf( @item ) == 4 + imgpath=@item.parent.path + else + imgpath=@item.path + end + imgpath=imgpath.sub(%r{#{@config[:webprefix]}/../},@config[:webprefix]+'/img/')+val + if not divclass.nil? + cls=%{ class="#{divclass}"} + end + return %{#{title}} +end + +# Return a blog image with class left added +def leftblogimage(val,title="no name") + return blogimage(val, title, "left") +end diff --git a/lib/helpers.rb b/lib/helpers.rb index 4e0ded6a9..c68bad653 100644 --- a/lib/helpers.rb +++ b/lib/helpers.rb @@ -7,7 +7,6 @@ # <% content_for :summary do %> # Sommaire que je veux ecrire # <% end %> -# # Pour remplir à la fois le texte et le sommaire include Nanoc3::Helpers::Capturing diff --git a/lib/multiMenu.rb b/lib/multiMenu.rb index 0537a03cf..3ef77eea8 100644 --- a/lib/multiMenu.rb +++ b/lib/multiMenu.rb @@ -1,14 +1,17 @@ +# give item corresponding to the homepage of the current language def homepage @items.find do |i| i.reps[0].path == %{#{@config[:webprefix]}/#{@conf.language}/} end end +# Explicit, give the children of a node in the menu, sorted by menu priority def sortedChildrenByMenuPriority(item) item.children.reject{|p| p[:isHidden]}. sort!{|x,y| x[:menupriority] <=> y[:menupriority]} end +# Generate the menu for the current item def generateMenu home=homepage if home.nil? @@ -22,6 +25,7 @@ def generateMenu "
  • "+liste.join("
  • \n
  • ")+"
" end +# get the depth of an item in the menu def depthOf(item) res=0 while item.parent != nil @@ -31,6 +35,8 @@ def depthOf(item) return res end +# get the list of item children of a node sorted +# by menupriority or date depending of the kind fo page def getSortedChildren(parent) if parent[:kind] == "blog" return parent.children.reject{|p| p[:isHidden]}.sort!{|x,y| x[:created_at] <=> y[:created_at] } @@ -39,6 +45,7 @@ def getSortedChildren(parent) end end +# For the page blog, the submenu is very specific def generateBlogSubMenu(language) year=0 res="" @@ -63,6 +70,7 @@ def generateBlogSubMenu(language) end end +# Generate a submenu, not always needed def generateSubMenu() if @item[:noSubMenu] return @@ -102,23 +110,6 @@ def generateSubMenu() end # ======================= -def blogimage(val,title="no name", divclass=nil) - if depthOf( @item ) == 4 - imgpath=@item.parent.path - else - imgpath=@item.path - end - imgpath=imgpath.sub(%r{#{@config[:webprefix]}/../},@config[:webprefix]+'/img/')+val - if not divclass.nil? - cls=%{ class="#{divclass}"} - end - return %{#{title}} -end - -def leftblogimage(val,title="no name") - return blogimage(val, title, "left") -end - def lnkto(title,item) language=@item_rep.path.sub(/#{@config[:webprefix]}\//,'').sub(/\/.*$/,'') link_to(title, "#{@config[:webprefix]}/#{language}"+item) diff --git a/output/index.html b/output/index.html index 63c264881..37f9aa207 100644 --- a/output/index.html +++ b/output/index.html @@ -188,7 +188,7 @@ Copyright ©, Yann Esposito
- Modified: 09/12/2011 + Modified: 09/13/2011
Entirely done with From 29e7957bbbeb3e37a747a44320ef0b8df270b189 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 14 Sep 2011 10:30:36 +0200 Subject: [PATCH 12/16] Fixed repair_html The newcorps macro make it possible to have an intermediate -1 depth during the repair. Now it doesn't show any warning for that. It also show an ERROR if the final depth is <0 correctly. --- lib/repair_html.rb | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/lib/repair_html.rb b/lib/repair_html.rb index dc2f9d324..87222b809 100644 --- a/lib/repair_html.rb +++ b/lib/repair_html.rb @@ -11,36 +11,23 @@ def repair_html( html, debug=false ) depth=0 html.scan( %r{<(/?)(\w*)([^>]*)>} ).each do |m| if m[-1] == "/" - if debug - puts 'IGNORE: <'+m[0]+m[1]+'/>' + depth.to_s - puts 'parents='+parents.join('; ') - end next end if m[0] == "" parents[depth]=m[1] depth+=1 - if debug - puts '<'+m[0]+m[1]+'> ' + depth.to_s - puts 'parents='+parents.join('; ') - end else depth-=1 - if (not debug) and (depth <0) - puts 'ERROR repair_html !' - # puts 'HTML: ' + html - # puts '---' - # repair_html(html,true) - # puts 'END_ERROR' - end - if debug - puts '<'+m[0]+m[1]+'> ' + depth.to_s + # -1 is normal for my layout + if (depth <= -2) + puts "WARNING: Intermiedate Depth <= -2" end end end res=html.sub(/<[^>]*$/m,'') depth -= 1 - if (depth < 0) + if (depth < -1) + puts "ERROR: Final Depth < 0" parents=[] depth=0 html.scan( %r{<(/?)(\w*)[^>]*(/?)>} ).each do |m| From 60ca6b060462c5331694e5c2a662fa7712008c29 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 14 Sep 2011 10:35:16 +0200 Subject: [PATCH 13/16] Upgraded git time to handle any file name --- ...2010-09-02-Use-git-to-calculate-trusted-mtimes.md | 5 +++-- ...2010-09-02-Use-git-to-calculate-trusted-mtimes.md | 5 +++-- lib/gitmtime.rb | 2 +- ...2010-09-02-Use-git-to-calculate-trusted-mtimes.md | 8 +++++--- .../code/gitmtime.rb | 2 +- .../index.html | 5 +++-- output/Scratch/en/blog/feed/feed.xml | 12 ++++++------ output/Scratch/en/index.html | 2 +- .../code/gitmtime.rb | 2 +- .../index.html | 5 +++-- output/Scratch/fr/blog/feed/feed.xml | 12 ++++++------ output/Scratch/fr/index.html | 2 +- output/Scratch/sitemap.xml | 4 ++-- output/index.html | 2 +- 14 files changed, 37 insertions(+), 31 deletions(-) diff --git a/content/html/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md b/content/html/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md index be71574f4..eab5e9c6d 100644 --- a/content/html/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md +++ b/content/html/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md @@ -27,7 +27,7 @@ def gitmtime ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? @@ -43,4 +43,5 @@ But it works as expected. Now the date you see at the bottom is exactly the date I modified the _content_ of the page. -Thanks to Eric Sunshine to provide me some hints at cleaning my code. +_Edit_: +Thanks to Eric Sunshine and Kris to provide me some hints at cleaning my code. diff --git a/content/html/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md b/content/html/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md index a95c1a01e..d019da167 100644 --- a/content/html/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md +++ b/content/html/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md @@ -27,7 +27,7 @@ def gitmtime ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? @@ -43,4 +43,5 @@ Bien entendu je sais que c'est très lent et absolument pas optimisé. Mais ça fonctionne comme prévu. Maintenant la date que vous voyez en bas de la page correspond exactement à la dernière date de modification de son contenu. -Je tiens à remercier Eric Sunshine pour ses conseils sur ce problème. +_Mise à jour_: +Je tiens à remercier Eric Sunshine et Kris pour leurs conseils sur ce problème. diff --git a/lib/gitmtime.rb b/lib/gitmtime.rb index 49f8cf571..82671298f 100644 --- a/lib/gitmtime.rb +++ b/lib/gitmtime.rb @@ -3,7 +3,7 @@ def gitmtime ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? diff --git a/multi/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md b/multi/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md index 470ebb94c..eda4616cf 100644 --- a/multi/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md +++ b/multi/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes.md @@ -35,7 +35,7 @@ def gitmtime ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? @@ -54,5 +54,7 @@ fr: Bien entendu je sais que c'est très lent et absolument pas optimisé. fr: Mais ça fonctionne comme prévu. fr: Maintenant la date que vous voyez en bas de la page correspond exactement à la dernière date de modification de son contenu. -en: Thanks to Eric Sunshine to provide me some hints at cleaning my code. -fr: Je tiens à remercier Eric Sunshine pour ses conseils sur ce problème. +en: _Edit_: +en: Thanks to Eric Sunshine and Kris to provide me some hints at cleaning my code. +fr: _Mise à jour_: +fr: Je tiens à remercier Eric Sunshine et Kris pour leurs conseils sur ce problème. diff --git a/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb b/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb index 181b11b14..0617e0637 100644 --- a/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb +++ b/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb @@ -4,7 +4,7 @@ def gitmtime ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? diff --git a/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html b/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html index 1bda20e6d..746085ded 100644 --- a/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html +++ b/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html @@ -74,7 +74,7 @@ This is how I do this with nanoc:

ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? @@ -90,7 +90,8 @@ This is how I do this with nanoc:

But it works as expected. Now the date you see at the bottom is exactly the date I modified the content of the page.

-

Thanks to Eric Sunshine to provide me some hints at cleaning my code.

+

Edit: +Thanks to Eric Sunshine and Kris to provide me some hints at cleaning my code.

diff --git a/output/Scratch/en/blog/feed/feed.xml b/output/Scratch/en/blog/feed/feed.xml index 50de5f134..9f9d142bd 100644 --- a/output/Scratch/en/blog/feed/feed.xml +++ b/output/Scratch/en/blog/feed/feed.xml @@ -167,7 +167,7 @@ But I will revive a bit this blog.</p> <p>I had written an efficient <em>&amp;</em> simplistic MVC javascript framework.</p> <p>Best wishes for <em>2011</em>!</p> -</p> + tag:yannesposito.com,2010-10-26:/Scratch/en/blog/2010-10-26-LaTeX-like-macro-and-markdown/ @@ -271,7 +271,7 @@ Then my new design obey to the following rules:</p> </ul> <p>I hope the new design please you.</p> -</p> + tag:yannesposito.com,2010-09-02:/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ @@ -412,7 +412,7 @@ Now all should scroll smoothly on all platforms. I was inspired by Readability and iBooks<small>&copy;</small> (the iPhone<small>&copy;</small> application).</p> <p>Tell me what you think of this new design.</p> -</p> + tag:yannesposito.com,2010-07-07:/Scratch/en/blog/2010-07-07-CSS-rendering-problems-by-navigator/ @@ -772,7 +772,7 @@ a.....<span class="Constant"><strong>a......b</strong></spa <p>and you have to make this behaviour with only one regular expression. The problem is the complementary of regular languages is not regular. Then, for some expression it is absolutely not impossible.</p> -<p>But sometimes with some simple regular expression it should be possible<sup><a href="#note1">&dagger;</a></sup>. Say you want to match everything containing the some word say <code>bull</code> but don&rsquo;t want to match <code>bullshit</code>. Here is a nice way to do that:</p>...</p> +<p>But sometimes with some simple regular expression it should be possible<sup><a href="#note1">&dagger;</a></sup>. Say you want to match everything containing the some word say <code>bull</code> but don&rsquo;t want to match <code>bullshit</code>. Here is a nice way to do that:</p>... tag:yannesposito.com,2010-01-12:/Scratch/en/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/ @@ -802,7 +802,7 @@ a.....<span class="Constant"><strong>a......b</strong></spa <div><pre class="twilight"> <span class="Keyword">&gt;</span> chsh </pre></div> -</div> + tag:yannesposito.com,2009-12-14:/Scratch/en/blog/2009-12-14-Git-vs--Bzr/ @@ -835,7 +835,7 @@ a.....<span class="Constant"><strong>a......b</strong></spa <p>It is unbelievable you cannot filter your call with an iPhone! The only reason I see for that is a negotiation with phone operator to force users to get phone advertising. It is simple unacceptable.</p> <p>I&rsquo;m a λ iPhone&rsquo;s user. The only way to filter your call and to manage blacklist is to <em>jailbreak</em> your iPhone. And I don&rsquo;t want to do that. Then, if like me you find it unacceptable, just write a line to Apple: <a href="http://www.apple.com/feedback/iphone.html">http://www.apple.com/feedback/iphone.html</a></p> -</p> + tag:yannesposito.com,2009-11-12:/Scratch/en/blog/2009-11-12-Git-for-n00b/commandes-avancees/ diff --git a/output/Scratch/en/index.html b/output/Scratch/en/index.html index 4743b7665..01d14ccd1 100644 --- a/output/Scratch/en/index.html +++ b/output/Scratch/en/index.html @@ -103,7 +103,7 @@ Copyright ©, Yann Esposito
- Modified: 04/20/2011 + Modified: 09/14/2011
Entirely done with diff --git a/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb b/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb index 181b11b14..0617e0637 100644 --- a/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb +++ b/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/code/gitmtime.rb @@ -4,7 +4,7 @@ def gitmtime ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? diff --git a/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html b/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html index 2bbe8bb23..62bf4af0b 100644 --- a/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html +++ b/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html @@ -74,7 +74,7 @@ Voici comment je m’y prend avec nanoc ext=%{.#{@item[:extension]}} filepath<<=ext if not FileTest.exists?(filepath) - filepath.sub!(ext,%{/index#{ext}}) + filepath.sub!(ext,%{#{@item.raw_filename}#{ext}}) end str=`git log -1 --format='%ci' -- #{filepath}` if str.nil? or str.empty? @@ -90,7 +90,8 @@ Voici comment je m’y prend avec nanoc Mais ça fonctionne comme prévu. Maintenant la date que vous voyez en bas de la page correspond exactement à la dernière date de modification de son contenu.

-

Je tiens à remercier Eric Sunshine pour ses conseils sur ce problème.

+

Mise à jour: +Je tiens à remercier Eric Sunshine et Kris pour leurs conseils sur ce problème.

diff --git a/output/Scratch/fr/blog/feed/feed.xml b/output/Scratch/fr/blog/feed/feed.xml index b3cf1cc5e..b38f85d6c 100644 --- a/output/Scratch/fr/blog/feed/feed.xml +++ b/output/Scratch/fr/blog/feed/feed.xml @@ -155,7 +155,7 @@ Je n&rsquo;en ai pas encore terminé avec ça. Mais si je tarde trop <p>J&rsquo;ai écrit un framework MVC pour application javascript simple mais néanmoins très rapide.</p> <p>Meilleurs vœux à tous&nbsp;!</p> -</p> +
tag:yannesposito.com,2010-10-26:/Scratch/fr/blog/2010-10-26-LaTeX-like-macro-and-markdown/ @@ -246,7 +246,7 @@ J&rsquo;ai donc décidé de faire un site à minima. Je voulais qu&rsquo;il soit joli <em>et</em> le plus simple possible pour assurer sa compatibilité. Les règles que je me suis fixées sont donc:</p> -</p> + tag:yannesposito.com,2010-09-02:/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ @@ -372,7 +372,7 @@ J&rsquo;ai complètement modifié le style de mon site web. Il est inspiré du style de l&rsquo;application iBooks<small>&copy;</small> sur iPhone<small>&copy;</small>.</p> <p>Dites moi ce que vous pensez de ce nouveau design.</p> -</p> + tag:yannesposito.com,2010-07-07:/Scratch/fr/blog/2010-07-07-CSS-rendering-problems-by-navigator/ @@ -601,7 +601,7 @@ Parce qu&rsquo;il est facile de <em>merger</em> par erreur, je p <p>Disons que j&rsquo;ai les branches&nbsp;:</p> -...</p> +... tag:yannesposito.com,2010-03-22:/Scratch/fr/blog/2010-03-22-Git-Tips/ @@ -736,7 +736,7 @@ a.....<span class="Constant"><strong>a......b</strong></spa <div><pre class="twilight"> <span class="Keyword">&gt;</span> chsh </pre></div> -</div> + tag:yannesposito.com,2009-12-14:/Scratch/fr/blog/2009-12-14-Git-vs--Bzr/ @@ -769,7 +769,7 @@ a.....<span class="Constant"><strong>a......b</strong></spa <p>Il est vraiment incroyable que le filtrage d&rsquo;appel soit impossible avec un iPhone&nbsp;! Le <em>seul</em> intérêt que j&rsquo;y vois, c&rsquo;est une négociation avec les opérateurs pour interdire aux utilisateurs de passer à travers la publicité. C&rsquo;est tout simplement inacceptable.</p> <p>Je suis un utilisateur λ de l&rsquo;iPhone. Le seul moyen de filtrer ses appels, de faire des blacklists ou autre c&rsquo;est de <em>jailbreaker</em> son iPhone. Et je n&rsquo;en ai aucune envie. Alors si comme moi, vous trouvez ça inacceptable, envoyez un mot à Apple&nbsp;: <a href="http://www.apple.com/feedback/iphone.html">http://www.apple.com/feedback/iphone.html</a></p> -</p> + tag:yannesposito.com,2009-11-12:/Scratch/fr/blog/2009-11-12-Git-for-n00b/c-est-parti-pour-l-aventure/ diff --git a/output/Scratch/fr/index.html b/output/Scratch/fr/index.html index 7ae93d05a..89d5ea92c 100644 --- a/output/Scratch/fr/index.html +++ b/output/Scratch/fr/index.html @@ -148,7 +148,7 @@ Droits de reproduction ©, Yann Esposito
- modifié le : 20/04/2011 + modifié le : 14/09/2011
Site entièrement réalisé avec diff --git a/output/Scratch/sitemap.xml b/output/Scratch/sitemap.xml index 509324cd4..436b0da5b 100644 --- a/output/Scratch/sitemap.xml +++ b/output/Scratch/sitemap.xml @@ -206,7 +206,7 @@ http://yannesposito.com/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ - 2011-09-12 + 2011-09-14 http://yannesposito.com/Scratch/en/blog/2010-07-07-CSS-rendering-problems-by-navigator/ @@ -270,7 +270,7 @@ http://yannesposito.com/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/ - 2011-09-12 + 2011-09-14 http://yannesposito.com/Scratch/en/blog/03_losthighway/ diff --git a/output/index.html b/output/index.html index 37f9aa207..9449d4190 100644 --- a/output/index.html +++ b/output/index.html @@ -188,7 +188,7 @@ Copyright ©, Yann Esposito
- Modified: 09/13/2011 + Modified: 09/14/2011
Entirely done with From 215676dbc5548b50e21accf80d953013bf04ad64 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 14 Sep 2011 10:39:40 +0200 Subject: [PATCH 14/16] regeneration --- .../2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html | 2 +- .../2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html b/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html index 746085ded..6bbbb3dd8 100644 --- a/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html +++ b/output/Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html @@ -189,7 +189,7 @@ Thanks to Eric Sunshine and Kris to provide me some hints at cleaning my code.
Created: 09/02/2010 - Modified: 04/20/2011 + Modified: 09/14/2011
Entirely done with diff --git a/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html b/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html index 62bf4af0b..3f12c2ab6 100644 --- a/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html +++ b/output/Scratch/fr/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html @@ -189,7 +189,7 @@ Je tiens à remercier Eric Sunshine et Kris pour leurs conseils sur ce problème
Écrit le : 02/09/2010 - modifié le : 20/04/2011 + modifié le : 14/09/2011
Site entièrement réalisé avec From 9b02d7b5584d87f4e4993c0cf7d37de2118ef691 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Fri, 16 Sep 2011 13:40:53 +0200 Subject: [PATCH 15/16] Fixed a small display error for .encadre --- content/css/main.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/css/main.css b/content/css/main.css index 2f4f809b9..bda9843dd 100644 --- a/content/css/main.css +++ b/content/css/main.css @@ -10,6 +10,7 @@ $secondRevealColor: #e25f2f $lighterRevealColor: #ffbe96 $imageBackgroundColor: $mainBackgroundColor $imageBorderColor: #cccccc +$borderColor: #cccccc $mainLinkColor: $mainTextColor $textLinkColor: #555555 $highlightColor: #888888 @@ -50,6 +51,9 @@ $codeBlockBackgroundColor: $behindColor =secondColor color: $behindColor + border: $borderColor solid 1px + border-radius: 5px + box-shadow: 0 0 2px $borderColor inset background: color: $lighterColor a @@ -354,9 +358,7 @@ $hauteur_menu: 4em $contentMargin: 0em .encadre, .black, .red, .intro, .resume, .shadow - padding: - left: 2em - right: 2em + padding: 2em margin: top: 2em bottom: 2em From 73e3b7642abec58e913229c9976e411488eaff17 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Tue, 27 Sep 2011 17:02:02 +0200 Subject: [PATCH 16/16] Started a new blog entry --- img_latest_blog_dir | 2 +- latest.md | 2 +- multi/blog/Higher-order-function-in-zsh.md | 90 ++++++++++++++++++++++ 3 files changed, 92 insertions(+), 2 deletions(-) create mode 100644 multi/blog/Higher-order-function-in-zsh.md diff --git a/img_latest_blog_dir b/img_latest_blog_dir index 15ee19c5c..6edf35902 120000 --- a/img_latest_blog_dir +++ b/img_latest_blog_dir @@ -1 +1 @@ -/Users/esposito/Sites/webroot/output/Scratch/img/blog/Efficient-Vim-knowledge \ No newline at end of file +/home/e640846/Sites/webroot/output/Scratch/img/blog/Higher-order-function-in-zsh \ No newline at end of file diff --git a/latest.md b/latest.md index cc780a5e9..ed9648ff9 120000 --- a/latest.md +++ b/latest.md @@ -1 +1 @@ -./multi/blog/Learn-Vim-Progressively.md \ No newline at end of file +./multi/blog/Higher-order-function-in-zsh.md \ No newline at end of file diff --git a/multi/blog/Higher-order-function-in-zsh.md b/multi/blog/Higher-order-function-in-zsh.md new file mode 100644 index 000000000..490b5bfad --- /dev/null +++ b/multi/blog/Higher-order-function-in-zsh.md @@ -0,0 +1,90 @@ +----- +isHidden: false +menupriority: 1 +kind: article +created_at: 2011-09-27T15:15:23+02:00 +en: title: Higher order function in zsh +fr: title: Higher order function in zsh +author_name: Yann Esposito +author_uri: yannesposito.com +# tags: +----- +<%= blogimage("main.png","Title image") %> + +begindiv(intro) + +en: <%= tldr %> some simple implementation of higher order function for zsh. +fr: <%= tlal %> des fonctions d'ordres supérieurs en zsh. + +enddiv + +fr: Tout d'abord, pourquoi c'est important d'avoir ces fonctions. +fr: Plus je programmais avec zsh plus j'essayais d'avoir un style fonctionnel. + +fr: Le minimum pour pouvoir avoir du code plus lisible c'est de posséder les fonctions `map`, `filter` et `fold`. + +fr: Voici pourquoi avec une comparaison. +fr: Commençons par un programme qui converti tous les gif en png dans plusieurs répertoires projets contenant tous des répertoires resources. +fr: Avant : + + +# for each directory in projects dir +for toProject in /path/to/projects/*(/N); do + # toProject is /path/to/projects/foo + # project become foo (:t for tail) + project=${toProject:t} + for toResource in $toProject/resources/*.gif(.N); do + convert $toResource ${toResource:r}.png + \rm -f $toResource + done +done + + +fr: Après + + +gif_to_png() { convert $1 ${1:r}.png && \rm -f $1 } +handle_resources() { map gif_to_png $1/resources/*.gif(.N) } +map handle_resources /path/to/projects/*(/N) + + +fr: Plus de bloc ! +fr: Oui, c'est un poil plus difficile à lire pour les non initiés. +fr: Mais c'est à la fois plus concis et plus robuste. + +fr: Et encore ce code ne possède pas de test. +fr: Recommençons sur le même principe. + +fr: Trouver les fichiers des projets qui ne contiennent pas de s dans leur nom qui ont le même nom que leur projet. + + + +for toProject in Projects/*; do + project=$toProject:t + if print -- project | grep -v s >/dev/null + then + print $project + for toResource in $toProject/*(.N); do + if print -- ${toResource:t} | grep $project >/dev/null; then + print -- "X $toResource" + fi + done + fi +done + + +After => + + +contain_no_s() { print $1 | grep -v s } +function verify_file_name { + local project=$1:t + contains_project_name() { print $1:t | grep $project } + map "print -- X" $(filter contains_project_name $1/*(.N)) +} +map show_project_matchin_file $( filter contain_no_s Projects/* ) + + +Also, the first verstion is a bit easier to read. +But the second one is clearly far superior in architecture. +Why?