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
# Quickly change branches | |
function jto() { | |
local nmatches=$(git branch | grep -i $1 | wc -l) | |
local branches=$(git branch | grep -i $1 | grep -oE '[[:alpha:]0-9/-]+') | |
if (( $nmatches > 1 )); then | |
echo 'Found branches' | |
printf "$branches\n" | |
else | |
echo Checking out $branches | |
git checkout $branches |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Recursive Component in React</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.11.0/umd/react.development.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.11.0/umd/react-dom.development.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script> | |
</head> |
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
for i = 1 to 10 do | |
( | |
Box width: (10.0 - i) length: (10.0 - i ) height: 1.0 pos: [0, 0, i] | |
) |
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
-- Creación de una caja | |
b = box() | |
-- Mover la caja | |
b.pos = [1,2,3] | |
-- Escalar la caja | |
b.scale = [10,10,5] |