Skip to content

Instantly share code, notes, and snippets.

View lajosdeme's full-sized avatar

lajosdeme

View GitHub Profile

Smart contract development principles

Principles for securely building smart contract systems collaboratively or individually.

Security first

The number one thing we are focusing on and optimizing, before anything else, is security. This means that before adding a line of code both the granular and the system-wide implications of that change must be deeply understood.

It is recommended to always use tools like the Olympix VSCode extension, and regularly run security analyzers like Mythril, Slither, etc.

The whole system must be regularly examined for complex, multi-step attacks like oracle or price manipulation.

@zchee
zchee / cgo.md
Last active June 9, 2024 18:29
cgo convert list

See also, http://libraryofalexandria.io/cgo/

Using Go cgo

cgo has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src. IDE's(vim) Goto command not works.

So, Here collect materials.

@ZevEisenberg
ZevEisenberg / resetAllSimulators.sh
Last active June 20, 2024 17:13
Reset all iOS simulators with this one weird trick
osascript -e 'tell application "iOS Simulator" to quit'
osascript -e 'tell application "Simulator" to quit'
xcrun simctl erase all
@staltz
staltz / introrx.md
Last active June 21, 2024 12:27
The introduction to Reactive Programming you've been missing
@rtt
rtt / tinder-api-documentation.md
Last active June 21, 2024 04:19
Tinder API Documentation

Tinder API documentation

Note: this was written in April/May 2014 and the API may has definitely changed since. I have nothing to do with Tinder, nor its API, and I do not offer any support for anything you may build on top of this. Proceed with caution

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)