Skip to content

Instantly share code, notes, and snippets.

View geekjam's full-sized avatar
🏠
Working from home

geekjam geekjam

🏠
Working from home
View GitHub Profile
import os
import sys
import time
from Core import *
s = os.sep
def ModInit():
global Core
Core.Modules = []
for f in os.listdir('Mod'):
@geekjam
geekjam / __init__.py
Created August 10, 2014 01:24
__init__.py
import os
import sys
import time
from Core import *
s = os.sep
def ModInit():
global Core
Core.Modules = []
for f in os.listdir('Mod'):
from Data import *
import ConfigParser
class Config(object):
Cf = ConfigParser.ConfigParser()
Cfr = []
Section = ""
def __getattr__(self,key):
if self.Cfr == []:
dataname = key
@geekjam
geekjam / gist:ae04ed2cffd1d62611c8d8ed9d782399
Created August 13, 2018 03:51 — forked from bobo52310/gist:61fa448021facde499b5
Laravel Coding Style and Naming Guidelines 整理

#Laravel Coding Style

據英國研究統計,工程師每天花費最多時間就是在 Naming,變數的命名、Function 的命名... 而且很容易發生爭執 我這邊參考了 PHP 常見的 Framework 整理出一份 Guidelines,來當做我們團隊的 Naming Guidelines,讓大家在開發時可以有個準則放在心上:

Naming Guidelines

  • ClassName:使用 PascalCase。
  • methodName:使用 camelCase。 >* propertyName:使用 camelCase。
@geekjam
geekjam / README-Template.md
Created October 2, 2018 13:57 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites