View bach_prompt.sh
This file contains 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
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt” | |
# Shamelessly copied from https://github.com/gf3/dotfiles | |
# Screenshot: http://i.imgur.com/s0Blh.png | |
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 | |
fi |
View post.go
This file contains 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
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"strings" | |
"time" | |
) |
View app.yml
This file contains 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
application: yourApp | |
version: one | |
runtime: php55 | |
api_version: 1 | |
handlers: | |
- url: /favicon\.ico | |
static_files: public/favicon.ico | |
upload: public/favicon\.ico |
View babelAngularExtention.js
This file contains 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
//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');; |
View FileRepository.php
This file contains 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 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; |
View SearchController.php
This file contains 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 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; |
View front.blade.php
This file contains 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
<!doctype html> | |
<html lang="{{Session::get('lang')}}" class="no-js"> | |
{{-- HEAD --}} | |
@include('Muratsplat\mvc\view\front::_head') | |
{{-- END OF HEAD --}} | |
<body class="@yield('cssOnBody')"> | |
<!-- background wrapper --> | |
<div id="container"> | |
{{-- HEADER TOP MENU --}} | |
@include('Muratsplat\mvc\view\front::_header_top_menu') |
View httpPrefix.js
This file contains 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
'use strict'; | |
/** | |
* @ngdoc directive | |
* @name boruu.directive:httpPrefix | |
* @description | |
* # httpPrefix | |
*/ | |
angular.module('yourApp') | |
.directive('httpPrefix', function () { |
View Example Repository Abstract Clas.php
This file contains 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 Boruu\Root\Mvc\Repository; | |
/** | |
* Core Repository for Eloquent | |
* | |
* @author Murat Ödünç <murat.asya@gmail.com> | |
* @copyright (c) 2015, Murat Ödünç | |
* @license http://www.gnu.org/licenses/gpl-3.0.html GPLv3 | |
* @package Repository |