認真過每一天
Matt,一個系統廠的全端程式設計工程師,開始認真過每一天,紀錄並分享,程式生活及旅遊人生

其實這篇寫食記不太對,照片很少美食

原因是一方面上菜很快,另一方面忙著拍美景

這間不容易找,路不好走,因為都是小條山路,附近都是住宅

入口有一個類似搶孤的裝置,底下是舞台,有原住民歌舞表演

文章標籤

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

位於台東富岡北方的小野柳,當在富岡吃完滿滿的海鮮料理,

可以到這邊走走消化一下

目前台東觀光取向都是在觀光區域賣些原住民的相關產品

這邊也不例外,很久以前來的時候不太像觀光區域

文章標籤

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

先安裝好PHP包含Extension(MSSQL)

通常這樣還是沒辦法連結到

需要安裝一個ODBC這類型的驅動程式才能連結到

PHP官網上的說明:

文章標籤

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

首先這部分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;
    }
});

 然後找你要用的字型icon,我這邊使用的是Font awesome,之前(Web) Glyphicons - icon改用字型 有提到,有興趣可以去看一下

不過這邊顯示item的code不太一樣,不是用class,請參考這裡,使用的是xf26e這樣的編碼

範例如下:

文章標籤

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

這間當初感覺滿特殊的,又標榜多國料理,一直想找機會來吃看看,

這天本來想去家樂福吃午餐,但是後來想到老婆大人初一吃素

路過這間,確認有素食就進去了

文章標籤

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

主要買這款鍵盤是用來搭配Windows平板使用的,

我的需求是簡單方便攜帶,這款鍵盤包含了觸控板,

因為長期使用筆電,所以觸控板來說還滿習慣的

觸控板部分不單單是替代滑鼠使用,還內建了一些手勢

文章標籤

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

這間主要是接待陸客為主,所以其實一開始沒有太多的期待

大概就抱著比商旅好一點的等級,大廳是很明亮,寬敞,其實還不錯

 

整間幾乎都是木頭裝飾,其實比預期中還要有高級點的感覺

文章標籤

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

 

Mr. May 義式百匯

這間每次經過就很多人,就想著總有一天要來吃吃看,裝潢上是滿不錯的異國風味

 

主要就是點主餐然後有百匯吧可以無限享用,百匯吧很多東西,有披薩、沙拉、水果和各種熱食

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

因為目前公司主要使用的CSS Framework為Bootstrap

本身有內建了一組字型是用來顯示Icon用的

Bootstrap 

不過其實裡面的icon不多

文章標籤

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

店內裝潢有異國風,座位不多,每到吃飯時間就客滿需要排隊,即使像去吃的這天是禮拜一

仍然是不少上班族中午吃飯的選擇

 店內有烏龍茶包和熱水可以自己泡茶喝

文章標籤

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