Skip to content

Instantly share code, notes, and snippets.

View withego's full-sized avatar

withego

View GitHub Profile
//author @TraderX0
//script to plot daily Open high and low
//version 1.1
//last edited 22/11/2018
//title
study(title="TraderX0__O_H_L", shorttitle="TraderX0_O_H_L", overlay=true)
// holds the daily price levels
openPrice = security(tickerid, 'D', open)
@aunyks
aunyks / erc721-example.sol
Last active April 12, 2024 00:56
My implementation of the ERC721 token standard. WARNING: THIS CODE IS FOR EDUCATIONAL PURPOSES. DO NOT DEPLOY TO THE NETWORK.
pragma solidity ^0.4.19;
contract ERC721 {
string constant private tokenName = "My ERC721 Token";
string constant private tokenSymbol = "MET";
uint256 constant private totalTokens = 1000000;
mapping(address => uint) private balances;
mapping(uint256 => address) private tokenOwners;
mapping(uint256 => bool) private tokenExists;
mapping(address => mapping (address => uint256)) private allowed;
mapping(address => mapping(uint256 => uint256)) private ownerTokens;
anonymous
anonymous / Unofficial Raiden Auction FAQ V1.1
Created October 19, 2017 20:14
Unofficial Raiden Auction FAQ V1.1
Raiden ICO Date: October 18 3PM UTC
ICO Details: ICO will be a Dutch Auction, There is no presale, private sale, or bonuses.
KYC - Apply to KYC whitelist here: https://kyc.token.raiden.network
You will need ID, a picture of yourself, and at least 2.5 ETH in an ETH wallet where
you control the private keys(i.e MyEtherWallet). Do NOT send ETH from an exchange wallet such as Coinbase, Bittrex, etc.
ICO Strategy for Investors: It is advisable to NOT buy any tokens until the price comes down to a level you feel comfortable buying.
It is common for investors to panic and get into a frenzy and buy as many tokens as possible, despite the price. PATIENCE IS KEY.
Just keep in mind the use case of the RDN token. Is 1 token really worth 2 ETH? The RDN token is a utility token, used to pay
anonymous
anonymous / UnofficialRaidenAuctionFAQ
Created October 16, 2017 14:38
Unofficial Raiden Duction Auction FAQ
Raiden ICO Date: October 18
ICO Details: ICO will be a Dutch Auction, no registration or whitelist needed. There is no presale, private sale, or bonuses.
ICO Strategy for Investors: It is advisable to NOT buy any tokens until the price comes down to a level you feel comfortable buying.
It is common for investors to panic and get into a frenzy and buy as many tokens as possible, despite the price. PATIENCE IS KEY.
Just keep in mind the use case of the RDN token. Is 1 token really wortH 2 ETH? The RDN token is a utility token, used to pay
for services on the Raiden Network, so ideally the token should be very cheap. Keep this in mind when bidding. Ideally
the auction SHOULD LAST UNTIL THE LAST DAY.
@alexvandesande
alexvandesande / recoversecret.md
Last active October 12, 2017 05:42
How to recover a bid on ENS if you still have the master salt

How to recover a lost a ENS bid if you still have the secret

  1. Download your bid backup and open it in a text editor. You can paste the code on a service like this to make it more readable: https://jsonformatter.curiousconcept.com

  2. Search for the name of your bid to check it's not there. If it's not then at the top of your file you'll find something like this:

{
   "About":{
      "backupDate":"2017-06-17T15:34:23.014Z",

Notes on Shadow Brokers EQGRP-LiT

credit: @GossiTheDog: "If you want to setup FUZZBUNCH (the Equation exploit framework) you need Win7 VM + Python 2.6 + Pywin 2.6, then python fb.py for shell"
h/t @x0rz @DEYCrypt @hackerfantastic

HOW 2 SETUP + INSTALL FUZZBUNCH & DANDERSPRITZ

context: https://steemit.com/shadowbrokers/@theshadowbrokers/lost-in-translation
writeup: https://www.trustedsec.com/blog/equation-group-dump-analysis-full-rce-win7-fully-patched-cobalt-strike/
decrypted files: https://github.com/x0rz/EQGRP_Lost_in_Translation

@withego
withego / keybase.md.
Created January 16, 2017 05:26
### Keybase proof
### Keybase proof
I hereby claim:
* I am withego on github.
* I am withego (https://keybase.io/withego) on keybase.
* I have a public key ASD1OJFULrPrYXPhqAL0MUy1uGB-kMZNXcSD5IkgkPc4uQo
To claim this, I am signing this object:
@frozeman
frozeman / genesis.json
Created July 29, 2015 15:31
Ethereum genesis block
This file has been truncated, but you can view the full file.
{
"nonce": "0x0000000000000042",
"difficulty": "0x400000000",
"alloc": {
"3282791d6fd713f1e94f4bfd565eaa78b3a0599d": {
"balance": "1337000000000000000000"
},
"17961d633bcf20a7b029a7d94b7df4da2ec5427f": {
"balance": "229427000000000000000"
},
@grugq
grugq / gist:03167bed45e774551155
Last active April 6, 2024 10:12
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.