This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
'AB' => 'Abchazija', | |
'AF' => 'Afganistanas', | |
'IE' => 'Airija', | |
'AL' => 'Albanija', | |
'DZ' => 'Alžyras', | |
'AS' => 'Amerikos Samoa', | |
'AD' => 'Andora', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Lietuviškų vardų linksniai. | |
* | |
* @author Dainius Kaupaitis <dainius at kaupaitis dot lt> | |
* @copyright Copyleft (ↄ) 2011, Dainius Kaupaitis | |
* @version 1.0 | |
* @package Vardai | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var from = "ąčęėįšųūž"; | |
var to = "aceeisuuz"; | |
for (var i=0, l=from.length ; i<l ; i++) { | |
str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git archive -o update.zip HEAD $(git diff --name-only NUO-KURIO-COMMIT) | |
--------- | |
git archive -o update.zip HEAD $(git diff --diff-filter=AM --name-only NUO-KURIO-COMMIT HEAD) | |
--------- | |
git archive -o ../latest.zip some-commit $(git diff --name-only earlier-commit some-commit) |