Skip to content

Instantly share code, notes, and snippets.

View ishikawam's full-sized avatar

M_Ishikawa ishikawam

View GitHub Profile
@forelse ($user in $user)
@if(!$user->subscribed)
{{ $user->name }}
@endif
@empty
<p>No users found</p>
@endforelse
{% extends "layouts.master" %}
{% block content %}
{% for user in users %}
<p>This is user {{ user.id }}</p>
{% endfor %}
{% endblock %}
@extends('layouts.master')
@section('content')
@foreach ($users as $user)
<p>This is user</p>
@endforeach
@endsection
(function() {
'use strict';
var aa = encodeURIComponent,
ba = navigator,
ca = Error,
da = parseFloat,
ea = Object,
k = Math,
m = window,
ga = parseInt,
@ishikawam
ishikawam / awesome diff
Created August 23, 2012 10:21
word-diff and color-diff
wdiff -n foo bar | colordiff