Skip to content

Instantly share code, notes, and snippets.

View melihbuyuk's full-sized avatar

Melih Buyukbayram melihbuyuk

View GitHub Profile
@melihbuyuk
melihbuyuk / swift
Created January 7, 2019 05:52
Swift Comment Style
/**
Pop up a prompt panel.
- parameters:
- key: A localization key. "alert.`key`.title" will be used as alert title, and "alert.`key`.message" will be the informative text.
- titleComment: (Optional) Comment for title key.
- messageComment: (Optional) Comment for message key.
- sheetWindow: (Optional) The window on which to display the sheet.
- callback: (Optional) Completion handler.
- Returns: Whether user dismissed the panel by clicking OK. Only works when using `.modal` mode.
*/

EFENDY IOS SWIFT MVVM Project

Project Structure

Name Description
Define/ The most time static values will be put here, such as third party keys, colors, fonts...
Define/App.swift App or third party keys/credientials will be defined here
Define/String.swift Localizable strings will be defined here

EFENDY IOS SWIFT MVVM Project

Project Structure

Name Description
Define/ The most time static values will be put here, such as third party keys, colors, fonts...
Define/App.swift App or third party keys/credientials will be defined here

EFENDY IOS SWIFT MVVM Project

Project Structure

Name Description
Define/ The most time static values will be put here, such as third party keys, colors, fonts...
Define/App.swift App or third party keys/credientials will be defined here
{
"status": true,
"authentication": true,
"collection": [{
"wall_type": "blog",
"blog": [{
"_id": null,
"title": "Sıra Dışı Görüntüleriyle Herkesi Büyüleyen 20 Değişik Hayvan",
"slug": "sira-disi-goruntuleriyle-herkesi-buyuleyen-20-degisik-hayvan",
"description": "Birbirinden ilginç hayvanlar",
@melihbuyuk
melihbuyuk / gist:00262f4b9830f754b54c559057a26dc0
Last active December 19, 2016 10:45
Ubuntu Phalcon PHP 7 Installation
#!/bin/bash
# PhalconPhp with PHP7 installation on ubuntu:16.04
sudo apt-get update
sudo apt-get install -y php7.0-fpm \
php7.0-cli \
php7.0-curl \
php7.0-gd \
$schools = DB::table('schools')
->select(DB::raw('
schools.name,
i.id as institute_school_id,
i.id as institute_id,
st.name as school_type,
l1.name as location_1_name,
l2.name as location_2_name
'))
->join('institutes as i', 'i.id', '=', 'schools.institute_id')
#!/bin/bash
# Installer for GitLab on RHEL 5 (Red Hat Enterprise Linux and CentOS)
# [email protected]
#
# Only run this on a clean machine. I take no responsibility for anything.
#
# Submit issues here: github.com/mattias-ohlsson/gitlab-installer
# Exit on error
#set -e
Pod::Spec.new do |s|
s.name = 'SocialAccounts'
s.version = '0.0.1'
s.license = 'Apache 2.0'
s.summary = 'SocialAccounts is an iOS framework that provides an easy way to manage social network accounts'
s.homepage = 'https://github.com/aporat/SocialAccounts.git'
s.author = { 'Adar Porat' => '[email protected]' }
s.source = { :git => 'https://github.com/aporat/SocialAccounts.git' }
s.platform = :ios
Pod::Spec.new do |s|
s.name = "grabKit"
s.version = "1.6"
s.summary = "Drop-in iOS component to easily import photos from Facebook, FlickR, Instagram, Picasa, and more."
s.description = <<-DESC
GrabKit allows you to retrieve photos from :
* Facebook
* FlickR
* Picasa
* Instagram