Skip to content

Instantly share code, notes, and snippets.

View Mparaiso's full-sized avatar

mparaiso Mparaiso

View GitHub Profile
$ dnx gen controller --help
Finding the generator 'controller'...
Running the generator 'controller'...
Usage: controller [options]
Options:
--help|-h|-? Show help information
--useAsyncActions|-async Switch to indicate whether to generate async controller actions
@Mparaiso
Mparaiso / scopes.txt
Created April 8, 2016 12:15 — forked from iambibhas/scopes.txt
Sublime Text 2: Snippet scopes
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CoffeeScript: source.coffee
@Mparaiso
Mparaiso / .jshintrc
Created November 23, 2013 05:43 — forked from haschek/.jshintrc
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
@Mparaiso
Mparaiso / gist:7012621
Created October 16, 2013 18:37
android cruid builder manifest example
{
"namespace":"com.mparaiso.crud",
"authority":"com.mparaiso.crud.Crud",
"projectName":"DEMO CRUD APPLICATION",
"dbName":"crud.db",
"dbVersion":1,
"tables":[
{
"name":"Article",
"label":"title",
@Mparaiso
Mparaiso / README.md
Created October 12, 2013 12:19 — forked from nikcub/README.md
@Mparaiso
Mparaiso / pthreads.md
Created September 10, 2013 14:25 — forked from krakjoe/pthreads.md

Multi-Threading in PHP with pthreads

A Brief Introduction to Multi-Threading in PHP

  • Foreword
  • Execution
  • Sharing
  • Synchronization
  • Pitfalls
@Mparaiso
Mparaiso / 1-hello-world.rb
Created September 8, 2013 18:41
humblerubybook
# hello word with ruby.
puts "Hello, world, What is your name?"
myname = gets()
result=<<HERE
Well, hello there, #{myname}."
HERE
puts result;
@Mparaiso
Mparaiso / morpion.php
Created September 7, 2013 14:23
morpion test
<?php
// lancer le programme avec php morpion.php ( version >= 5.4 )
$t = array();
// remplir le tableau
function remplirTableau()
{
for ($l = 0; $l <= 2; $l++) {
@Mparaiso
Mparaiso / morpion.php
Created September 7, 2013 14:23
morpion script
<?php
// lancer le programme avec php morpion.php ( version >= 5.4 )
$t = array();
// remplir le tableau
function remplirTableau()
{
for ($l = 0; $l <= 2; $l++) {
@Mparaiso
Mparaiso / phpunit.xml
Created September 7, 2013 10:55
phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"