Skip to content

Instantly share code, notes, and snippets.

@ebirbe
ebirbe / banks_venezuela.csv
Created March 10, 2025 23:55 — forked from arodu/banks_venezuela.csv
códigos de bancos en venezuela
Código Nombre
0102 BANCO DE VENEZUELA
0156 100% BANCO
0172 BANCAMIGA BANCO MICROFINANCIERO C A
0114 BANCARIBE
0171 BANCO ACTIVO
0166 BANCO AGRICOLA DE VENEZUELA
0175 BANCO BICENTENARIO DEL PUEBLO
0128 BANCO CARONI
0163 BANCO DEL TESORO
@ebirbe
ebirbe / convert.js
Created August 30, 2023 12:34 — forked from miracle2k/convert.js
Convert Ethereum private keys to EOS private keys (the "Fallback method" to access your EOS tokens).
// Extracted from https://github.com/eoscafe/eoskeyio
const ecc = require('eosjs-ecc');
const eth = require('ethereumjs-util');
let ethereumPrivateKey = 'FILL THIS IN';
if(eth.isValidPrivate(Buffer.from(ethereumPrivateKey, 'hex'))) {
let ethereumAddress = '0x' + eth.privateToAddress(Buffer.from(ethereumPrivateKey, 'hex')).toString('hex')
let ethereumPublicKey = eth.privateToPublic(Buffer.from(ethereumPrivateKey, 'hex')).toString('hex')

Keybase proof

I hereby claim:

  • I am ebirbe on github.
  • I am erickbirbe (https://keybase.io/erickbirbe) on keybase.
  • I have a public key ASD_Sn6LDty0YQpg16jOLiGApKgQ18fqhbjzWijJ8lNzgQo

To claim this, I am signing this object:

@ebirbe
ebirbe / 3box.txt
Last active December 30, 2019 19:02
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
did:muport:QmSDoUrMFkVfpHr22eJ8FLxnew33Vb9FBTQcyuKVF8rTUk
Create your profile today to start building social connection and trust online at https://3Box.io/
@ebirbe
ebirbe / main.py
Created October 21, 2019 16:06
ODOO: Show access rules for this user
Groups = env['res.groups']
group_ids = Groups.search([('users', 'in', record.ids)]).ids
domain = ['|', ('group_id', 'in', group_ids), ('group_id', '=', False)]
action = {
'name': 'Record Rules for %s' % record.name,
'type': 'ir.actions.act_window',
'res_model': 'ir.model.access',
'target': 'current',
'view_mode': 'tree,form',
'domain': domain,
@ebirbe
ebirbe / main.py
Created October 21, 2019 15:30
ODOO: Show record rules applied for this User
Groups = env['res.groups']
group_ids = Groups.search([('users', 'in', record.ids)]).ids
domain = ['|', ('groups', 'in', group_ids), ('global', '=', True)]
action = {
'name': 'Record Rules for %s' % record.name,
'type': 'ir.actions.act_window',
'res_model': 'ir.rule',
'target': 'current',
'view_mode': 'tree,form',
'domain': domain,