- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
This file contains 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
lab: | |
lab1: | |
name: S.C. Laboratorio Istocompatibilità IBMDR | |
lab2: | |
name: S.C. Laboratorio di genetica umana | |
project: | |
p1: | |
title: Analisi dei dati HLA del Registro Italiano di Donatori di Midollo Osseo e dei pazienti | |
description: |
This file contains 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 | |
$number = '0123456789394872394'; | |
$match = array(); | |
preg_match_all('/(.{1,3})/', $number, $match); | |
$res = implode(' ', $match[0]); | |
var_dump($res); | |
?> |
This file contains 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
<HTML> | |
<BODY> | |
<% | |
String cmd = "/tmp/test.sh" ; | |
Runtime run = Runtime.getRuntime() ; | |
Process pr = run.exec(cmd) ; | |
InputStream in = pr.getInputStream(); | |
BufferedReader reader = new BufferedReader(new InputStreamReader(in)); | |
StringBuilder sb = new StringBuilder(); |
This file contains 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 | |
class Pippo{ | |
private _$asset = null; | |
public function getAsset() | |
{ | |
if(null === $this->asset) |
This file contains 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
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot "/var/www/Symfony/web/" | |
ServerName symfony | |
<Directory "/var/www/Symfony/web/"> | |
Options ExecCGI FollowSymLinks Includes MultiViews | |
AllowOverride All | |
Allow from all | |
</Directory> |
This file contains 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
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot "/var/www/Symfony/web/" | |
ServerName symfony | |
<Directory "/var/www/Symfony/web/"> | |
Options All Indexes FollowSymLinks MultiViews | |
Order allow,deny | |
Allow from all | |
AllowOverride all |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
#!/bin/bash | |
# Setup and start BrowserStack Tunnel for your TravisCI build | |
# | |
# This script was adopted from Santiago Suarez Ordoñez's Sauce Connect | |
# setup script: https://gist.github.com/santiycr/5139565/ | |
# | |
# This script requires your .travis.yml to include the following private | |
# env variable: | |
# |
OlderNewer