Skip to content

Instantly share code, notes, and snippets.

commit 275588f93eedd8d7a556c38b75944b858e704dce
Author: Jiang Xin <worldhello.net@gmail.com>
Date: Tue Nov 22 22:24:59 2016 +0800
l10n: Fixed typo of git fetch-pack command
Git 2.11.0-rc2 introduced one small l10n update, and this commit fixed
the affected translations all in one batch.
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
@jiangxin
jiangxin / 0001-l10n-zh_CN-translations-for-git-v2.3.0-rc0.patch
Created January 13, 2015 06:55
Simplified Chinese translations for Git 2.3.0
From ff8beb0743aefb7a1bc3ca93ff2c69ae2c0034a6 Mon Sep 17 00:00:00 2001
Message-Id: <ff8beb0743aefb7a1bc3ca93ff2c69ae2c0034a6.1421131857.git.worldhello.net@gmail.com>
From: Jiang Xin <worldhello.net@gmail.com>
Date: Sun, 4 Jan 2015 12:27:38 +0800
Subject: [PATCH] l10n: zh_CN: translations for git v2.3.0-rc0
Translate 13 new messages (2298t0f0u) for git v2.3.0-rc0.
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
---
@jiangxin
jiangxin / git-l10n-zh-cn-v2.2.0-patch-1.txt
Created October 28, 2014 03:00
Git l10n for zh_CN patches
commit a5ff85ac19f2abe9a172d13658a04caf06062257
Author: Jiang Xin <worldhello.net@gmail.com>
Date: Wed Oct 8 10:55:14 2014 +0800
Draft: l10n: zh_CN: translations for git v2.2.0
Translations for git v2.2.0. Also changed the translation of
bare (repository).
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
@jiangxin
jiangxin / 0001-Do-not-check-project-permissions-for-svn-redmine-bin.patch
Created March 28, 2013 13:52
[PATCH] Do not check project permissions for svn redmine binding
This module is based on a wrong assumption: repository has the same name
with it's project. So it's wrong to check user permissions in project.
We only use this module for authn checking, and use subversion's own
path based authz instead.
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
---
extra/svn/Redmine.pm | 39 ++++++++++++---------------------------
1 file changed, 12 insertions(+), 27 deletions(-)
@jiangxin
jiangxin / countdown.rb
Created September 8, 2011 08:00 — forked from gotgithub/countdown.rb
Calculate the countdown for the meeting of the party.
#!/usr/bin/ruby
# Calculate the countdown for the meeting of the party.
require 'Date'
if days >= 0
puts "Maybe #{days} days left."
else
puts "Passed for #{days.abs} days."
end