原创 npm &&composer更改鏡像源

#1composer 阿里鏡像源 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ #2取消全局配置 composer conf

原创 phpstorm2.5激活步驟

phpstorm激活步驟"https://shimo.im/docs/rtJJkRY39DGYdv9X/read"

原创 js動畫庫

動畫庫 1、https://daniel-lundin.github.io/snabbt.js/sticks.html 2、http://www.velocityjs.org/    

原创 關於construct3 camera zone 隨主角移動

按以下步驟設置 1、需要layout,屬性設置unbounded scrolling   2、設置camera X和Y 例如  : clamp(Player_Base.X, CameraZone.X + 顯示區域中間座標X, Camera

原创 新手初探Tensorflow

1、開啓Tensorflow學習之旅 2、安裝tensorflow 設置 pip 源爲阿里雲 - Win Mac Linux pip 默認源處於國外,下載速度較慢,配置爲國內阿里雲後可以加速下載。 此文章說明適用於 Win Mac Li

原创 laravel-admin 後臺 中間表查詢 過濾條數 方法

問題:laravel-admin後臺查詢需求是需要查詢關聯表中大於n條的記錄 正解分享 1、定義需要查詢大於n的查詢字段,注意這裏的字段是任意定義的,不是數據庫model中的字段。 $filter->where(function ($q

原创 怎麼製作 construct 3 TILEMAP方法

1、在layout 中插入tilemaps。 2、準備好需要資源例如下: 3、選擇要插入的圖片塊插入構建場景中: 4、多選以此類推,即可根據需求製作關卡。

原创 Construct2 快速開發小遊戲工具

Construct2 快速開發小遊戲工具 練手示例 1、開始   2、攻擊 3、 4、得分 飛機打怪獸遊戲  

原创 測試驅動開發-大神文

https://segmentfault.com/u/vimac https://segmentfault.com/l/1500000009799342

原创 supervsior 配置文件寫法 示例

如果你還不會使用supervisior,請自行google查閱supervisor的使用 安裝 :命令sudo apt-get install supervisor 如何配置supervisor進程配置文件直接上例子 [program:k

原创 關於construct3之localStorage的使用

針對construct3 的localStorage介紹,官網相應的說明,但是對於小白來說怎麼使用,我們來看下使用方法: 1、如果你要往localStorage裏面存入一個key爲 "myKey". 2、你需要調用localStorage

原创 關於 unix:///var/run/supervisor.sock no such file error

1、 sudo vim supervisord.conf  [unix_http_server] file=/var/run/supervisor.sock   ; (the path to the socket file) chmod=

原创 mysql 查看binlog

1、登錄到mysql查看binlog 只查看第一個binlog文件的內容 mysql> show binlog events; 查看指定binlog文件的內容 mysql> show binlog events in 'mysql-bin

原创 I2P和TOR 有趣網絡精靈

I2P  大蒜路由 I2P 是洋文“Invisible Internet Project”的縮寫。官方網站是 https://geti2p.net/,維基百科的介紹在“這裏”。   I2P 在很多方面跟 Tor 相似——也是開源軟件、也採

原创 ES6 Class Demo

關鍵知識點: 1、類 2、命名定義類 3、構造函數 4、靜態類 5、類的繼承 6、箭頭函數 7、模板表達式   <html> <head> <title>類的測試</title> <script type="text/javascript