Skip to content

Instantly share code, notes, and snippets.

Working from home

Sefa Karagöz sseffa

Working from home
Block or report user

Report or block sseffa

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
JeffreyWay / PjaxMiddleware.php
Last active Dec 5, 2019
Laravel middleware for working with pjax.
View PjaxMiddleware.php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Symfony\Component\DomCrawler\Crawler;
class PjaxMiddleware
iksose / restAPI.markdown
Last active May 30, 2019
Creating a REST API using Node.js, Express, and MongoDB
View restAPI.markdown

###Creating a REST API using Node.js, Express, and MongoDB

####Installing Node.js

Go to, and click the Install button. Run the installer that you just downloaded. When the installer completes, a message indicates that Node was installed at /usr/local/bin/node and npm was installed at /usr/local/bin/npm. At this point node.js is ready to use. Let’s implement the webserver application from the home page. We will use it as a starting point for our project: a RESTful API to access data (retrieve, create, update, delete) in a wine cellar database.

Create a folder named nodecellar anywhere on your file system. In the wincellar folder, create a file named server.js.

msurguy /
Last active Dec 9, 2019
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at

sineld / routes.php
Created Oct 27, 2013
Sefa için filtre örneği
View routes.php
class DogumgunuFilter {
public function filter($route, $request, $tarih) {
if (date('d/m') == $tarih) {
return 'Doğum günün kutlu olsun Sefa';
Route::filter('dogumgunu', 'DogumgunuFilter');
DaRaFF /
Last active Oct 29, 2019
Ubuntu php development environment

#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!

I hope it helps you too!

fyi @mheiniger and me started with an installer here:

sineld / optgroup.php
Created Oct 2, 2012
Laravel: Using form::select with <optgroup>
View optgroup.php
Route::get('optgroup', function()
$eat_options = array(
'animals' => array(
You can’t perform that action at this time.