I no longer mantain this list. There are lots of other very comprehensive JavaScript link lists out there. Please see those, instead (Google "awesome JavaScript" for a start).
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
{ | |
"directory": "components" | |
} |
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
{% extends layout %} | |
{% block body %} | |
<div id="main"> | |
<h2>Contact me</h2> | |
<p>For queries about anything on this website, or for job quotations, please contact me using the contact form below or via <a href="mailto:[email protected]">email</a>.</p> | |
<form action="#" method="post"> | |
{{ form_start(form) }} | |
{{ form_errors(form) }} |
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 // src/Acme/Form/Type/ExampleForm.php | |
namespace Acme\Form\Type; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Symfony\Component\Validator\Constraints as Assert; | |
class ExampleForm extends AbstractType { | |
public function buildForm(FormBuilderInterface $builder, array $options) { | |
$builder->add('email', 'email', array( |
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
# Installation | |
curl -o laravel.phar http://laravel.com/laravel.phar | |
chmod 755 laravel.phar | |
mv laravel.phar /usr/local/bin/laravel | |
# Usage | |
laravel new <application_name> |
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
{# Check if we got a session without creating one #} | |
{% if app.request.hasPreviousSession %} | |
{# Check if we got some flash messages #} | |
{% if app.session.flashbag.peekAll()|length > 0 %} | |
<div id="flash"> | |
{# Loop all types of flash messages #} | |
{% for type, flashMessages in app.session.flashbag.all() %} | |
{# For all flash messages with this type #} | |
{% for idx, flashMessage in flashMessages %} | |
<div class="flash-item flash-type-{{ type }}"> |
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
# Taxonomy terms: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_taxonomy_term-php | |
# Menu links: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_menu_link-php | |
# File items: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_file-php | |
# Nodes: |
playonlinux
lib32-libldap
,lib32-gnutls
(multilib needed)ttf-ms-fonts
- Battle.Net client from this webpage https://us.battle.net/account/download/ (windows version)
- Open PlayOnLinux
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
# Find the latest version on https://github.com/creationix/nvm#install-script | |
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
# Add in your ~/.zshrc the following: | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
$ source ~/.zshrc |
OlderNewer