Grab ffmpeg from https://www.ffmpeg.org/download.html
OSX Users: Install ffmpeg using homebrew:
brew install ffmpeg --with-libvpx
respectively, if you already have ffmpeg installed without libvpx encoder
brew reinstall ffmpeg --with-libvpx
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Switch between background command line and MC: Ctrl + o | |
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
this is a sample of output: | |
root@percona-db-2:~# iperf -s -u -B 226.94.1.1 -i 1 | |
------------------------------------------------------------ | |
Server listening on UDP port 5001 | |
Binding to local address 226.94.1.1 | |
Joining multicast group 226.94.1.1 | |
Receiving 1470 byte datagrams | |
UDP buffer size: 122 KByte (default) | |
------------------------------------------------------------ |
http://nopaste.info/cac839a765.html#=========================================================================================== | |
# AUTHOR: Tao Yang | |
# DATE: 01/07/2010 | |
# Version: 1.0 | |
# COMMENT: Bulk add NTFS permission to a list of folders. | |
# Usage: .\BulkSet-NTFSPermissions.ps1 -FolderListFile xxxxxx\xxxx.txt -SecIdentity "Domain\Group" -AccessRights "FullControl" -AccessControlType "Allow" | |
#=========================================================================================== | |
param ( | |
[string]$FolderListFile = $(throw "Plese specify the folder list file using -FolderListFile switch."), |
#! /usr/bin/env python | |
"""pyduino - A python library to interface with the firmata arduino firmware. | |
Copyright (C) 2007 Joe Turner <[email protected]> | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
as published by the Free Software Foundation; either version 2 | |
of the License, or (at your option) any later version. |
Grab ffmpeg from https://www.ffmpeg.org/download.html
OSX Users: Install ffmpeg using homebrew:
brew install ffmpeg --with-libvpx
respectively, if you already have ffmpeg installed without libvpx encoder
brew reinstall ffmpeg --with-libvpx
__author__ = 'chris' | |
import os | |
import logging | |
""" | |
Starting with the project you created at the end of the last lesson, | |
add components to the existing framework so that: | |
-- When the areas occupied by Frame 1 or Frame 2 are clicked | |
with mouse button 1, the program should print which frame was clicked | |
and the X and Y coordinates (relative to the Frame). |
#!/bin/bash | |
# myapp daemon | |
# chkconfig: 345 20 80 | |
# description: myapp daemon | |
# processname: myapp | |
DAEMON_PATH="/home/wes/Development/projects/myapp" | |
DAEMON=myapp | |
DAEMONOPTS="-my opts" |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os | |
import re | |
from lxml import etree | |
import StringIO | |
import sys | |
reload(sys) |
REM ***** BASIC ***** | |
Sub Main | |
dim sStartRowInput as String | |
dim sEndRowInput as String | |
dim startRow as Integer | |
dim endRow as Integer | |
dim stepCount as Integer | |
dim sheetName as String |