Skip to content

Instantly share code, notes, and snippets.

View phon3's full-sized avatar

phon3

  • MineMark LLC
View GitHub Profile
@bradenkeith
bradenkeith / Deploying Entropy Keeper on Google Cloud Platform.md
Last active October 3, 2022 19:07
Deploying Entropy on Google Cloud Platform
@victorleejw
victorleejw / erc20token.sol
Last active August 25, 2025 21:06
Erc20 Smart Contract for a Standard, Capped, Mintable, Burnable, Payable Token.
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol
// https://ropsten.etherscan.io/address/0x8df55a60a1c98281a60d6c89f59398bee854fbc8#code
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
@mgeeky
mgeeky / prepare-kali.sh
Last active April 16, 2025 22:32
A script that prepares Kali by collecting many useful tools of trade in /root/tools directory, installing requirements, seting them up, preparing .bashrc etc.
#!/bin/bash
# Well, entire Kali installation assume that we are normally working as root on our Kali.
# I know that assumption sucks to its root, but I wanted to avoid every "permission denied" issue and I was too lazy
# to get it done properly as a non-root.
if [ $EUID -ne 0 ]; then
echo "This script must be run as root."
exit 1
fi
@bitrot-sh
bitrot-sh / pycoin_twilio.py
Last active December 8, 2017 02:02
BitCoin updates via SMS with twilio
#!/usr/bin/env python3.6
#PyBtc - Texts you based on btc price to keep an eye of when to buy or sell
import config
from twilio.rest import Client as twilio_Client
from coinbase.wallet.client import Client
def coinBase():
client = Client(config.coinbase_auth, config.coinbase_api, api_version='2017-12-03')
@umidjons
umidjons / youtube-dl-download-audio-only-on-best-quality.md
Last active August 22, 2025 04:17
Download Audio from YouTube with youtube-dl

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@skyuplam
skyuplam / gist:ffb1b5f12d7ad787f6e4
Created October 13, 2014 07:50
Flask-Security and Flask-Admin example by Steve Saporata
# Example of combining Flask-Security and Flask-Admin.
# by Steve Saporta
# April 15, 2014
#
# Uses Flask-Security to control access to the application, with "admin" and "end-user" roles.
# Uses Flask-Admin to provide an admin UI for the lists of users and roles.
# SQLAlchemy ORM, Flask-Mail and WTForms are used in supporting roles, as well.
from flask import Flask, render_template
from flask.ext.sqlalchemy import SQLAlchemy