Skip to content

Instantly share code, notes, and snippets.

View bonomali's full-sized avatar

brikkho net bonomali

View GitHub Profile
let multisig = require('@iota/multisig');
let converter = require('@iota/converter');
let txconverter = require('@iota/transaction-converter');
let bundle_validator = require('@iota/bundle-validator');
let seedA = 'A'.repeat(81)
let seedB = 'B'.repeat(81)
let seedC = 'C'.repeat(81)
@bonomali
bonomali / App.js
Created June 11, 2020 05:36 — forked from huhn511/App.js
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import SendButton from './components/SendButton'
import IOTA from 'iota.lib.js'
class App extends Component {
constructor(props) {
@bonomali
bonomali / gist:369aa0de2a58036c36b4ff8d822371bc
Created June 11, 2020 05:30 — forked from cvbarros/gist:8940440
Ninject Singleton with Provider
void Main()
{
var kernel = new StandardKernel();
kernel.Bind<SomeDependency>().ToSelf();
kernel.Bind<ISingleton>().ToProvider<ConcreteSingletonProvider>();
kernel.Bind<ConcreteSingletonProvider>().ToSelf().InSingletonScope();
var i = kernel.Get<ISingleton>();
var i2 = kernel.Get<ISingleton>();
@bonomali
bonomali / README.md
Created May 12, 2020 16:05
COVID Discord bot

ko-fi
Servers Uptime Owner

COVID Bot

The most jam-packed bot providing accurate information on the coronavirus (COVID-19) disease through channel counters, automated feeds and many commands.
Help command is: !help OR @COVID Bot

Support this project: https://ko-fi.com/marveldc
Support server invite: https://discord.gg/GheSxMJ

###########NOT INVESTMENT ADVICE######################
#extend the trend following factors into a system for trading S&P 500
#Hsieh, David A. and Fung, William,
#The Risk in Hedge Fund Strategies: Theory and Evidence from Trend Followers.
#The Review of Financial Studies, Vol. 14, No. 2, Summer 2001 .
#Available at SSRN: http://ssrn.com/abstract=250542
@bonomali
bonomali / vamp.ipynb
Created March 18, 2020 19:54 — forked from williballenthin/vamp.ipynb
function signatures in vivisect
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bonomali
bonomali / integracao.php
Created March 15, 2020 21:12
Integração API Boletos - PHP
<?php
namespace safra\src;
use Crypt_RSA;
use Exception;
use DateTime;
use GuzzleHttp\json_encode;
include("Crypt/RSA.php");
# if string reference is not found within 5 instructions - report unresolved
# returns an operand value or None if nothing is found
def find_function_arg(addr, max_insns=5):
for _ in xrange(max_insns):
addr = idc.PrevHead(addr)
if addr == idaapi.BADADDR:
break
if GetMnem(addr) == "mov" and GetOpnd(addr, 0) == 'eax':
return GetOperandValue(addr, 1)
@bonomali
bonomali / gist:cb440122bcac485ae56b29d09c7e863d
Created March 11, 2020 03:22 — forked from rtrouton/gist:a01073797a6d7e1fff9a
Disable Apple iCloud and Diagnostic Pop-Ups
#!/bin/bash
# Determine OS version
osvers=$(sw_vers -productVersion | awk -F. '{print $2}')
sw_vers=$(sw_vers -productVersion)
# Determine OS build number
sw_build=$(sw_vers -buildVersion)
@bonomali
bonomali / new_gist_file
Created March 11, 2020 03:21 — forked from raduraducu/new_gist_file
Apple Service Diagnostic Disks
Apple Service Diagnostic Disks 25 GB [Original]
Applications : Mac : English
ASD Dual Boot 2.1.5 (2003)
PowerBook G4 (12-inch), PowerBook G4 (17-inch), iMac (17-inch 1GHz), Power Mac G4 (FW 800), Xserve (slot load), eMac (ATI Graphics), and Power Mac G4 (Mirrored Drive Doors 2003), iMac (USB 2.0), PowerBook G4 (15-inch FW800), PowerBook G4 (17-inch 1.33GHz) and PowerBook G4 (12-inch DVD)
ASD 2.5.7