Skip to content

Instantly share code, notes, and snippets.

View ottodevs's full-sized avatar
🥷
Hacking

Otto G ottodevs

🥷
Hacking
View GitHub Profile
@ottodevs
ottodevs / CrossOver.sh
Created March 9, 2024 20:23 — forked from santaklouse/CrossOver.sh
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
@ottodevs
ottodevs / Collector.sol
Created October 23, 2019 08:13
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.26+commit.4563c3fc.js&optimize=false&gist=
pragma solidity ^0.4.8;
import "./Reentrance.sol";
contract Collector {
Reentrance public reentrance;
function Collector (address _reentrance) {
reentrance = Reentrance(_reentrance);
}
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:muport:QmQNqWYeS3L3FnthWX19fxZJbdHKp7CfdJHmnFpjAw1VUK ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@ottodevs
ottodevs / Random-string
Created November 8, 2018 02:51 — forked from 6174/Random-string
Generate a random string in JavaScript In a short and fast way!
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);

Keybase proof

I hereby claim:

  • I am ottodevs on github.
  • I am ottog (https://keybase.io/ottog) on keybase.
  • I have a public key whose fingerprint is 0347 4756 E0F2 C596 CF89 1B20 180F 5829 CAEF 69AB

To claim this, I am signing this object:

@ottodevs
ottodevs / Atom_export_settings.md
Created July 28, 2018 21:02 — forked from michalczukm/Atom_export_settings.md
Atom: Backup all settings

Export:

  1. Copy from ${user}/.atom:
  • config.cson
  • keymap.cson
  • snippets.cson
  • styles.less
  1. Save installed packages list apm list --installed --bare > packages.list
$('#leftbar').remove();
$('#price').css({
'font-size': '50px',
'height': '60px',
'line-height': '60px'
});
0xD5F636d6D5b89418EbDaB851e1E5ce057121f07D
@ottodevs
ottodevs / parity-nov6.csv
Created November 9, 2017 18:39 — forked from banteg/parity-nov6.csv
november 6 parity hack affected addresses and balances
address eth comment
0x3bfc20f0b9afcace800d73d2191166ff16540258 306276.272251399926202 polkadot
0x376c3e5547c68bc26240d8dcc6729fff665a4448 114939 iconomi
0x43ab622752d766d694c005acfb78b1fc60f35b69 21704.325572809991471999
0xc7cd9d874f93f2409f39a95987b3e3c738313925 16475.534165330527033716 musiconomi
0xdb0e7d784d6a7ca2cbda6ce26ac3b1bd348c06f8 6925
0x49eafa4c392819c009eccdc8d851b4e3c2dda7d0 4524.983603998439805528
0xbe17d91c518f1743aa0556425421d59de0372766 4360.6725
0x41849f3bd33ced4a21c73fddd4a595e22a3c2251 3238.1539315355843176
0x8655d6bf4abd2aa47a7a4ac19807b26b7609b61d 3000
@ottodevs
ottodevs / parity-nov6.csv
Created November 9, 2017 18:39 — forked from banteg/parity-nov6.csv
november 6 parity hack affected addresses and balances
0x3bfc20f0b9afcace800d73d2191166ff16540258 306276.272251399926202 polkadot
0x376c3e5547c68bc26240d8dcc6729fff665a4448 114939 iconomi
0x43ab622752d766d694c005acfb78b1fc60f35b69 21704.325572809991471999
0xc7cd9d874f93f2409f39a95987b3e3c738313925 16475.534165330527033716 musiconomi
0xdb0e7d784d6a7ca2cbda6ce26ac3b1bd348c06f8 6925
0x49eafa4c392819c009eccdc8d851b4e3c2dda7d0 4524.983603998439805528
0xbe17d91c518f1743aa0556425421d59de0372766 4360.6725
0x41849f3bd33ced4a21c73fddd4a595e22a3c2251 3238.1539315355843176
0x8655d6bf4abd2aa47a7a4ac19807b26b7609b61d 3000