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 | |
# usage: | |
# ql /tmp/file.jpg | |
# cat /tmp/file.jpg | ql | |
# cal -h | ql | |
if [ -z "$*" ]; then | |
cat > /tmp/ql.stdin | |
mime_type=$(file --brief --mime-type /tmp/ql.stdin) |
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 | |
# Title: Macdown.sh | |
# Description: Bruteforce DMG files downloaded from mac-torrent-download.net | |
# Author: Joan Bono (@joan_bono) | |
# Version: 1.1.0 | |
# Last Modified: jbono @ 20211129 | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
NOCOLOR='\033[0m' |
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
import UIKit | |
import AVFoundation | |
protocol FileConverterDelegate { | |
func fileConversionCompleted() | |
} | |
class FileConverter : NSObject { | |
var delegate : FileConverterDelegate? |
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
// | |
// NSManagedObject.swift Extension | |
// Transfroms CoreData NSManageObject into Swift Dictionary | |
// The resulting dictionary can be then used for serialization and copying | |
// | |
// Created by rabzu on 25/11/2014. | |
// Copyright (c) 2014 WeshApp. All rights reserved. | |
// | |
import Foundation |