This file contains hidden or 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 | |
| /** | |
| * | |
| * Şahin Haberleşme SMS API | |
| * wwww.sahinhaberlesme.com.tr | |
| * | |
| * SMS Gönderim API | |
| * | |
| * Geliştirme : Sinan Eldem |
This file contains hidden or 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
| #!/bin/sh | |
| # | |
| # redis - this script starts and stops the redis-server daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Redis is a persistent key-value database | |
| # processname: redis-server | |
| # config: /etc/redis/redis.conf | |
| # config: /etc/sysconfig/redis | |
| # pidfile: /var/run/redis.pid |
This file contains hidden or 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
| # 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; |
This file contains hidden or 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
| 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> |
This file contains hidden or 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
| $ 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 |
This file contains hidden or 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 | |
| /********************************************************************************************* | |
| * 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'))?> |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| echo ">>> Starting Install Script" | |
| # Update | |
| sudo apt-get update | |
| # Install MySQL without prompt | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root' | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root' |
This file contains hidden or 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 | |
| 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'); |
This file contains hidden or 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
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
This file contains hidden or 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 | |
| require("PHPMailer/class.phpmailer.php"); | |
| function sinMailer($kimeEmail, $kimeAd = FALSE, $mailKonu, $mailMesaj, $kimdenEmail = FALSE, $kimdenAd = FALSE){ | |
| $kimeAd = $kimeAd ? $kimeAd : $kimeEmail; | |
| $mail = new PHPMailer(); | |
| $mail->IsSMTP(); |