Skip to content

Instantly share code, notes, and snippets.

Working from own office

Sinan Eldem sineld

Working from own office
Block or report user

Report or block sineld

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
sineld / media-query.css
Created Nov 26, 2019 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 1281px) {
sineld / laravel-ums.markdown
Created Dec 6, 2012 — forked from anchetaWern/laravel-ums.markdown
Building a User Management System in Laravel
View laravel-ums.markdown

There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.

I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:

  • Register Roles
  • Register Users
  • Update Users
sineld / valet.conf
Created Apr 13, 2019 — forked from poul-kg/valet.conf
CORS Rules for Laravel Valet Nginx
View valet.conf
# To enable CORS you should add lines with CORS rules below to your valet.conf file
# Find the file /usr/local/etc/nginx/valet/valet.conf - this is Valet conf for Nginx
# of try to execute `locate valet.conf` and find the `valet.coinf` in `nginx` subdirectory
# after you edit your valet.conf do not forget to execute `valet restart`
server {
listen 80 default_server;
root /;
charset utf-8;
client_max_body_size 128M;
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(
sineld / url_slug.js
Created Dec 25, 2018 — forked from sgmurphy/url_slug.js
URL Slugs in Javascript (with UTF-8 and Transliteration Support)
View url_slug.js
* Create a web friendly URL slug from a string.
* Requires XRegExp ( with unicode add-ons for UTF-8 support.
* Although supported, transliteration is discouraged because
* 1) most web browsers support UTF-8 characters in URLs
* 2) transliteration causes a loss of information
* @author Sean Murphy <>
sineld / add-option-to-dropdown.js
Created Oct 16, 2018 — forked from paulund/add-option-to-dropdown.js
Add and Remove Options in Select using jQuery
View add-option-to-dropdown.js
$("#selectBox").append('<option value="option6">option6</option>');
sineld /
Created Aug 14, 2018 — forked from bzerangue/
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

View gist:ac7bad83e10ccf8831281cae9cc804cd
$progressBar = $this->output->createProgressBar(count($users));
$progressBar->setEmptyBarCharacter(' ');
foreach ($users as $user) {
sineld / InputEdit.vue
Created Mar 15, 2018 — forked from nckg/InputEdit.vue
Vue Inline edit
View InputEdit.vue
<span v-show="!editing"
@click="toggleEdit" v-html="showValue"></span>
<div v-show="editing" class="row">
<div class="col-md-10">
<div class="form-group">
<textarea class="form-control"
sineld / class.phpmailer.php
Created Aug 13, 2013
Mandrillapp ile Phpmailer
View class.phpmailer.php
/*~ class.phpmailer.php
| Software: PHPMailer - PHP email class |
| Version: 5.2.1 |
| Site: |
| ------------------------------------------------------------------------- |
| Admin: Jim Jagielski (project admininistrator) |
| Authors: Andy Prevost (codeworxtech) |
| : Marcus Bointon (coolbru) |
You can’t perform that action at this time.