A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
This file contains hidden or 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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Post; | |
class PostController extends Controller{ | |
public function getBlogIndex() { |
This file contains hidden or 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
#!/bin/bash | |
#------------configuration-------------------------------- | |
# the url of the openldap server | |
server="ldap://localhost:389"; | |
# the static config file of openldap | |
config="/etc/ldap/slapd.conf"; | |
# the LDAP base suffix and admin rootdn |
- Install zsh from cygwin
- Install oh-my-zsh from https://github.com/robbyrussell/oh-my-zsh . Follow the manual instructions
- To make zsh default on ConEmu, create a task with
C:\cygwin64\bin\mintty.exe /usr/bin/zsh -
. Make it the defaut shell. - To start a zsh shell on demand, add this batch script to your path or start menu or wherever.
start C:\cygwin64\bin\mintty.exe /usr/bin/zsh -
This file contains hidden or 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
elixir(function(mix) { | |
mix.sass('app.scss'); | |
}); | |
/*copy all font */ | |
elixir(function(mix) { | |
mix.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts/bootstrap') | |
.copy('public/fonts/bootstrap/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts') | |
.copy('bower_components/metro-bootstrap/dist/fonts/**/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts/metro-bootstrap') | |
.copy('public/fonts/metro-bootstrap/font-awesome/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts') |
This file contains hidden or 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('layouts.app') | |
@section('content') | |
@foreach($models as $model) | |
{{ $model->key }} | |
@endforeach | |
{!! Form::open((array('action' => 'ProfilesController@store'))) !!} |
This file contains hidden or 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
{ | |
"name": "ttungbmt/cms", | |
"description": "CMS - Awesome site", | |
"type": "cms", | |
"require": { | |
}, | |
"license": "MIT", | |
"authors": [ | |
{ |
This file contains hidden or 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
{ | |
"name": "ttungbmt/cms", | |
"description": "CMS - Awesome site", | |
"type": "cms", | |
"require": { | |
}, | |
"license": "MIT", | |
"authors": [ | |
{ |
This file contains hidden or 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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use App\Tweet; |
This file contains hidden or 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
//add extra extension to render pure html alongside with php | |
View::addExtension('html', 'php'); | |
Route::get('/blog', function() { | |
return view('Blog'); | |
}); | |
//route for inserting | |
Route::post('/tweets/create', 'BlogController@create'); | |
//route for deleting | |
Route::post('/tweets/delete', 'BlogController@delete'); |