Skip to content

Instantly share code, notes, and snippets.

View bll-bobbygill's full-sized avatar

Bobby Gill bll-bobbygill

View GitHub Profile
@bll-bobbygill
bll-bobbygill / Crowdsale.sol
Created February 4, 2022 13:16
Versions of MintedCrowdsale.sol and Crowdsale.sol that Work with OpenZeppelin 4.0
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
/**
@bll-bobbygill
bll-bobbygill / AutoTweeter.gs
Created August 2, 2023 19:12
Google Apps Script to Post Tweets to Twitter from Google Sheet
var TWITTER_API_KEY = '<Twitter OAuth 2.0 Client ID>';
var TWITTER_API_SECRET_KEY = '<Twitter OAuth 2.0 Client Secret>';
var TWITTER_BEARER_TOKEN ='<Access token returned in Postman>';
var TWITTER_REFRESH_TOKEN = '<Refresh token returned in Postman>';
var TWITTER_EXPIRES_AT= new Date('<Expiry date based on the expires_in returned from Postman>');
function generateTweet()
{
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bll-bobbygill
bll-bobbygill / .env
Last active August 20, 2024 14:15
Python Code to Automatically Download Google Play Install Metrics and Publish to a Google Sheet
SPREADSHEET_ID=<Google Spreadsheet ID>
INSTALLS_WORKSHEET_NAME=Installs
PLAY_STORE_BUCKET_NAME= pubsite_prod_<google play account id>
START_DATE=2024-06-12
DAYS_TO_FETCH_INSTALLS_FOR=5
PACKAGE_NAME=<Android package name>
GOOGLE_CLOUD_PROJECT_ID=<Google Cloud Project ID>
function B2BRetention(){this[_0x46032c(-0x121,-0xf1)]=![],this[_0x46032c(-0xea,-0xf0)]=![],this['valid_domain']=![],this[_0x46032c(-0x11c,-0xef)]=![],this[_0x46032c(-0xe3,-0xee)]=!![],this[_0x46032c(-0xd4,-0xed)]=![],this[_0x46032c(-0xee,-0xec)]=![],this[_0x46032c(-0xb5,-0xeb)]='',this[_0x46032c(-0xd3,-0xea)]=![],this[_0x46032c(-0xbc,-0xe9)]=![],this['has_console']=window[_0x46032c(-0x112,-0xe8)]&&console[_0x46032c(-0xa4,-0xe7)],this[_0x46032c(-0xc5,-0xe6)]=document['currentScript'][_0x46032c(-0xfa,-0xe5)],this['label']=_0x46032c(-0xf8,-0xe4),this[_0x46032c(-0xd4,-0xe3)]=null,this[_0x46032c(-0x12c,-0xe2)]=1;function _0x46032c(_0x24feb8,_0xbf2828){return _0x3497(_0xbf2828- -0xf1,_0x24feb8);}this['domains']=['bluelabellabs.com'],this[_0x46032c(-0x11c,-0xe1)]=false,this[_0x46032c(-0x106,-0xe0)]=true,this[_0x46032c(-0xb6,-0xdf)]=false,this[_0x46032c(-0xd6,-0xde)]='9xgnrndqve';}function _0x3497(_0xdacc47,_0x34978c){const _0x14fc96=_0xdacc();return _0x3497=function(_0x2a8d57,_0x71965f){_0x2a8d57=_0x2a8d57-0x0;let _