Skip to content

Instantly share code, notes, and snippets.

@arsonus
arsonus / DbmigrateController.php
Created May 25, 2024 11:41 — forked from bruceoutdoors/DbmigrateController.php
Laravel 4 Convert existing MySQL database to migrations. This is a fork of Christopher Pitt's work http://laravelsnippets.com/snippets/convert-an-existing-mysql-database-to-migrations, which is based off michaeljcalkins's work at http://paste.laravel.com/1jdw#sthash.0nEgQzQR.dpuf. His original source code doesn't really work out of the box in my…
<?php
/* * **
*
* This script converts an existing MySQL database to migrations in Laravel 4.
*
* 1. Place this file inside app/controllers/
*
* 2. In this file, edit the index() method to customize this script to your needs.
* - inside $migrate->ignore(), you pass in an array of table
@arsonus
arsonus / index.html
Created February 10, 2025 16:32 — forked from mbvissers/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Conic Gradient Pie Charts</title>
<style>
.pie {
margin: 16px;
height: 100px;
width: 100px;