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
View macros.php
<?php
/*********************************************************************************************
* Example usage (In view)
* <div class="welcome">
<?php echo Form::open(array('route'=>'process','class'=>'form-horizontal'))?>
<?php echo Form::textField('first_name')?>
<?php echo Form::textField('last_name')?>
<?php echo Form::emailField('email')?>
<?php echo Form::passwordField('password')?>
<?php echo Form::selectField('select_one', array('1'=>'abc', '2'=>'def'))?>
@sineld
sineld / gnome-keyring.sh
Created Feb 6, 2014
Disabling gnome-keyring
View gnome-keyring.sh
$ rm ~/.gnome2/keyrings/*
$ sudo shutdown -r now
(after restart) Login.
Enter network key in NetworkManager dialog.
Hit button=Cancel in keyring dialog.
http://ubuntuforums.org/showthread.php?t=796410&page=2
View barantr90.php
Evet sorunu buldum.
navigation.blade.php dosya içeriğindeki bu satırı:
<a href="{{ URL::route('profile-user') }}">Profil</a><br>
bununla değiştirince
<a href="{{ URL::route('profile-user', Auth::user()->username) }}">Profil</a><br>
@sineld
sineld / nginx.conf
Last active Aug 29, 2015
Rewriting subdomains to the Document Root in Nginx
View nginx.conf
# http://www.nigeldunn.com/2011/06/30/rewriting-subdomains-to-the-document-root-in-nginx/
# hosts file: 127.0.0.1 proje.sineld.se proje2.sineld.se
server {
server_name ~^(.+)\.sineld\.se$;
set $file_path $1;
@sineld
sineld / sms.php
Last active Aug 29, 2015
Şahin Haberleşme SMS API
View sms.php
<?php
/**
*
* Şahin Haberleşme SMS API
* wwww.sahinhaberlesme.com.tr
*
* SMS Gönderim API
*
* Geliştirme : Sinan Eldem
View config.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>DSDT</key>
<dict>
<key>Debug</key>
<false/>
View config.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>Fixes</key>
<dict>
<key>FixRegions_10000000</key>
<true/>
View simpleimage.php
<?php
/**
* File: SimpleImage.php
* Author: Simon Jarvis
* Modified by: Miguel Fermín
* Based in: http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@sineld
sineld / lng_tr.php
Created Jan 6, 2015
Language File for Sypex Dumper 2
View lng_tr.php
<?php
// Language File for Sypex Dumper 2
$LNG = array(
// Lisan dosyası bilgileri
'ver' => 20007, // Dumper sürümü
'translated' => 'Sinan Eldem (http://www.sinaneldem.com.tr/)', // İletişim
'name' => 'Türkçe', // Lisan ismi
// Araçlar paneli
View welcome.blade.php
<h1>Merhaba KIZIM!</h1>
<p>Sayfa yüklenme süresi:</p>
<p>{{ number_format(microtime(true) - LARAVEL_START, 5) }} sn.</p>
You can’t perform that action at this time.