Skip to content

Instantly share code, notes, and snippets.

@danikula
danikula / Ponzi.sol
Created February 28, 2021 10:14
Classic Ponzi Pyramid on smart contract
pragma solidity ^0.4.26;
contract InvestorsStorage {
struct investor {
uint keyIndex;
uint value;
uint paymentTime;
uint refBonus;
}
@danikula
danikula / emulator API 24 cpuinfo.txt
Created June 29, 2020 13:46
emulator API 24 /proc/cpuinfo
CPU: processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 158
model name : Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
stepping : 10
cpu MHz : 2207.890
cache size : 9216 KB
physical id : 0
siblings : 4
@danikula
danikula / xiaomi mi a2 cpuinfo.txt
Created June 29, 2020 13:41
xiaomi mi a2 /proc/cpuinfo
CPU: processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
@danikula
danikula / pixel 3a cpuinfo.txt
Created June 29, 2020 13:29
Pixel 3a /proc/cpuinfo
CPU: Processor : AArch64 Processor rev 13 (aarch64)
processor : 0
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0x7
CPU part : 0x803
CPU revision : 12

Keybase proof

I hereby claim:

  • I am danikula on github.
  • I am danikula (https://keybase.io/danikula) on keybase.
  • I have a public key ASDP2DAbiG0BB-YFLqfWdIv51YdxifBfBNVidPGNpble0go

To claim this, I am signing this object:

@danikula
danikula / .gitconfig
Created April 26, 2019 13:35
git shortcuts
[alias]
s = status
b = branch
nb = checkout -b
c = checkout
pf = push -f origin
rs = !sh -c 'git reset --soft HEAD~1 && git status'
l = log --pretty=format:\"%h %ad %s%d [%an]\" --graph --date=short
acm = !git add . && git commit -m
p = pull