Skip to content

Instantly share code, notes, and snippets.

View christiansaiki's full-sized avatar

Christian Saiki christiansaiki

  • Glamcorner
  • Sydney
View GitHub Profile
@jezek
jezek / app_code_local_Aschroder_Email_lib_AmazonSES.php
Last active December 2, 2021 15:34
Update of Magento's Ashroder Email module's lib/AmazonSES.php file to work with Signature version 4.
<?php
/**
* Zend_Http_Client extended for a function to sign a request for AmazonSES with signature version 4.
*
* @author jEzEk - 20210222
*/
class Zend_Http_Client_AmazonSES_SV4 extends Zend_Http_Client {
const HASH_ALGORITHM = 'sha256';
@0xjac
0xjac / private_fork.md
Last active April 25, 2024 14:16
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@joepie91
joepie91 / vpn.md
Last active April 20, 2024 21:15
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active April 18, 2024 16:07
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
{
"IAB1": "Arts & Entertainment",
"IAB1-1": "Books & Literature",
"IAB1-2": "Celebrity Fan/Gossip",
"IAB1-3": "Fine Art",
"IAB1-4": "Humor",
"IAB1-5": "Movies",
"IAB1-6": "Music",
"IAB1-7": "Television",
"IAB2": "Automotive",