- this.gist (this gist, haha)
- [About][2] enhancement
- [Usage][4]
- [JsBin Demo][5]
- [Integrate][3] with [chjj/marked@0.3.2][6]
Most powerful GFM(-ish) markdown compilier/parser, [chjj/marked@0.3.2][6] already with VIDEO MEDIA EXTRAS!
Most powerful GFM(-ish) markdown compilier/parser, [chjj/marked@0.3.2][6] already with VIDEO MEDIA EXTRAS!
| #!/bin/sh | |
| case ${ARCH:-$(uname -m)} in | |
| x86_64) DEBARCH=amd64; ARCH=x86_64 ;; | |
| i?86) DEBARCH=i386; ARCH=i386 ;; | |
| *) echo "Your architecture is not supported!" >&2; exit 1 ;; | |
| esac | |
| if [ "$1" = "-d" ]; then | |
| PKGTYPE=deb | |
| ARCH=$DEBARCH |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: thin | |
| # Required-Start: $local_fs $remote_fs | |
| # Required-Stop: $local_fs $remote_fs | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: S 0 1 6 | |
| # Short-Description: thin initscript | |
| # Description: thin | |
| ### END INIT INFO |
| #!/bin/bash | |
| do_multisync() { | |
| remote_dir="private/files" | |
| local_dir="/root/i_drive/files" | |
| # remote host | |
| host="ftp.myremotehost.com" | |
| # username / password | |
| user="larry" |
| import ssl | |
| try: | |
| _create_unverified_https_context = ssl._create_unverified_context | |
| except AttributeError: | |
| # Legacy Python that doesn't verify HTTPS certificates by default | |
| pass | |
| else: | |
| # Handle target environment that doesn't support HTTPS verification | |
| ssl._create_default_https_context = _create_unverified_https_context |
| #!/usr/bin/python | |
| # | |
| # Written by: Mark Berly | |
| # | |
| # Copyright (c) 2014, Arista Networks, Inc. | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are | |
| # met: |
| CODENAMES = { | |
| "\u0000": "NULL", | |
| "\u0001": "START OF HEADING", | |
| "\u0002": "TEXT, START OF", | |
| "\u0003": "TEXT, END OF", | |
| "\u0004": "TRANSMISSION, END OF", | |
| "\u0005": "ENQUIRY", | |
| "\u0006": "ACKNOWLEDGE", | |
| "\u0007": "BELL", | |
| "\u0008": "BACKSPACE", |
| from collections import OrderedDict | |
| import itertools | |
| from random import shuffle, randint | |
| import re | |
| from sets import Set | |
| def f1(seq): # Raymond Hettinger | |
| # not order preserving | |
| set = {} | |
| map(set.__setitem__, seq, []) |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: uniqush-push | |
| # Required-Start: $remote_fs $network | |
| # Required-Stop: $remote_fs $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts uniqush-push | |
| # Description: Starts Uniqush provides a unified push service for server-side notification to apps on mobile devices. | |
| ### END INIT INFO |