Skip to content

Instantly share code, notes, and snippets.

Murat Ödünç muratsplat

Block or report user

Report or block muratsplat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
muratsplat /
Last active Jul 20, 2016
Bash Git Prompt Patch for Git 2.9.2
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt”
# Shamelessly copied from
# Screenshot:
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM=gnome-256color
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM=xterm-256color
muratsplat / post.go
Created Feb 25, 2016
Simple Web Server written in Golang
View post.go
package main
import (
muratsplat / app.yml
Last active Oct 14, 2015
Example of app.yml for Laravel5.x + Elixir on Google App Engine
View app.yml
application: yourApp
version: one
runtime: php55
api_version: 1
- url: /favicon\.ico
static_files: public/favicon.ico
upload: public/favicon\.ico
muratsplat / babelAngularExtention.js
Last active Aug 30, 2015
Full support Angular + Babel + Modules + Uglify + Avoid issues of the Dependency Injection by helping ng-Annotate
View babelAngularExtention.js
var gulp = require('gulp');
var Elixir = require('laravel-elixir');
* These for Angular + Babel + Uglify + Avoid issues of the Dependency Injection
var sourcemaps = require('gulp-sourcemaps');
var babel = require('gulp-babel');;
muratsplat / FileRepository.php
Created Jul 13, 2015
FileBindingOnModel Repository Class For Laravel
View FileRepository.php
<?php namespace Muratsplat\Repository;
use Muratsplat\Repository\IFileRepository;
use Illuminate\Database\DatabaseManager;
use Illuminate\Support\Collection;
use Illuminate\Cache\Repository as Cache;
use Illuminate\Config\Repository as Config;
use Illuminate\Events\Dispatcher;
use RuntimeException;
muratsplat / SearchController.php
Created Jul 8, 2015
SearchController on Laravel Apps
View SearchController.php
namespace Muratsplat\mvc\controller\front;
use Illuminate\Http\Request;
use Illuminate\Database\Eloquent\Collection;
use Muratsplat\Multilang\Interfaces\LangInterface;
use Muratsplat\Multilang\Interfaces\MainInterface;
use Muratsplat\mvc\model\Page\Page;
use Muratsplat\mvc\model\Page\PageLang;
muratsplat / front.blade.php
Created Jun 13, 2015
An Example Layout of Blade Template for Laravel
View front.blade.php
<!doctype html>
<html lang="{{Session::get('lang')}}" class="no-js">
{{-- HEAD --}}
{{-- END OF HEAD --}}
<body class="@yield('cssOnBody')">
<!-- background wrapper -->
<div id="container">
muratsplat / httpPrefix.js
Last active Aug 29, 2015
HttpPrefix Directive with test For Angular, This directive make force user to entry 'http://' on input element
View httpPrefix.js
'use strict';
* @ngdoc directive
* @name boruu.directive:httpPrefix
* @description
* # httpPrefix
.directive('httpPrefix', function () {
muratsplat / Example Repository Abstract Clas.php
Last active Aug 29, 2015
A abstract class for repository
View Example Repository Abstract Clas.php
<?php namespace Boruu\Root\Mvc\Repository;
* Core Repository for Eloquent
* @author Murat Ödünç <>
* @copyright (c) 2015, Murat Ödünç
* @license GPLv3
* @package Repository
You can’t perform that action at this time.