Skip to content

Instantly share code, notes, and snippets.

<?php
namespace App\Utils;
class Asset
{
/**
* Return the asset path for the Stripe integration
*
* @return string
UPDATE Configurations SET UnsupportedCountries ='AU,AT,BE,BA,BG,BR,CA,CL,DK,HR,CZ,EG,EE,FI,FR,GB,DE,HU,IS,IE,IT,LV,LI,LT,LU,MT,MC,NL,NZ,NO,PL,PT,RO,SK,SI,ZA,ES,CH,TR,AE,US,CR,UY,HK,NI,PY,AR,PE'
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pangea
{
class Program
{
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
char *data[] = {
"Ryan", "McCullagh"
};
@rmccullagh
rmccullagh / expr.py
Created June 3, 2016 23:01
foobar google
import fileinput
import sys
EOF = -1
TERMINAL = 0x01
BINARY_TIMES = 0x02
BINARY_PLUS = 0x03
class Node():
def __init__(self, tp, left, right):
/*
* Copyright (c) 2016 Ryan McCullagh <me@ryanmccullagh.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@rmccullagh
rmccullagh / strfind.c
Created April 16, 2016 05:01
find the starting position of a string in a string
/*
* Copyright (c) 2016 Ryan McCullagh <me@ryanmccullagh.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
/*
* Copyright (c) 2015 Ryan McCullagh <me@ryanmccullagh.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
/*
* Copyright (c) 2015 Ryan McCullagh <me@ryanmccullagh.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
/**
*
* Copyright (c) 2015 Ryan McCullagh <me@ryanmccullagh.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,