This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Convert-FromUnixDate ($UnixDate) { | |
[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($UnixDate)) | |
} | |
function global:SteamLastPlayed() | |
{ | |
$steamGuid = [Guid]"CB91DFC9-B977-43BF-8E70-55F46E410FAB" | |
$app = [PlayniteUI.App]::CurrentApp | |
$steamLibrary = $app.Extensions.LibraryPlugins[$steamGuid].Plugin | |
# HACK HACK HACK: We want to access the Steam plugin's settings to access the user id |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Automatically configure a VM download Coursera courses. | |
# This script works as a user data file for use with a cloud VM. | |
# This script will resume downloading if the VM is restarted. | |
# This script works with Debian jessie (or possibly Ubuntu with systemd). | |
# You must enroll in each course and accept the Honor of Code of each course | |
# before you can download them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
©SB INIT | |
CONTROL - pid:0xD, count:0x80034 - bmRequestType:0x80, bRequest:0x6, wValue:0x100, wIndex:0x0, len:0x8 -- 0x1000680 0x80000 | |
desc:0x100 | |
Desc found, 0x1FFFEF3E,0x12,120100020000 | |
setup send 0x1FFFEF3E,0x12 0x1 0x0 0x2 0x0 0x0 0x0 0x40 0x11 0x1C 0x4D 0xB0 0x0 0x1 0x1 0x2 0x3 0x1 ,0x12 | |
CONTROL - pid:0x9, count:0x80064 - PID=IN:0x8 | |
CONTROL - pid:0xD, count:0x80034 - bmRequestType:0x0, bRequest:0x5, wValue:0x1C, wIndex:0x0, len:0x0 -- 0x1C0500 0x0 | |
setup send 0x0,,0x0 | |
CONTROL - pid:0x9, count:0x64 - PID=IN:0xC | |
set address: 0x1C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bburky.bobbyapplication_exploit; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.support.v7.app.ActionBarActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.widget.TextView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
'''Scrape a list of all conference talk PDFs from Lanyrd.com | |
Usage: ./lanyrd.py > talks.json | |
This script searches Lanyrd for all talks with PDF slides and extracts the data | |
into nicely formatted JSON. | |
''' | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import asyncio | |
import aiohttp | |
import lxml.html | |
CDX_API_URL = 'http://web.archive.org/cdx/search/cdx' | |
# This uses an (undocumented?) flag 'id_' to force getting unmodified original files | |
DOWNLOAD_URL_PATTERN = 'http://web.archive.org/web/{timestamp}id_/{original}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"regex": "^[a-f0-9]{4}$", | |
"modes": [ | |
{ | |
"john": null, | |
"hashcat": null, | |
"extended": false, | |
"name": "CRC-16" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Only CentOS 6.4 is avialable, not 6.5 | |
#FROM centos:6.4 | |
# Unoffical repository. Has CentOS 6.5 | |
FROM tianon/centos:6.5 | |
# Add zip and sudo. Is sudo usually absent from default installs? | |
RUN yum install -y sudo zip | |
# Make a original-docs.zip with some files in it |