Skip to content

Instantly share code, notes, and snippets.

View autokludge's full-sized avatar

autokludge

View GitHub Profile
@autokludge
autokludge / gist:3974527
Created October 29, 2012 16:11
Diff for blade syntax etc
diff --git a/Blade.tmLanguage b/Blade.tmLanguage
index 0ea39c9..0b22b9e 100644
--- a/Blade.tmLanguage
+++ b/Blade.tmLanguage
@@ -718,6 +718,10 @@
<key>include</key>
<string>#blade-hashes</string>
</dict>
+ <dict>
+ <key>include</key>
@autokludge
autokludge / bladediff
Created October 29, 2012 16:10
Diff for blade syntax etc
diff --git a/Blade.tmLanguage b/Blade.tmLanguage
index 0ea39c9..0b22b9e 100644
--- a/Blade.tmLanguage
+++ b/Blade.tmLanguage
@@ -718,6 +718,10 @@
<key>include</key>
<string>#blade-hashes</string>
</dict>
+ <dict>
+ <key>include</key>
@autokludge
autokludge / Blade.tmLanguage
Created October 29, 2012 15:41
Blade lang with color support functions
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>blade</string>
<string>blade.php</string>
</array>
<key>name</key>
@autokludge
autokludge / ide_helper.php
Created August 22, 2012 12:48
Laravel3 IDE Helper
<?php
class Auth extends Laravel\Auth {}
/**
* @method static add(string $name, string $source, array $dependencies = array(), array $attributes = array())
* @method static string styles()
* @method static string scripts()
*/
class Asset extends Laravel\Asset {}
class Autoloader extends Laravel\Autoloader {}
class Bundle extends Laravel\Bundle {}
@autokludge
autokludge / CI_ide_helper.php
Created August 22, 2012 12:48 — forked from topdown/CI_phpStorm.php
Code Completion helper for CodeIgniter
<?php die('This file is not really here!');
/**
* ------------- DO NOT UPLOAD THIS FILE TO LIVE SERVER ---------------------
*
* Implements code completion for CodeIgniter in phpStorm
* phpStorm indexes all class constructs, so if this file is in the project it will be loaded.
* -------------------------------------------------------------------
* Drop the following file into a CI project in phpStorm
* You can put it in the project root and phpStorm will load it.