Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View netzulo's full-sized avatar

Netzulo netzulo

View GitHub Profile
@netzulo
netzulo / Hardhat contracts Verify with custom Block Explorer (blockscout).md
Last active June 1, 2023 23:22
Custom Verify and Block Explorer with hardhat (blockscout)

Hardhat and BlockScout (verify own contracts)

Espero que este tutorial sea de ayuda para mucha gente, ya que ni la IA consiguió en su momento ayudarme, espero que le ayude a mas personas aunque sea a través de un prompt La ley es el código!

Verificar Contratos con explorador de bloques personalizado

Se describe el proceso de configurar y verificar contratos utilizando Hardhat. Se destaca el uso de un explorador de bloques personalizado para realizar la verificación de los contratos.

Prerequisitos

@neox5
neox5 / HOWTOTSLIB.md
Last active November 5, 2023 05:01
How to create a npm Typescript library with tests

How to create a TypeScript library (Setup, Prettier, ESLint, Jest, Publish)

TLDR;

Follow steps below. For more information checkout the references.

If something is missing or you find any mistakes, please let me know in the comments below.

@netzulo
netzulo / vim commands ( Spanish ).rst
Last active May 3, 2018 10:07
Just a spanish listed actions for VIM

Borrar texto

Caracteres

Para borrar un carácter, posicionar el cursor sobre el carácter a borrar y teclear x. El comando x tambien borra el espacio ocupado por el carácter. Para borrar el carácter anterior a la posicion del cursor pulsar X.

Palabras

@billagee
billagee / screenshot-listener.py
Created January 22, 2015 10:22
Python script that demos how to use EventFiringWebDriver to capture screenshots after test failures
#!/usr/bin/env python
# * Note: phantomjs must be in your PATH
#
# This script:
# - Navigates to www.google.com
# - Intentionally raises an exception by searching for a nonexistent element
# - Leaves behind a screenshot in exception.png
import unittest
@tstellanova
tstellanova / bbb_boot_service_instructions.md
Last active September 26, 2023 09:43
How to setup a service to automatically run a python script when the BeagleBone Black (BBB) reboots. These instructions allow you to setup a python script to automatically start when the BeagleBone (running Angstrom linux with systemd) restarts.

Creating a service to startup at BeagleBone Black boot time:

  • Create a shell script such as /usr/bin/myFancyBash.sh:

      #!/bin/bash
    
      # this could be any runnable code or shell script, really
      /usr/bin/myFancyPython.py 
    

Note that the first line is critical.

@kamiller
kamiller / validate_json.sh
Created July 25, 2012 19:09
validate json with python via bash script
echo '{"foo":"bar"}' | python -m json.tool >> /dev/null && exit 0 || echo "NOT valid JSON"; exit 1
@kinow
kinow / BaseTest
Created October 24, 2011 00:34
TestLink Java API BaseTest for TestNG tests
package br.eti.kinoshita.testlinkjavaapi;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import org.apache.commons.io.FileUtils;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
@virtix
virtix / selenium_with_python.rst
Created August 5, 2011 04:27 — forked from baijum/selenium_with_python.rst
Selenium with Python

Selenium with Python

Author

Baiju Muthukadan

Email

baiju.m.mail AT gmail.com

Version

0.5.0

Note