Quickly convert a markdown file into a nice looking PDF formatted in the same way GitHub formats Readme.md files
- Install grip
$ pip install grip
- Install wkhtmltopdf
$ sudo apt-get install wkhtmltopdf
freeswitch-build: | |
pkg: | |
- installed | |
- names: | |
- build-essential | |
- curl | |
- wget | |
- autoconf | |
- automake | |
- libtool |
#!/bin/bash | |
# Tyler Goodlet [email protected] -- initial version | |
# Dependencies: | |
# -bash 4.0 | |
# -gawk <ver?> | |
# TODO: add tcpdump tracing of SIP legs | |
# support bash 3.0 (i.e. remove coproc, associative arrays) | |
# script debug options - x for echo v for verbose: "set -<variable>" (to turn on), "set +<variable>" (to turn off) |
{ config, pkgs, ... }: | |
{ | |
require = [ | |
<nixos/modules/programs/virtualbox.nix> | |
./hardware.nix | |
./monitors.nix | |
# ./mailpile.nix | |
]; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Cython has two major benefits:
Cython gains most of it's benefit from statically typing arguments. However, statically typing is not required, in fact, regular python code is valid cython (but don't expect much of a speed up). By incrementally adding more type information, the code can speed up by several factors. This gist just provides a very basic usage of cython.
/* | |
Leaked by Das Erste | |
URL: http://daserste.ndr.de/panorama/archiv/2014/Quellcode-entschluesselt-Beweis-fuer-NSA-Spionage-in-Deutschland,nsa224.html | |
Source: http://daserste.ndr.de/panorama/xkeyscorerules100.txt | |
*/ | |
// START_DEFINITION | |
/** | |
* Fingerprint Tor authoritative directories enacting the directory protocol. | |
*/ |
autopy - simple, cross-platform GUI automation toolkit. MIT - https://github.com/msanders/autopy/
"""Hoverable Behaviour (changing when the mouse is on the widget by O. Poyen. | |
License: LGPL | |
""" | |
__author__ = 'Olivier POYEN' | |
from kivy.properties import BooleanProperty, ObjectProperty | |
from kivy.core.window import Window | |
class HoverBehavior(object): |
/* Done by Rajandran R */ | |
/* Author of www.marketcalls.in */ | |
/* Date : 05th Apr 2016 */ | |
function GetSecondNum() | |
{ | |
Time = Now( 4 ); | |
Seconds = int( Time % 100 ); | |
Minutes = int( Time / 100 % 100 ); | |
Hours = int( Time / 10000 % 100 ); |