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 python | |
# -*- coding: utf-8 -*- | |
# by Texy and the raspberry pi community | |
# bitmap display routine by POSitality | |
# this version using the SPI pins, but not | |
# using spidev | |
# 19/1/2013 | |
import time | |
import wiringpi |
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/python | |
# | |
# HD44780 LCD Test Script for | |
# Raspberry Pi | |
# | |
# Author : Matt Hawkins | |
# Site : http://www.raspberrypi-spy.co.uk | |
# | |
# Date : 26/07/2012 | |
# |
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 | |
//use Illuminate\Auth\UserInterface; | |
//use Illuminate\Auth\Reminders\RemindableInterface; | |
class User extends Cartalyst\Sentry\Users\Eloquent\User { | |
//your shiny code comes here | |
} |
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 User extends Cartalyst\Sentry\Users\Eloquent\User { | |
/** | |
* @author Arda Kılıçdağı, | |
* @param $orderBy string how to order | |
* @param $sortBy string Sort like Ascending or Descending, values are asc/desc | |
* @param $toArray boolean whether to return the output as array or not. Default is false | |
* |
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 | |
//önce dosya adımız | |
$resim_yolu = 'cat.jpg'; | |
$yeni_yol = 'cat2.jpg'; | |
$alttan_canvas = 100; | |
$font = './arial.ttf'; | |
$fontSize = 20; | |
$metin = 'CAPS VER PAMPA'; |
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 | |
/** | |
* @author Arda Kılıçdağı | |
* @link http://arda.pw | |
*/ | |
Route::get('cache_pagination', function(){ | |
//sayfa başına kaç tane olacak? | |
$sayfaBasinaKacTane = 10; |
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
require 'formula' | |
class Sshpass < Formula | |
url 'http://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz' | |
homepage 'http://sourceforge.net/projects/sshpass' | |
md5 'c52d65fdee0712af6f77eb2b60974ac7' | |
def install | |
system "./configure", "--disable-debug", "--disable-dependency-tracking", | |
"--prefix=#{prefix}" |
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/python | |
import RPi.GPIO as GPIO | |
import time | |
GPIO.setmode(GPIO.BOARD) | |
PINNO = 7 | |
GPIO.setup(PINNO, GPIO.OUT) | |
p = GPIO.PWM(PINNO, 50) |
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/bash | |
if [ -n "$1" ]; then | |
if [ $1 = "start" ]; then | |
echo "Starting php-fpm ..." | |
launchctl load -w /usr/local/opt/php56/homebrew.mxcl.php56.plist | |
echo "Starting nginx ..." | |
sudo nginx | |
launchctl load -w /usr/local/opt/nginx/homebrew.mxcl.nginx.plist | |
echo "Starting mysql ..." | |
launchctl load -w /usr/local/opt/mysql/homebrew.mxcl.mysql.plist |
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
### Keybase proof | |
I hereby claim: | |
* I am ardakilic on github. | |
* I am arda (https://keybase.io/arda) on keybase. | |
* I have a public key whose fingerprint is 3C02 0B62 F05B C82D 9819 2ECC 7D5B 52F5 1FAF A649 | |
To claim this, I am signing this object: |
OlderNewer