Author: | Baiju Muthukadan |
---|---|
Email: | baiju.m.mail AT gmail.com |
Version: | 0.5.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '{"foo":"bar"}' | python -m json.tool >> /dev/null && exit 0 || echo "NOT valid JSON"; exit 1 |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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.
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!
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.