Skip to content

Instantly share code, notes, and snippets.

View modder2's full-sized avatar
🏂
Riding and developing...

Alexander Kravchenko modder2

🏂
Riding and developing...
  • Sportbank UA
  • Ukraine, Kiev
View GitHub Profile
@josh7weaver
josh7weaver / mysqlBuilder.php
Last active April 22, 2023 07:28
insert on dup key update BULK
<?php namespace [YOUR NAMESPACE HERE];
use Illuminate\Database\Eloquent\Model;
use Log;
use DB;
class MysqlBuilder {
protected $table;
protected $pdoPlaceholderLimit;
@barryvdh
barryvdh / _ide_helper.php
Last active May 6, 2024 07:45
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");
@pitch-gist
pitch-gist / gist:2999707
Created June 26, 2012 22:21
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>