Skip to content

Instantly share code, notes, and snippets.

@AV4TAr
AV4TAr / php-zf2-resources.md
Last active August 9, 2021 14:13
A bunch of resources for PHP and Zend Framework 2
@Ottergoose
Ottergoose / dynamic-rewrite-base
Last active October 30, 2019 18:51
These .htaccess rules will remove index.php from your ExpressionEngine URLs and preserve query strings, which are used by things like Google Analytics. The first file is what we use to dynamically change the rewrite base in dev/staging/production. If you're not interested in doing that, I believe you can remove the "%{ENV:REWRITEBASE}" from the …
# ---------------------------------------------------------------------
# Enable Rewrite Engine
# ---------------------------------------------------------------------
RewriteEngine on
# ----------------------------------------------------------------------
# Dynamic Base Path - Dev - localhost
# ----------------------------------------------------------------------
@raykolbe
raykolbe / CQRS.php
Created May 21, 2013 20:36
CQRS is simple!
<?php
namespace CQRSSample\Domain\Model
{
/**
* Please read this. It may be interesting to you. You can ridicule me ONLY if you read the whole thing.
*
* CQRS is NOT about different data sources and is NOT about Event Sourcing.
* CQRS IS about breaking out your reads and writes. It's powerful and simple!
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active July 7, 2024 19:32
A badass list of frontend development resources I collected over time.
@staltz
staltz / introrx.md
Last active July 15, 2024 15:43
The introduction to Reactive Programming you've been missing
@menached
menached / index.php
Last active August 29, 2015 14:21 — forked from Skalman/index.php
<?php
if (!isset($_GET['url'])) {
?>
<!DOCTYPE html>
<meta charset="utf-8">
<title>Youtube RSS creator</title>
<form>
<p>Create an RSS feed for the videos on the following page:
<p><input name="url" placeholder="E.g. https://www.youtube.com/user/scishow/videos" style="width: 30em">
@calstad
calstad / TDA_resources.md
Last active May 30, 2024 04:46
List of resources for TDA

Quick List of Resources for Topological Data Analysis with Emphasis on Machine Learning

This is just a quick list of resourses on TDA that I put together for @rickasaurus after he was asking for links to papers, books, etc on Twitter and is by no means an exhaustive list.

Survey Papers

Both Carlsson's and Ghrist's survey papers offer a very good introduction to the subject

Other Papers and Web Resources

@DragonBe
DragonBe / php_conferences_2016.md
Last active February 9, 2018 08:02
Overview of PHP oriented conferences in 2016 (excluding polyglot and framework oriented conferences)
@roycoding
roycoding / slots.md
Last active July 1, 2022 15:29
slots - A multi-armed bandit library in Python

Multi-armed banditry in Python with slots

Roy Keyes

22 Aug 2016 - This is a post on my blog.

I recently released slots, a Python library that implements multi-armed bandit strategies. If that sounds like something that won't put you to sleep, then please pip install slots and read on.

Some one armed bandits

Multi-armed bandits

@pwm
pwm / functor.php
Last active November 25, 2016 20:48
My little explanation of what a functor is
<?php
// This would be a type class in Haskell.
// Any type that implements this interface/type class is a Functor.
interface Functor {
// map() takes a function and returns a Functor.
// The "Functor F" before the "=>" simply means that F implements Functor.
// map :: Functor F => (a -> b) -> F b
public function map(callable $fn);
}