(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.
| # This script can be used to generate a ca-cert.crt file that can be used by | |
| # Unix-based utilities like curl, git, ... | |
| # | |
| # It allows you to synchronize the root certificates (CA) based on the | |
| # certificates installed in your Windows certification stores. You can also | |
| # get a list from Mozilla, but I think it's convenient to have the same CA | |
| # certificates in all tools. | |
| # | |
| # Some examples on how to use this script: | |
| # |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: <SCRIPT_NAME> | |
| # Required-Start: $local_fs $network $named $time $syslog | |
| # Required-Stop: $local_fs $network $named $time $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Description: Script to run asp.net 5 application in background | |
| ### END INIT INFO |
(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.
| # -*- coding:utf-8 -*- | |
| import time | |
| from ctypes import * | |
| import win32gui, win32con | |
| PUL = POINTER(c_ulong) | |
| class KeyBdInput(Structure): |
| #! /usr/bin/env python | |
| """ Convert values between RGB hex codes and xterm-256 color codes. | |
| Nice long listing of all 256 colors and their codes. Useful for | |
| developing console color themes, or even script output schemes. | |
| Resources: | |
| * http://en.wikipedia.org/wiki/8-bit_color | |
| * http://en.wikipedia.org/wiki/ANSI_escape_code |