This file contains hidden or 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 | |
| """ | |
| Script used to pull down the current video descriptions from ippsec's youtube channel. | |
| The raw output still has a few HTML tags that need to be manually removed and there | |
| also seem to be multiple duplicates of videos that have been removed in the output | |
| saved as ippsec-details.txt | |
| """ | |
| import re | |
| import sys |
This file contains hidden or 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
| Cheef's Grand APDU List Smartcard Selected Information APDU list | |
| Reference: http://web.archive.org/web/20090630004017/http://cheef.ru/docs/HowTo/APDU.info | |
| #------------+------------------------+------------------------+----------------------+--------------------------------+ | |
| |ClaIns P1 P2|Lc Send Data |Le Recv Data | Specification | Description | | |
| +------------+------------------------+------------------------+----------------------+--------------------------------+ | |
| | 04 | ISO 7816-9 6.3 | DEACTIVATE FILE | | |
| | A0 04 00 00 00 | 3GPP TS 11.11 | INVALIDATE | | |
| | A0 04 00 00 00 | SAGEM SCT U34 6.15 | INVALIDATE | | |
| +------------+------------------------+------------------------+----------------------+--------------------------------+ |
This file contains hidden or 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 java.io.ByteArrayInputStream; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.IOException; | |
| import java.util.Arrays; | |
| import flex.messaging.io.SerializationContext; | |
| import flex.messaging.io.amf.ActionContext; | |
| import flex.messaging.io.amf.ActionMessage; | |
| import flex.messaging.io.amf.AmfMessageDeserializer; | |
| import flex.messaging.io.amf.AmfMessageSerializer; |
This file contains hidden or 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 | |
| # | |
| # Optimize all jpg and png files in the cwd | |
| # Run it again to optimize new files since the last run | |
| # | |
| # Example: | |
| # echo "optimize_media.sh > /tmp/optimize.log" | sudo -u www-data bash -s | |
| # | |
| # Colin Mollenhour 2016 |