Posted on

S.O.L.I.D.

https://dzone.com/articles/solid-is-oop-for-dummies

Posted on

Fibonacci numbers

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946

cc9a336d6642813692cfc4b106268c15

also f4690f25797e8a37345cb0669a6ec988

Matrix method:

b0d427e01d22ebe23e5d6da73429625e

It is interesting to note that the Fibonacci number grows so fast that F-47 exceeds the 32-bit signed integer range.

Binet’s formula

e92bcac0f1049c23c4c0180f04b7567bwhere

5b338aa4be320754bbb52976818e89a8golden ratio = 1.618

Procent ratio is 62% and 38%

as

Posted on

Duplicating (mirroring) a repository

To make an exact duplicate, you need to perform both a bare-clone and a mirror-push.

[code language=”java”]
git clone –bare <reponame>
# Make a bare clone of the repository

cd <reponame>
git push –mirror <newreponame>
# Mirror-push to the new repository
[/code]

Posted on

GZip, GZipStream

GZIP file format specification version 4.3

Can GZip compression (via .net) increase file size?

Yes. It can. It has been fixed in .net 4.

The compression algorithms for the System.IO.Compression..::.DeflateStream and System.IO.Compression..::.GZipStream classes have improved so that data that is already compressed is no longer inflated. This results in much better compression ratios. Also, the 4-gigabyte size restriction for compressing streams has been removed.

Continue reading GZip, GZipStream