Skip to content

Instantly share code, notes, and snippets.

View tayfunoziserikan's full-sized avatar
💭
Simple is perfect

Tayfun (Öziş) Erikan tayfunoziserikan

💭
Simple is perfect
View GitHub Profile
@tayfunoziserikan
tayfunoziserikan / Sample Application Data
Created February 20, 2011 19:02
Sample application data
{
{
identity: "aboutMe-application",
class: "KebabOS.applications.preferences.AboutMe",
name: "about-me",
type: "system"
department: "preferences"
version: "0.0.1",
title: "About Me",
description: "Lorem ipsum dolor sit amet",
@tayfunoziserikan
tayfunoziserikan / EditorGridPanel.js
Created February 28, 2011 09:22
EditorGridPanel
KebabOS.applications.producer.application.views.ProducersGridPanel = Ext.extend(Ext.grid.EditorGridPanel, {
// Owner Application
ownerApplication: null,
initComponent : function() {
// Base Config
var config = {
emptyText: 'Kayıt bulunmamaktadır...',
KebabOS.applications.producer.application.models.ProducersDataStore = Ext.extend(Ext.data.Store, {
// Owner Application
ownerApplication: null,
id: 'producer',
// RESTful enable
restful: true,
server {
listen 80;
server_name kebab-project.com www.kebab-project.com;
root /var/www/vhosts/kebab-project.com/httpdocs/web;
index index.html index.htm index.php;
error_log /var/www/vhosts/kebab-project.com/logs/error.log;
access_log /var/www/vhosts/kebab-project.com/logs/access.log main;
try_files $uri $uri/ @notfile;
@tayfunoziserikan
tayfunoziserikan / gist:991472
Created May 25, 2011 17:51
Tayfun's Rain Listener
Earth.weather.on('onRain', function() {
Tayfun.body.actionManager.fireEvent('goToTheBeach', {
params: {
beer: true,
chips: true,
duration: 'unlimited'
}
});
}, this);
@tayfunoziserikan
tayfunoziserikan / gist:1164784
Created August 23, 2011 10:10
Ext JS 4 Multiple MVC
app
-controller
-view
-model
-module
-app_a
-controller
-model
-view
-Application.js (module a)
@tayfunoziserikan
tayfunoziserikan / gist:1510290
Created December 22, 2011 13:20
Ext JS 4 Ajax Requester
<!--
Copyright (c) 2011-2012 lab2023 - internet technologies TURKEY Inc.
http://www.lab2023.com
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Ext JS 4 Ajax Requester</title>
@tayfunoziserikan
tayfunoziserikan / gist:1521071
Created December 26, 2011 12:32
Kebab and bootstrap
/* -----------------------------------------------------------------------------
Kebab Project 2.x (Kebab Revolution) - Web OS Client Platform for Ext JS 4.x
http://kebab-project.com
Copyright (c) 2011-2012 lab2023 - internet technologies TURKEY Inc.
http://www.lab2023.com
----------------------------------------------------------------------------- */
/**
* Prepare environment, enable loader an boot kebab automatically
*
@tayfunoziserikan
tayfunoziserikan / gist:1521079
Created December 26, 2011 12:47
Kebab web os index
<!--
Kebab Project 2.0.0 (Kebab Revolution)
http://kebab-project.com
Copyright (c) 2011-2012 lab2023 - internet technologies TURKEY Inc.
http://www.lab2023.com
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
@tayfunoziserikan
tayfunoziserikan / gist:1538900
Created December 30, 2011 09:11
desktop.html
<!--
Kebab Project 2.0.0 (Kebab Revolution)
http://kebab-project.com
Copyright (c) 2011-2012 lab2023 - internet technologies TURKEY Inc.
http://www.lab2023.com
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">