These instructions shall work on Mac OS X and Linux.
Installation via Homebrew:
brew install mkvtoolnix
/* CONWAY'S GAME OF LIFE FOR REXX */ | |
/* FOR BREXX ON MVS 3.8 and VM */ | |
/* COPYRIGHT 2024 BY MOSHIX */ | |
/* BREXX.V2R3M3.SAMPLES(#TSOAPPL) */ | |
/* Modified by KWC Ver 0.1 */ | |
CALL IMPORT FSSAPI | |
ADDRESS FSS |
; ___ _ __ ___ __ ___ | |
; / __|_ _ __ _| |_____ / /| __|/ \_ ) | |
; \__ \ ' \/ _` | / / -_) _ \__ \ () / / | |
; |___/_||_\__,_|_\_\___\___/___/\__/___| | |
; An annotated version of the snake example from Nick Morgan's 6502 assembly tutorial | |
; on http://skilldrick.github.io/easy6502/ that I created as an exercise for myself | |
; to learn a little bit about assembly. I **think** I understood everything, but I may | |
; also be completely wrong :-) |
;; blackjack.lisp | |
;; Copyleft Matthew Ball (2013) | |
(defclass card () | |
((value :accessor card-value | |
:initarg :name) | |
(suit :accessor card-suit | |
:initarg :suit))) | |
(defclass deck () |
(defpackage :pacman | |
(:use :cl)) | |
(in-package :pacman) | |
;;; The charms/ll library contains all of the FFI bindings to Ncurses. | |
(ql:quickload :cl-charms) | |
;;; Here are all of the functions I'll be using from Ncurses. | |
(import '( |
demo | |
*.swp |
These instructions shall work on Mac OS X and Linux.
Installation via Homebrew:
brew install mkvtoolnix
# gcc -Wall -o match match.c && ./match | |
# | |
#include <stdio.h> | |
#include <string.h> | |
#include <regex.h> | |
import requests | |
import csv | |
import os | |
import json | |
import re | |
from bs4 import BeautifulSoup | |
import mechanize | |
from random import choice | |
user_agents = ['Mozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Debian/1.6-7','Konqueror/3.0-rc4; (Konqueror/3.0-rc4; i686 Linux;;datecode)','Opera/9.52 (X11; Linux i686; U; en)'] | |
random_user_agent = choice(user_agents) |
#!/usr/bin/python | |
# A Wake on LAN program that allows you to send magic packets over the Internet | |
import socket, struct | |
class Waker(): | |
def makeMagicPacket(self, macAddress): | |
# Take the entered MAC address and format it to be sent via socket | |
splitMac = str.split(macAddress,':') | |
# Pack together the sections of the MAC address as binary hex |
See also my tech blog.