Skip to content

Instantly share code, notes, and snippets.

View Bort-777's full-sized avatar

Andrei Zbranevich Bort-777

  • Unknown
  • Minsk, BY
View GitHub Profile
@Bort-777
Bort-777 / local-removing-already-merged-branches.md
Last active February 2, 2023 10:06
Local removing already merged branches

git branch --merged | grep -v '*' | xargs git branch -D

contract CalculateRace {
function test() returns (uint8[11] race) {
return _calculateRace([1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
}
function _calculateRace(uint8[11] _momRace, uint8[11] _dadRace) internal returns (uint8[11] race) {
bool remainder = false;

Keybase proof

I hereby claim:

To claim this, I am signing this object:

git rm -r --cached .
git add .
git commit -m "Re index done"
@Bort-777
Bort-777 / gist:d7afec73722fcdefc5acfb5d34eb7c91
Created July 22, 2021 08:50
iOS groupingSeparator decimalSeparator list examples
id: eu lang: eu country: ' (null) ' groupingSeparator: ' . ' decimalSeparator: ' , ' 1.000,5
id: hr_BA lang: hr country: ' BA ' groupingSeparator: ' . ' decimalSeparator: ' , ' 1.000,5
id: en_CM lang: en country: ' CM ' groupingSeparator: ' , ' decimalSeparator: ' . ' 1,000.5
id: en_BI lang: en country: ' BI ' groupingSeparator: ' , ' decimalSeparator: ' . ' 1,000.5
id: en_AE lang: en country: ' AE ' groupingSeparator: ' , ' decimalSeparator: ' . ' 1,000.5
id: rw_RW lang: rw country: ' RW ' groupingSeparator: ' . ' decimalSeparator: ' , ' 1.000,5
id: ast lang: ast country: ' (null) ' groupingSeparator: ' . ' decimalSeparator: ' , ' 1.000,5
id: en_SZ lang: en country: ' SZ ' groupingSeparator: ' , ' decimalSeparator: ' . ' 1,000.5
id: he_IL lang: he country: ' IL ' groupingSeparator: ' , ' decimalSeparator: ' . ' 1,000.5
id: ar lang: ar country: ' (null) ' groupingSeparator: ' ٬ ' decimalSeparator: ' ٫ ' 1٬000٫5