Skip to content

Instantly share code, notes, and snippets.

View djalmaaraujo's full-sized avatar
🌊
Working from home

Djalma Araújo de Andrade djalmaaraujo

🌊
Working from home
View GitHub Profile
/*
* The Modernizr.touch test only indicates if the browser supports
* touch events, which does not necessarily reflect a touchscreen
* device, as evidenced by tablets running Windows 7 or, alas,
* the Palm Pre / WebOS (touch) phones.
*
* Additionally, Chrome (desktop) used to lie about its support on this,
* but that has since been rectified: crbug.com/36415
*
* We also test for Firefox 4 Multitouch Support.
var NomeDaClasseExtension = function() {};
NomeDaClasseExtension.ATTRS = {
attr1: {
value: function() {}
},
attr2: {
value: [],
setter: ,
require 'rubygems'
require 'sass'
require 'sass/exec'
files = Dir.glob($project.getProperty('scss'))
Dir.mkdir($project.getProperty('scss.build')) unless File.exists?($project.getProperty('scss.build'))
files.each do
| file |
puts '[SCSS] Compiling ' + File.basename(file, ".*") + '.css'
(function(global) {
var CONFIG = {
serverAddress: '10.0.1.32',
serverPort: '4000',
maxPlayers: 10 // in miliseconds
};
global.SOCKETRACE_CONFIG = CONFIG;
})(window || exports);
require 'rubygems'
require 'sass'
files = Dir.glob($project.getProperty('scss'))
files.each do | file |
puts '[SCSS] Compiling ' + File.basename(file, ".*") + '.css'
content = File.read(file)
engine = Sass::Engine.new(content, :syntax => :scss, :style => :compressed)
sass_output = engine.render
require 'rubygems'
require 'compass'
filePath = $project.getProperty('file.path')
files = Dir.glob(filePath)
files.each do | file |
fileContent = File.read(file)
engine = Sass::Engine.new(
require 'rubygems'
require 'compass'
filePath = $project.getProperty('file.path')
files = Dir.glob(filePath)
files.each do | file |
fileContent = File.read(file)
engine = Sass::Engine.new(
@djalmaaraujo
djalmaaraujo / sass-parse-alloy-components
Created October 2, 2012 20:37
sass-parse-alloy-components
<?xml version="1.0"?>
<project name="AlloySass" default="local" xmlns:antelope="antlib:ise.antelope.tasks">
<basename property="ant.file.basename" file="${ant.file}" suffix=".xml" />
<target name="build-ruby-gems">
<if>
<not>
<available file="${project.dir}/lib/ruby-gems.jar" />
</not>
<?php echo $html->script('jquery-1.4.2.min.js'); ?>
<form method="post" id="form-gateway" action="https://pagseguro.uol.com.br/checkout/checkout.jhtml" style="display:none">
<input type="hidden" name="email_cobranca" value="<?php echo Config::read('app.gateway.email'); ?>">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="encoding" value="UTF-8">
<input type="hidden" name="ref_transacao" value="event-<?php echo $subscribe['id_inscexterno_dados']; ?>">
<input type="hidden" name="item_id_1" value="1">
error: The following untracked working tree files would be overwritten by checkout:
lib/builder/.gitignore
lib/builder/componentbuild/2.x/bootstrap.xml
lib/builder/componentbuild/2.x/module.xml
lib/builder/componentbuild/3.x/bootstrap.xml
lib/builder/componentbuild/3.x/module.xml
lib/builder/componentbuild/3.x/rollup.xml
lib/builder/componentbuild/LICENSE
lib/builder/componentbuild/README
lib/builder/componentbuild/docs/docs.css