Skip to content

Instantly share code, notes, and snippets.

View letranloc's full-sized avatar
👋
playing VS Code

Loc letranloc

👋
playing VS Code
View GitHub Profile
@letranloc
letranloc / npm-f3-install.sh
Created February 15, 2017 04:40 — forked from SuperPaintman/npm-f3-install.sh
NPM install for low RAM machins. And "npm install ... killed" problem
#!/bin/bash
#
# Author: SuperPaintman <[email protected]>
#
###
# Constants
###
RETVAL=0
@letranloc
letranloc / font-awesome.php
Created January 16, 2017 09:38 — forked from justintadlock/font-awesome.php
PHP array of Font Awesome icons.
<?php
// Font Awesome v. 4.6.
function jt_get_font_icons() {
return array(
'fa-glass' => 'f000',
'fa-music' => 'f001',
'fa-search' => 'f002',
'fa-envelope-o' => 'f003',
@letranloc
letranloc / angularjs_directive_attribute_explanation.md
Created May 28, 2016 06:24 — forked from CMCDragonkai/angularjs_directive_attribute_explanation.md
JS: AngularJS Directive Attribute Binding Explanation

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>