- Author: Donny Kurnia
- Release Date: Jun 5, 2018
- Original Post
Take note this is my personal edited version and the command related to Arch has been changed to work on my Arch system.
| ### WARNING: READ CAREFULLY BEFORE ATTEMPTING ### | |
| # | |
| # Officially, this is not recommended. YMMV | |
| # https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/ | |
| # | |
| # This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit | |
| # | |
| # Credit to anfractuosity and fgimenezm for figuring out additional details for kernels | |
| # |
Take note this is my personal edited version and the command related to Arch has been changed to work on my Arch system.
| <?php | |
| require_once 'abstract.php'; | |
| // | |
| // | |
| // PLEASE SET EDIT packages.xml and update md5 hashes! | |
| class Mage_Shell_Archive extends Mage_Shell_Abstract | |
| { |
| <?php | |
| /** | |
| * @category Namespace | |
| * @package Namespace_Module | |
| * @author Anna Völkl | |
| * @author Christoph Aßmann | |
| * @author Fabian Schmengler | |
| */ | |
| /** @var Mage_Core_Model_Resource_Setup $installer */ |
| #!/usr/bin/perl -w | |
| use strict; | |
| use CGI; | |
| use CGI::Carp qw(fatalsToBrowser); | |
| use JSON; | |
| my $json = JSON->new->pretty->allow_nonref; | |
| my $q = CGI->new; |
| <?php | |
| /** | |
| * SupportDesk_FixAcl.php v1.1 | |
| * SupportDesk (www.supportdesk.nu) | |
| * 10/7/2015 | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Open Software License (OSL 3.0) | |
| * It is available through the world-wide-web at this URL: |
The API we are creating in this gist will follow these rules :
password Grant Type only (no need for Authorization pages and such).v1.api.example.com)The API will be written in PHP with the Symfony 2 framework. The following SF2 bundles are used :
| #!/usr/bin/php | |
| <?php | |
| $input = file_get_contents('php://stdin'); | |
| preg_match('|^To: (.*)|', $input, $matches); | |
| $filename = tempnam('/var/log/mail', date('ymd-his-') . $matches[1] . '.'); | |
| file_put_contents($filename, $input); |
| #!/bin/sh | |
| # exit on any errors: | |
| set -e | |
| if [ $# -lt 1 ] | |
| then | |
| echo "Usage: $0 @pantheon-alias" | |
| exit 1 | |
| fi |
| # amazon.rb - amazon affiliate links for jekyll | |
| # assumes that you have a configuration variable called 'amazon_associate_id' with your associate id | |
| # usage: {{ asin | amazon_product_href }} | |
| # returns url of a product | |
| # usage: {{ asin | amazon_image_href: 'M' }} | |
| # returns image of the product, size argument can be S, M, or L, default M | |
| # usage: {{ asin | amazon_product: 'A Product' }} |