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
| l = [ | |
| { | |
| 'a': 1, | |
| 'b': 1, | |
| }, | |
| { | |
| 'a': 2, | |
| 'b': 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
| data Tree a = Node a [Tree a] | |
| traverseBF :: Tree a -> Tree a | |
| traverseBF tree = tbf tree | |
| where | |
| tbf (Node x []) = Node x [] | |
| tbf (Node x xs) = Node x (map tbf $ xs) |
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
| set -ex | |
| cd `dirname ${BASH_SOURCE[0]}` | |
| test -f ./VERSION || (echo "file VERSION containing current version is needed" && exit 1) | |
| git pull | |
| rm -rf *.egg-info | |
| rm -rf dist | |
| rm -rf build |
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
| set -ex | |
| ################################################## | |
| REGISTRY="myregistry.com:5000" # for docker hub just put your username | |
| IMAGE=`basename $PWD` # image name | |
| ################################################## | |
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
| <html> | |
| <head> | |
| <title>jsonp test</title> | |
| <script src="http://code.jquery.com/jquery-1.6.2.min.js"></script> | |
| <script type="text/javascript"> | |
| $(function(){ | |
| $('#select_link').click(function(e){ | |
| e.preventDefault(); | |
| console.log('select_link clicked'); | |
NewerOlder