Skip to content

Instantly share code, notes, and snippets.

View nachinius's full-sized avatar
🐻
Working...

nachinius nachinius

🐻
Working...
  • Berlin, DE
  • 06:18 (UTC +01:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nachinius on github.
  • I am nachinius (https://keybase.io/nachinius) on keybase.
  • I have a public key ASDX14QHFaIoW1xPDTq8XljRpLX_YJlJfXIsnFGaX-Te_go

To claim this, I am signing this object:

@nachinius
nachinius / gist:0a40f4f66cee830bd423
Last active August 29, 2015 14:14
couple of directive
// angular.module('mymodule').directive('showAlertError', function() {
// return {
// restrict: 'E',
// scope: {
// key: '=key',
// alerts: '=alerts'
// },
// template: '<div ng-show="alerts.by_key[key]">{{alerts.by_key[key].message}}</div>',
// link: function(scope, elm, attrs) {
<?php
/*
* This file is part of the Symfony package. (c) Fabien Potencier <[email protected]> For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Symfony\Component\Yaml\Tests;
use Symfony\Component\Yaml\Yaml;
use Symfony\Component\Yaml\Parser;
use Symfony\Component\Yaml\Dumper;
@nachinius
nachinius / Vagrantfile
Created November 11, 2014 18:01
vagrant with two vm, one apache, other mysql and mariadb
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,