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
You accept and agree to the following terms and conditions for Your | |
present and future Contributions submitted to Victor Romero. In | |
return, Victor Romero shall not use Your Contributions in a way that | |
is contrary to the public benefit or inconsistent with its nonprofit | |
status and bylaws in effect at the time of the Contribution. Except | |
for the license granted herein to Victor Romero and recipients of | |
software distributed by Victor Romero, You reserve all right, title, | |
and interest in and to Your Contributions. |
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
<rdf:RDF | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | |
xmlns:foaf="http://xmlns.com/foaf/0.1/" | |
xmlns:admin="http://webns.net/mvcb/"> | |
<foaf:PersonalProfileDocument rdf:about=""> | |
<foaf:maker rdf:resource="#me"/> | |
<foaf:primaryTopic rdf:resource="#me"/> | |
<admin:generatorAgent rdf:resource="http://www.ldodds.com/foaf/foaf-a-matic"/> | |
<admin:errorReportsTo rdf:resource="mailto:[email protected]"/> |
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 bash | |
# Copyright 2018 MuleSoft All rights reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.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 com.company; | |
public class Main { | |
/** | |
* This algorithm will divide the matrix into layers and portions. Layers are taken from the outside to the inside. | |
* i.e: | |
* <pre> | |
* 1 1 1 1 1 | |
* 1 2 2 2 1 |
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
#!/bin/bash | |
#=================================================================================== | |
# | |
# FILE: mule-docs-to-asciidoc.sh | |
# | |
# USAGE: mule-docs-to-asciidoc.sh | |
# | |
# DESCRIPTION: List and/or delete all stale links in directory trees. | |
# The default starting directory is the current directory. | |
# Don’t descend directories on other filesystems. |
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
###### Configuration block | |
DAYS=3650 | |
SERVER_PRIVATE_KEY_FILENAME="server-private.pem" | |
CLIENT_PRIVATE_KEY_FILENAME="client-private.pem" | |
SERVER_CERTIFICATE_FILENAME="server-certificate.pem" | |
CLIENT_CERTIFICATE_FILENAME="client-certificate.pem" |
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
COLOR_RED=$'\e[0;31m'; COLOR_GREEN=$'\e[0;32m'; COLOR_END=$'\e[0m'; for FILE in $(find ~/.m2/repository -name "*.sha1") ; do CALCULATED_DIGEST=$(openssl dgst -sha1 -binary ${FILE%.*}| xxd -p); DIGEST=$(for i in $(for i in $(cat ${FILE});do if [[ $i =~ ^.{40}$ ]] ; then echo $i; fi ; done);do echo $i; done ); ISVALID=$([ $CALCULATED_DIGEST == $DIGEST ] && echo ${COLOR_GREEN}VALID${COLOR_END} || echo ${COLOR_RED}INVALID${COLOR_END}); echo ${ISVALID} ${FILE%.*} ${DIGEST} ${CALCULATED_DIGEST}; done |