Skip to content

Instantly share code, notes, and snippets.

View wingsline's full-sized avatar
😃

Arpad Olasz wingsline

😃
View GitHub Profile
@wingsline
wingsline / Kary - wingsline.icls
Created December 2, 2019 03:59
Modified Kary colors for PhpStorm
<scheme name="Kary - wingsline" version="142" parent_scheme="Default">
<option name="FONT_SCALE" value="1.0" />
<metaInfo>
<property name="created">2019-12-01T21:57:47</property>
<property name="ide">PhpStorm</property>
<property name="ideVersion">2019.3.0.0</property>
<property name="modified">2019-12-01T21:57:53</property>
<property name="originalScheme">Kary - wingsline</property>
</metaInfo>
<option name="CONSOLE_FONT_NAME" value="Source Code Pro" />
@wingsline
wingsline / Twilight.tmTheme
Created December 12, 2016 02:55
Twilight theme with support for Sublime Text's PHP Code Coverage & phpunitkit packages
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Michael Sheets</string>
<key>modified</key>
<string>Arpad Olasz</string>
<key>gutterSettings</key>
<dict>
@wingsline
wingsline / Wingsline.terminal
Created December 22, 2015 05:09
OSX Terminal theme (based on Facebook color scheme)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGKSpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKcHCBMXGyImVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NHMCAwIDAgMUYwIDAg
MAAQAYACgAbSFA0VFlVOU0lDQ4ADgAXSGA0ZGldOUy5kYXRhTxEMSAAADEhMaW5vAhAA
@wingsline
wingsline / SassMeister-input-HTML.html
Last active August 29, 2015 14:15
Generated by SassMeister.com.
This is a test
@wingsline
wingsline / SassMeister-input.scss
Created February 10, 2015 21:05
Generated by SassMeister.com.
// ----
// Sass (v3.4.11)
// Compass (v1.0.3)
// ----
$positive: red;
body {
color: $positive;
}
/**
* Taken from http://paste.laravel.com/b8n
* and added a datum attr to submit data along with the RESTful request
*
* Restfulize any hiperlink that contains a data-method attribute by
* creating a mini form with the specified method and adding a trigger
* within the link.
* Requires jQuery!
*
* Ex in Laravel:
@wingsline
wingsline / mysql-constraints.sql
Last active December 11, 2015 04:48
Sample Constraints for mysql
-- phpMyAdmin SQL Dump
-- version 3.5.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 16, 2013 at 08:30 AM
-- Server version: 5.5.25a
-- PHP Version: 5.3.20
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
@wingsline
wingsline / laravel:sqlite_regexp.php
Created January 3, 2013 05:54
Laravel: SQLite REGEXP
// create the function
DB::connection()->pdo->sqliteCreateFunction("REGEXP", "preg_match", 2);
// build a query
DB::table('tablename')->raw_where('REGEXP("#^[a-z]+$#iu", tablename.row)')->get();
@wingsline
wingsline / UUID.php
Created December 26, 2012 19:04 — forked from dahnielson/UUID.php
<?php
/**
* UUID class
*
* The following class generates VALID RFC 4211 COMPLIANT
* Universally Unique IDentifiers (UUID) version 3, 4 and 5.
*
* UUIDs generated validates using OSSP UUID Tool, and output
* for named-based UUIDs are exactly the same. This is a pure
* PHP implementation.
@wingsline
wingsline / SASS ms background gradient mixin.scss
Created October 7, 2012 19:53
SASS ms background gradient mixin
// simple ms gradient
@mixin ms-gradient ($start, $end) {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie_hex_str($start)},endColorstr=#{ie_hex_str($end)});
-ms-filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#{ie_hex_str($start)}', EndColorStr='#{ie_hex_str($end)}');
}