Skip to content

Instantly share code, notes, and snippets.

View melihbuyuk's full-sized avatar

Melih Buyukbayram melihbuyuk

View GitHub Profile
@ratazzi
ratazzi / duplicate_xcode_project_target.rb
Last active December 22, 2022 14:09
Duplicate Xcode Project Target with Ruby
#!/usr/bin/env ruby
require 'rubygems'
require 'xcodeproj'
name = 'test_copy'
proj = Xcodeproj::Project.open('test.xcodeproj')
src_target = proj.targets.find { |item| item.to_s == 'test' }
@beanmoss
beanmoss / dashboard.twig.php
Created April 18, 2015 04:45
LARAVEL: Displaying different module/package dashboard widgets using view composers.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Laravel PHP Framework</title>
<style>
@import url(//fonts.googleapis.com/css?family=Lato:700);
body {
margin:0;

Student

Made that project for an educational websites, I used 3 kinds of Animation in it, SMIL animation for the page flips, SnapSVG to animate the book opening and the amazing GSAP for the rest of animations :) I hope you like my first SVG animation, definitely not the last.

A Pen by Domany on CodePen.

License.

@davidDuymelinck
davidDuymelinck / ContactController.php
Last active September 26, 2015 10:45
Laravel 5 contact demo
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Http\Requests\ContactFormRequest;
use App\Events\ContactFormValid;
class ContactController extends Controller {
public function getIndex()
@LukeFlynn
LukeFlynn / employees_db_slim.sql
Last active September 21, 2015 07:13
Slim Employees Example DB.
-- MySQL dump 10.13 Distrib 5.6.21-69.0, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: employees
-- ------------------------------------------------------
-- Server version 5.6.21-69.0
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@gonzalovazquez
gonzalovazquez / scrollPlay.js
Last active March 11, 2016 06:28
A very nifty scroll to play script insipired by Vine.From http://jsbin.com/ocupor/1/edit
var video = document.getElementById('video'),
info = document.getElementById('info'),
fraction = 0.8;
function checkScroll() {
var x = video.offsetLeft,
y = video.offsetTop,
w = video.offsetWidth,
h = video.offsetHeight,
r = x + w, //right
@boriscy
boriscy / gist:739009
Created December 13, 2010 14:03
demo sql
-- phpMyAdmin SQL Dump
-- version 3.3.8
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 13, 2010 at 10:02 AM
-- Server version: 5.1.41
-- PHP Version: 5.3.2-1ubuntu4.5
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";