This file contains 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
# Making ls to always display colors | |
alias ls='ls -G' | |
export LSCOLORS=dxfxcxdxbxegedabagacad | |
# Funcion para cambiar el prompt muestra usuario:working dir (git branch) $ | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
This file contains 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
# .gitignore for Grails 2.0 | |
web-app | |
target | |
target-eclipse | |
build | |
bin | |
build.sh | |
plugin.xml | |
stacktrace.log |
This file contains 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
# | |
# Script en groovy para seleccionar la version de Grails | |
# requiere el password de admin por el uso de sudo | |
# | |
def versions = ['1.1','1.1.2-M4','1.1.2','1.2-M3','1.2.0.RC1','1.2.0.RC2','1.2.0','1.3.4','1.3.5','1.3.6','1.4.0.M1', '2.0.0'] | |
def helpOptions = ['-help','-HELP','-h','-?','?'] | |
println "" | |
println "Selector de version de grails" | |
println "" | |
if (args.size() > 0) { |
This file contains 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 python3 | |
# Copyright (c) 2017-2021 The Bitcoin Core developers | |
# Distributed under the MIT software license, see the accompanying | |
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | |
"""An example functional test | |
The module-level docstring should include a high-level description of | |
what the test is doing. It's the first thing people see when they open | |
the file and should give the reader information about *what* the test | |
is testing and *how* it's being tested |
This file contains 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
# | |
# Chaincode excercise 3 | |
# | |
# generate new block | |
self.log.info("Generate new block") | |
new_block_hash = self.generate(self.nodes[1], 1) | |
# sync previously connected nodes | |
self.log.info("Sync previously connected nodes") | |
self.sync_all() | |
# find block and get hash |