This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
program a | |
use types, only: dp | |
use compute, only: init, register_func, run, eq, destroy, get_context | |
use iso_c_binding, only: c_ptr, c_loc, c_f_pointer | |
type my_data | |
! Material coefficients: | |
real(dp) :: a11, a12, a21, a22 | |
! There can be a lot of variables and big arrays here, this needs | |
! to be passed around by reference. |
#!/bin/bash | |
if [ "$1" == "" ]; then | |
echo "Usage: $0 1.8.0" | |
echo "to download and install MakeMKV 1.8.0" | |
exit 1 | |
fi | |
# Collect sudo credentials | |
sudo -v |
Each existing unread and subsequent new emails after the script is started are | |
passed as Mail objects to "process_email" function.Function header is provided | |
but processing implementation is left to the user. Error logs are currently sent | |
to a rotating log file (in the same directory as the script) and to STDOUT. | |
Instead of polling or checking the server for new emails every now and then, | |
IMAP IDLE check is utilized. Ensure that the IMAP server supports IDLE command | |
and allows at least 5 minutes of idling*** and uses the default ports for this | |
script to work. Tested to work with Gmail and default installations of MS | |
Exchange Server. |
import requests | |
class HoverException(Exception): | |
pass | |
class HoverAPI(object): | |
def __init__(self, username, password): | |
params = {"username": username, "password": password} | |
r = requests.post("https://www.hover.com/api/login", params=params) |
#!/bin/bash | |
# encode.sh | |
# | |
# Copyright (c) 2013 Don Melton | |
# | |
# This version published on June 7, 2013. | |
# | |
# Re-encode video files in a format suitable for playback on Apple TV, Roku 3, | |
# iOS, OS X, etc. |
real function fmincg(length, nn_params, input_layer_size, hidden_layer_size, num_labels, inputdata, y, lambda) | |
implicit none | |
! Copyright (C) 2001 and 2002 by Carl Edward Rasmussen. Date 2002-02-13 | |
! (C) Copyright 1999, 2000 & 2001, Carl Edward Rasmussen | |
! | |
! Permission is granted for anyone to copy, use, or modify these | |
! programs and accompanying documents for purposes of research or | |
! education, provided this copyright notice is retained, and note is | |
! made of any changes that have been made. |
import argparse | |
import json | |
import re | |
import os | |
from time import time | |
parser = argparse.ArgumentParser(description='Convert to Quiver Format') | |
parser.add_argument("src", help="The Source File You want to Convert") | |
args = parser.parse_args() | |
cells = [] |
$ git remote rm origin | |
$ git remote add origin [email protected]:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
As I'm writing this small tutorial, I assume you've read my previous one about setting up macOS, so if for any tool I'll use without explanation, look to that other article.
The full version IS NOT MANDATORY, as in the tutorial that follows I installed the smaller version of MacTeX and proceded installing every needed dependency. Installing the complete package is about ~3.5GB of download and ~5GB on disk, the smaller one is just about 80MBs.
Click here to download the complete version or here to download the smaller version.