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
# In order to use this script, you must replace 'YOURUSERNAMEHERE' with your Spotify username. | |
# Execute this script like so: 'osascript alarm_clock_spotify.scpt' (without single-quotes obviously) | |
# Full explanation here: http://www.nikhilgopal.com/2011/08/show-and-tell-applescript-spotify-alarm.html | |
# If you would like to specify a playlist, please refer to this gist: https://gist.github.com/3344118 | |
set volume 2 | |
open location "spotify:user:YOURUSERNAMEHERE:playlist:muzic" | |
tell application "Spotify" | |
set the sound volume to 0 | |
play |
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/php | |
<?php | |
declare(strict_types = 1); | |
// require_once ('hhb_.inc.php'); | |
hhb_init (); | |
if ($argc !== 3) { | |
fprintf ( STDERR, "usage: %s timestamp url\n", $argv [0] ); | |
fprintf ( STDERR, "example: %s 20091012061648 http://www.p4w.se\n", $argv [0] ); | |
die ( 1 ); | |
} |
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/sh | |
# Extract subtitles from each MKV/MP4 file in the given directory | |
# [updated 2024-01-09 by FurloSK] | |
# Permanent gist address: https://gist.github.com/FurloSK/7f52303a10ab7478e3cddfe4bcc50881 | |
# | |
# ===== Usage ===== | |
# extractSubtitles.sh [-i] [<fileOrDirectory>] | |
# -i | |
# Supplying this option will skip extraction and only print information about subtitles in file | |
# <fileOrDirectory> |
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
// Combine, reverse or alternate PDF pages in Adobe Acrobat | |
// | |
// Original author: Planet PDF (http://www.planetpdf.com/) | |
// Modified by Jeff Baitis: | |
// added Acrobat 9 and Acrobat X compatibility; improved Collate function with status bar. | |
// Completely rewritten and tweaked by FurloSK. | |
// How to use: | |
// 1. Put this file into ~/Library/Application Support/Adobe/Acrobat/9.0/JavaScripts | |
// 2. Run Acrobat 9 |
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 | |
# Python 3 script to extract images from HTTP Archive (HAR) files (Tested & working on Python 3.11) | |
# | |
# Original code: kafran | |
# https://gist.github.com/kafran/0257c13b3d0a79620695b73062334930 | |
# Updated code: Lewiscowles1986 | |
# https://gist.github.com/Lewiscowles1986/645e79295efa84698f4e45cd06d610ea | |
# This code from: MrCheatEugene | |
# https://gist.github.com/MrCheatEugene/46ad8173e83efb70cf6543cb36629403 |