Live stream from your PS4 to a local computer running an RTMP server by intercepting the twitch.tv stream.
Requirements
- DD-WRT enabled Router (or router with iptables compatibility)
- nix Envirment
- nginx with the nginx-rtmp-module
-- Do a backup to iTunes and open "%APPDATA%\Apple Computer\MobileSync\Backup\*\3d0d7e5fb2ce288813306e4d4636395e047a3d28" as a SQLite database | |
SELECT chat.chat_identifier, message.is_from_me, datetime(message.date + 978307201, 'unixepoch') as date, message.text | |
FROM chat | |
JOIN chat_message_join on chat.ROWID = chat_message_join.chat_id | |
JOIN message on message.ROWID = chat_message_join.message_id | |
order by message.date |
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import struct | |
def main(): | |
with open('DRAKS0005.sl2', 'rb') as fo: | |
fo.seek(0x2c0, 0) | |
for slot in range(0, 10): | |
fo.seek(0x100, 1) |
I wanted to output a list of single-line strings, each item separated by a newline. I couldn't find a way to do that without combining them all into a single string. Fine.
Reasonable attempt:
osascript -e '
set myList to {"foo", "bar", "baz"}
set myString to ""
repeat with myItem in myList
set myString to myString & myItem & return
function ConvertFrom-IISW3CLog { | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] | |
[Alias('PSPath')] | |
[string[]] | |
$Path | |
) | |
process { |
#!/usr/bin/python | |
import os | |
import sys | |
import argparse | |
import iso8601 | |
import re | |
import subprocess | |
import logging | |
import json |
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
# Resume/Pause iTunes Downloads with AppleScript | |
# Jedda Wignall | |
# http://jedda.me | |
# [email protected] | |
# | |
# For use with Ration: http://www.rationapp.com | |
# You will need to edit the row number on line 19 to match your settings in iTunes. | |
# Row 16 worked for me, but you may not have Podcasts or other lines displayed, so this could break it. | |
# Play around, and you should get it working. Maybe i'll edit this at some stage to do some more checking |