Skip to content

Instantly share code, notes, and snippets.

View lilbro1062000's full-sized avatar

Abdoulaye Camara lilbro1062000

View GitHub Profile
module.exports = function (grunt) {
// show elapsed time at the end
require('time-grunt')(grunt);
// load all grunt tasks
require('load-grunt-tasks')(grunt);
//MODIFIED: add require for connect-modewrite
var modRewrite = require('connect-modrewrite');
grunt.initConfig({
/**
* Description:
* removes white space from text. useful for html values that cannot have spaces
* Usage:
* {{some_text | nospace}}
*/
app.filter('nospace', function () {
return function (value) {
return (!value) ? '' : value.replace(/ /g, '');
#!/bin/bash
BH=$(which bash)
echo "Currently using " + $BH
echo " "
echo "update apt repos..."
echo " "
sudo apt-get update
#!/bin/bash
#
# Author: mrimp
#
# Description:
# Setup script for AOKP Build Enviroment Ubuntu 13.04
#
# Legal Stuff:
#
# This script is free software; you can redistribute it and/or modify it under
@lilbro1062000
lilbro1062000 / phpmd.xml
Last active January 1, 2016 17:09 — forked from johnkary/rules.xml
<?xml version="1.0" ?>
<ruleset name="My-PHPMD"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>
MyRuleset...
</description>
<?xml version="1.0"?>
<ruleset name="Zend Standard">
<description>A custom coding standard for cakephp</description>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.css</exclude-pattern>
<rule ref="Zend" />
</ruleset>