Click to toggle contents of `code`
CODE!
| #!/usr/bin/env python | |
| # -*- coding: utf-8; mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- | |
| # vim: fileencoding=utf-8 tabstop=4 expandtab shiftwidth=4 | |
| """User Access Control for Microsoft Windows Vista and higher. This is | |
| only for the Windows platform. | |
| This will relaunch either the current script - with all the same command | |
| line parameters - or else you can provide a different script/program to | |
| run. If the current user doesn't normally have admin rights, he'll be |
CODE!
| -- Do Tree Traversals and Built a Visitation List for each | |
| preorder :: BinaryTree a -> [a] | |
| preorder Leaf = [] | |
| preorder (Node left root right) = root : preorder left ++ preorder right | |
| -- NOTE: Need to use the ++ so each list gets built separately and then concatenated | |
| -- after it hits bottom | |
| inorder :: BinaryTree a -> [a] | |
| inorder Leaf = [] |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | π :tada: |
| Version tag | π :bookmark: |
| New feature | β¨ :sparkles: |
| Bugfix | π :bug: |
| sass/ | |
| | | |
| |β base/ | |
| | |β _reset.scss # Reset/normalize | |
| | |β _typography.scss # Typography rules | |
| | ... # Etc⦠| |
| | | |
| |β components/ | |
| | |β _buttons.scss # Buttons | |
| | |β _carousel.scss # Carousel |
| // | |
| // _oo0oo_ | |
| // o8888888o | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/`---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / _||||| -:- |||||- \ |
| //To fetch a branch, you simply need to: | |
| git fetch origin | |
| //This will fetch all of the remote branches for you. With the remote branches | |
| //in hand, you now need to check out the branch you are interested in, giving | |
| //you a local working copy: | |
| git checkout -b test origin/test |
| # Create a new repository on the command line | |
| touch README.md | |
| git init | |
| git add README.md | |
| git commit -m "first commit" | |
| git remote add origin https://github.com/c0ldlimit/vimcolors.git | |
| git push -u origin master | |
| # Push an existing repository from the command line |
| {- Implementation of BST (binary search tree) | |
| Script is absolutly free/libre, but with no guarantee. | |
| Author: Ondrej Profant -} | |
| import qualified Data.List | |
| {- DEF data structure -} | |
| data (Ord a, Eq a) => Tree a = Nil | Node (Tree a) a (Tree a) | |
| deriving Show |