PIXNET Logo登入

秋風落葉、萍水相逢 - Matt 程式 旅行 攝

跳到主文

擁有多項宅興趣-鋼普拉、電玩和動漫魂 又愛四處旅遊遊玩的宅爸工程師 本身為網站全端工程師 後端會使用PHP、ASP 前端會jQuery、Extjs等 再加上會管理公司的網站伺服器 所以對CentOS以及Freebsd與網站相關的技術熟悉

部落格全站分類:生活綜合

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 9月 22 週二 201515:12
  • [食記] (台東 卑南) 原始部落山地美食

DSC02919.JPG
其實這篇寫食記不太對,照片很少美食
原因是一方面上菜很快,另一方面忙著拍美景
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(92)

  • 個人分類:食記
▲top
  • 9月 22 週二 201514:47
  • [遊記] 台東小野柳

DSC02891.JPG
位於台東富岡北方的小野柳,當在富岡吃完滿滿的海鮮料理,
可以到這邊走走消化一下
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(8)

  • 個人分類:國內旅遊生活
▲top
  • 9月 16 週三 201511:19
  • Freebsd以及CentOS下用PHP存取MSSQL的設定

先安裝好PHP包含Extension(MSSQL)
通常這樣還是沒辦法連結到
需要安裝一個ODBC這類型的驅動程式才能連結到
PHP官網上的說明:
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(138)

  • 個人分類:後端WEB技術
▲top
  • 9月 14 週一 201518:08
  • [Extjs] Grid 裡面的欄位改用字型icon

actioncolumn
首先這部分override先引入
Ext.define('AppOverrides.grid.column.Action', {
override: 'Ext.grid.column.Action',

iconTpl: '<tpl for=".">' +
'<tpl if="glyph">' +
'<div class="{cls}" style="font-family:{glyphFamily}; font-size:14px; line-height: 15px;margin-left:5px; float: left;"<tpl if="tooltip"> data-qtip="{tooltip}"</tpl>>&#{glyph};</div>' +
'<tpl else>' +
'<img role="button" alt="{alt}" class="{cls}"<tpl if="tooltip"> data-qtip="{tooltip}"</tpl> />' +
'</tpl>' +
'</tpl>',
defaultRenderer: function(v, meta, record, rowIdx, colIdx, store, view) {
var me = this,
prefix = Ext.baseCSSPrefix,
scope = me.origScope || me,
items = me.items,
altText = me.altText,
disableAction = me.disableAction,
enableAction = me.enableAction,
iconCls = me.iconCls,
len = items.length,
i = 0,
iconTpl = new Ext.XTemplate(me.iconTpl),
datas = [],
item, itemScope, ret, disabled, tooltip, glyph, cls, data;
// Allow a configured renderer to create initial value (And set the other values in the "metadata" argument!)
// Assign a new variable here, since if we modify "v" it will also modify the arguments collection, meaning
// we will pass an incorrect value to getClass/getTip
ret = Ext.isFunction(me.origRenderer) ? me.origRenderer.apply(scope, arguments) || '' : '';
meta.tdCls += ' ' + Ext.baseCSSPrefix + 'action-col-cell';
for (; i < len; i++) {
item = items[i];
itemScope = item.scope || scope;
disabled = item.disabled || (item.isDisabled ? item.isDisabled.call(itemScope, view, rowIdx, colIdx, item, record) : false);
tooltip = disabled ? null : (item.tooltip || (item.getTip ? item.getTip.apply(itemScope, arguments) : null));
glyph = item.glyph || item.getGlyph;
cls = Ext.String.trim(prefix + 'action-col-icon ' + prefix + 'action-col-' + String(i) + ' ' + (disabled ? prefix + 'item-disabled' : ' ') + ' ' + (Ext.isFunction(item.getClass) ? item.getClass.apply(itemScope, arguments) : (item.iconCls || iconCls || '')));
data = {
cls: cls,
tooltip: tooltip
};
// Only process the item action setup once.
if (!item.hasActionConfiguration) {
// Apply our documented default to all items
item.stopSelection = me.stopSelection;
item.disable = Ext.Function.bind(disableAction, me, [i], 0);
item.enable = Ext.Function.bind(enableAction, me, [i], 0);
item.hasActionConfiguration = true;
}


if (glyph) {
if (Ext.isFunction(glyph)) {
glyph = glyph.call(itemScope, view, rowIdx, colIdx, item, record);
}


if (glyph) {
glyph = glyph.split('@');
data.glyph = glyph[0];
data.glyphFamily = glyph[1];
} else {
data = false;
}
} else {
data.alt = item.altText || altText;
data.src = item.icon || Ext.BLANK_IMAGE_URL;
}


data && datas.push(data);
}


len && (ret += iconTpl.apply(datas));
return ret;
}
});
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(122)

  • 個人分類:後端WEB技術
▲top
  • 9月 14 週一 201508:27
  • [食記] 桃園洋伙房 多國料理


這間當初感覺滿特殊的,又標榜多國料理,一直想找機會來吃看看,
這天本來想去家樂福吃午餐,但是後來想到老婆大人初一吃素
路過這間,確認有素食就進去了

(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(109)

  • 個人分類:食記
▲top
  • 9月 07 週一 201518:51
  • 微軟All-in-one鍵盤


主要買這款鍵盤是用來搭配Windows平板使用的,
我的需求是簡單方便攜帶,這款鍵盤包含了觸控板,
因為長期使用筆電,所以觸控板來說還滿習慣的
觸控板部分不單單是替代滑鼠使用,還內建了一些手勢
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(33)

  • 個人分類:3C開箱
▲top
  • 9月 07 週一 201518:35
  • [住宿] 嘉義東方明珠飯店


這間主要是接待陸客為主,所以其實一開始沒有太多的期待
大概就抱著比商旅好一點的等級,大廳是很明亮,寬敞,其實還不錯
 
整間幾乎都是木頭裝飾,其實比預期中還要有高級點的感覺
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(127)

  • 個人分類:國內旅遊生活
▲top
  • 9月 06 週日 201520:56
  • [食記] Mr. May 義式百匯 (桃園店)


 
Mr. May 義式百匯
這間每次經過就很多人,就想著總有一天要來吃吃看,裝潢上是滿不錯的異國風味
 
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(1,954)

  • 個人分類:食記
▲top
  • 9月 02 週三 201511:26
  • (Web) Glyphicons - icon改用字型

因為目前公司主要使用的CSS Framework為Bootstrap
本身有內建了一組字型是用來顯示Icon用的
Bootstrap 
不過其實裡面的icon不多
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(53)

  • 個人分類:後端WEB技術
▲top
  • 8月 31 週一 201517:03
  • [食記] 南崁拉麵吧


店內裝潢有異國風,座位不多,每到吃飯時間就客滿需要排隊,即使像去吃的這天是禮拜一
仍然是不少上班族中午吃飯的選擇

 店內有烏龍茶包和熱水可以自己泡茶喝
(繼續閱讀...)
文章標籤

Matt 發表在 痞客邦 留言(0) 人氣(216)

  • 個人分類:食記
▲top
«123...10»

個人資訊

Matt
暱稱:
Matt
分類:
生活綜合
好友:
累積中
地區:

文章分類

  • 育兒 (1)
  • 國內旅遊生活 (10)
  • 國外旅遊生活 (6)
  • 食記 (9)
  • 3C開箱 (3)
  • 網站架設與管理 (11)
  • 後端WEB技術 (6)
  • 前端WEB技術 (4)
  • PHP (7)
  • 多語系 (1)
  • Jquery (2)
  • SNMP (1)
  • 未分類文章 (1)

最新文章

  • 三井Outlet 鶴橋風月 大阪燒
  • 麥當勞 小麥麥體驗營之小小店經理
  • [食記] 桃園高鐵站 博多一風堂拉麵
  • [食記] Two monkeys Brunch
  • 南投竹山桃太郎村
  • Bootstrap 4 col在桌機 2 col 在平板以下的尺寸會掉行的解法
  • [開箱] Wacom Intuos Draw 塗鴉板
  • Mysql一次修改整個資料庫的tables(新增欄位等等)
  • [食記] 永安 綠色隧道 莫內咖啡
  • [民宿] 台東樂活小築

文章搜尋

誰來我家

熱門文章

  • (2,886)(PHP) Captcha 攻防與我現在使用的套件
  • (279)Rsync Server 安裝與設定
  • (764)[FreeBSD] Pure-FTPd + MySQL 安裝與設定

參觀人氣

  • 本日人氣:
  • 累積人氣:

文章精選