Skip to content

Instantly share code, notes, and snippets.

View farukcam's full-sized avatar
🐢
I may be slow to respond.

Faruk Çam farukcam

🐢
I may be slow to respond.
View GitHub Profile
<div style="width: 170px" class="pull-right" id="clock"></div>
@farukcam
farukcam / facebook.html
Created July 29, 2015 08:45
facebook modal beğeni kodu
<div class="modal-facebook">
<div class="modal-like-box">
<!-- facebook beğen kodu buraya -->
</div>
</div>
.setup{
position:relative;
height:360px;
width:625px;
margin-bottom: 20px;
}
.setup:before{
content:'';
display:block;
@farukcam
farukcam / style.css
Last active September 19, 2015 06:40
öğe üzerine gelindiğinde yaklaşır
img:hover {
transform : scale(1.1);
background-size: auto 100% !important;
box-shadow: 0px 0px 25px rgba(black,0.65) inset;
transition: all 180ms ease-in;
}
@farukcam
farukcam / index.html
Created October 15, 2015 11:40
sosyal icon gibi gibi
<div id="buttons">
<div class="ios button">
<a href="#"><i class="fa fa-apple"></i></a>
<div class="app-container io">
<div class="slide">
<a href="#">İNDİR</a>
</div>
<b>App Store</b>
</div>
</div>
@farukcam
farukcam / yonlen.js
Created March 30, 2016 08:30
sayfa sonuysa urlye yönlendir
$(document).ready(function () {
$(window).scroll(function () {
if( $(window).scrollTop() + $(window).height() > $(document).height() - 350 ){
window.location="https://gist.github.com/";
}
});
?({"posts": [{ "baslik":"faruk", "hedef":"
www.faruk.com" },]})
<?php
function ucwords_tr($str) {
return ltrim(mb_convert_case(str_replace(array('i','I'), array('İ','ı'),$str), MB_CASE_TITLE, 'UTF-8'));
}

Keybase proof

I hereby claim:

  • I am farukcam on github.
  • I am farukix (https://keybase.io/farukix) on keybase.
  • I have a public key ASCCErvD1jdh6H5IDfHrfbctl5YaCxs3s8ECBlraoKTWWwo

To claim this, I am signing this object:

@farukcam
farukcam / laravel_nginx.md
Last active May 16, 2017 14:18 — forked from folivares/laravel_nginx.md
Nginx configuration for Laravel 5.1

Nginx Server Blocks configuration to run more than one Laravel 5.1 web-app off of a single Linux server

Default Server Block

Nginx Server Blocks are located in /etc/nginx/sites-available. The filename for default block is "default".

server {
	# default server specification
	listen 80 default_server;