Skip to content

Instantly share code, notes, and snippets.

name vibecoder-review
description Practical OWASP-focused security review for fast-moving codebases built with AI assistance - catches common patterns where speed trumps security (exposed secrets, auth bypasses, missing access controls, injection vulnerabilities)

Vibecoder Security Review

Overview

Target audience: Fast-moving codebases built by developers using AI assistance, rapid prototyping tools, and modern frameworks. These projects prioritize speed and iteration, often skipping security fundamentals.

@meigwilym
meigwilym / index.md
Created November 28, 2019 08:52
Notes on stitcher.io's Laravel beyond CRUD

Laravel beyond CRUD

stitcher.io

A blog series for PHP developers working on larger-than-average Laravel projects

Written for projects with a development lifespan of six to twelve months, with a team of three to six developers working on them simultaneously.

Chapter 1: Domain oriented Laravel

@svschannak
svschannak / vat_validation.js
Created March 6, 2018 15:20
VAT ID Validation
/*==================================================================================================
Application: Utility Function
Author: John Gardner
Website: http://www.braemoor.co.uk/software/vat.shtml
Version: V1.0
Date: 30th July 2005
Description: Used to check the validity of an EU country VAT number
@evgv
evgv / mage_checkout_object_and_session_object.md
Last active April 6, 2023 17:08
Magento. The Magento Checkout Object and Session Object.

The Magento Checkout Object and Session Object

The Magento Session object should be used when querying the current quote. Access it like so:

  $checkout = Mage::getSingleton('checkout/session')

The getQuote() method is responsible for retrieving the current quote. If a quote ID doesn't exist on the session object then a new quote object (Mage_Sales_Model_Quote) is created and set up with all of the necessary data (customer id, store id, remote ip etc).

If a product has never been added to the cart or the cart isn't being loaded from a previous session, it's likely the cart will never have been saved and will have no id. The cart gets saved when a product is added from the Checkout module's CartController (Mage_Checkout_CartController) in the addAction.

@h-collector
h-collector / Foo.php
Last active March 21, 2025 21:54
Standalone Laravel Queue + Redis example
<?php
namespace Jobs;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Redis\Database as Redis;
class Foo extends Job
{
use InteractsWithQueue;
@tvlooy
tvlooy / feestdagen.php
Last active March 9, 2026 16:07
Feestdagen berekenen
################################################################################
# #
# YOU MAY WANT TO USE https://packagist.org/packages/ctors/holidays INSTEAD! #
# #
################################################################################
<?php
// (c) Tom Van Looy <tom@ctors.net> https://ctors.net/isc_license.txt