台灣の留級生 - 雜七雜八 Archive

Home > 雜七雜八

雜七雜八 Archive

LUCKY自我介紹

我是拉其

拉其是我

open小將跟電音三太子尬舞

test

用HTML強制縮圖的限制

 img 的 height,width 強制改圖檔顯示尺寸, 有兩種狀況會發生原圖檔無法顯示

1 . 解析度太高的 jpg ( 例如:600 x 400 大小卻達到 360K 以上  )

2 . 長 或 高 超過 1000 pixel 的超大圖 ( 例如:3588 x 2588 的巨圖 )

3453453453543

CSS editor for Lyceum and Wordpress

Introducing

在多人使用的環境下,如果不能修改原先的模板的情況下,最方便的方法當然是修改 CSS 了,這樣每個人都會有自行的特色,並且安全性也提高了許多。其實這重要的是, Lyceum 或是 Wordpress 的 Theme 設計方法都是直接用 php 顯示的,並不像是 Lifetype 是使用 Smarty 作為模板。所以如果要讓一般使用者直接更動 Theme 的話,有很大的安全性的問題。

This is a CSS editor for Lyceum & Wordpress.You can modify css online,and easy way to download other css file save to server.

Features

  • 可以直接輸入 CSS 位置即可直接下載到 editor 裡。
  • 可以顯示、使用多個 CSS 檔,並不會限制於一個檔而已。

Download

Version:0.1
你可以在此下載:

svn checkout http://csseditorforlyceum.googlecode.com/svn/trunk/ csseditorforlyceum

You can download from svn:

svn checkout http://csseditorforlyceum.googlecode.com/svn/trunk/ csseditorforlyceum

Continue reading

Lyceum

是一套多人修改自 的軟體,以提供多人使用。WordPress and Lyceum 這篇提到關於 對於資料庫的設計:

From my examination of the code, it seems it’s exactly what is except they’ve modified every SQL statement (what a pain!) to use a monolithic table structure. We tested this approach for MU, but found it was too expensive to scale past a certain point. With monolithic structures you hit a wall based on your hardware.

In MU users are divided and can be partitioned easily, for example on we have the users partitioned between 4096 databases, which allows you to scale very cheaply and efficiently to hundreds of thousands and even millions of users and extremely high levels of traffic.

結果 對於 Database 的作法都一樣… (默)

Home > 雜七雜八

搜尋
訂閱
Meta

Return to page top