Skip to content

Instantly share code, notes, and snippets.

View avosalmon's full-sized avatar

Ryuta Hamasaki avosalmon

View GitHub Profile
@g0ld3lux
g0ld3lux / App.Http.Controllers.HomeController.php
Last active December 13, 2019 14:36
Setting up vue material + laravel 5.4
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
@oliverlundquist
oliverlundquist / double-to-single-byte.js
Created May 11, 2016 02:19
Double Byte to Single Byte (JS)
var input = 'Taro Suzuki 234234234456456';
var output = input
.replace(/[Aa]/g, 'A')
.replace(/[Bb]/g, 'B')
.replace(/[Cc]/g, 'C')
.replace(/[Dd]/g, 'D')
.replace(/[Ee]/g, 'E')
.replace(/[Ff]/g, 'F')
.replace(/[Gg]/g, 'G')
.replace(/[Hh]/g, 'H')
@btroncone
btroncone / ngrxintro.md
Last active June 26, 2024 08:27
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

tag_my_repo() {
find ~/repositories/oliverlundquist/repotest -type d -maxdepth 1 -mindepth 1 |
xargs -I '{}' bash -c '
PATH="$1"
VERSION="$2"
cd $PATH
git pull

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables