This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Input */ | |
foo { | |
bar: baz; | |
foo: { | |
baz: foo; | |
foo: baz; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[foo:] => Array | |
( | |
[0] => Array | |
( | |
[0] => bar: | |
[1] => baz; | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'util.php'; | |
class parser { | |
public $instructions = array(); // Array - Instructions for the interpreter | |
public $css; // String - The formatted css code | |
public $tree = array(); // Array - The output tree | |
public $lines = array(); // Array - Lines of the formatted css code | |
public $level = array(); // Array - List of different arrays to append to | |
public $nest = 0; // Int - How far nested are we? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'util.php'; | |
class parser { | |
public $instructions = array(); // Array - Instructions for the interpreter | |
public $css; // String - The formatted css code | |
public $tree = array(); // Array - The output tree | |
public $lines = array(); // Array - Lines of the formatted css code | |
public $level = array(); // Array - List of different arrays to append to | |
public $nest = 0; // Int - How far nested are we? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[foo:] => Array | |
( | |
[0] => baz: foo; | |
[1] => foo: baz; | |
) | |
[foo] => Array | |
( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once("lessc.php"); | |
$file = $_SERVER["PATH_TRANSLATED"]; | |
$array = explode('.', $file); | |
$nfile = $array[0] . '.less'; | |
$name = $array[0]; | |
header("Content-type: text/css"); | |
if (file_exists($nfile)) | |
{ | |
$code = file_get_contents($nfile); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from wmi import WMI | |
from win32com.client.gencache import EnsureDispatch | |
import pygtk; pygtk.require('2.0'); import gtk | |
import traceback, win32con, threading, wx | |
class Logic: | |
class iTunes: | |
def __init__(self): pass | |
def __init__(self): | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
$.fn.scrollbars = function() { | |
$(this).each(function() { | |
$.fn.scrollbars.run.call(this); | |
}); | |
} | |
$.fn.scrollbars.run = function() { | |
// Create pointer to original this | |
base = $(this); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Created by Nathaniel Higgins - http://nath.is */ | |
package net.minecraft.src; | |
import net.lahwran.ChatCommandEvent; | |
import net.lahwran.fevents.Listener; | |
public class TuneCraft_Event_np implements Listener<ChatCommandEvent> | |
{ | |
private final mod_TuneCraft tuneCraft; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Located at minecraft/src/mod_TuneCraft.java */ | |
/* Created by Nathaniel Higgins - http://nath.is */ | |
package net.minecraft.src; | |
import java.io.*; | |
import net.lahwran.obf.Packet3EventChat; | |
import net.lahwran.ChatCommandEvent; | |
import net.lahwran.fevents.Order; | |
import net.nathggns.TuneCraft.*; |