Skip to content

Instantly share code, notes, and snippets.

View leftjs's full-sized avatar
🎯
Focusing

Jason.Zhang leftjs

🎯
Focusing
View GitHub Profile
@leftjs
leftjs / CaffeInstallation.md
Created July 13, 2018 18:27 — forked from arundasan91/CaffeInstallation.md
Caffe Installation Tutorial for beginners

Caffe

Freshly brewed !

With the availability of huge amount of data for research and powerfull machines to run your code on, Machine Learning and Neural Networks is gaining their foot again and impacting us more than ever in our everyday lives. With huge players like Google opensourcing part of their Machine Learning systems like the TensorFlow software library for numerical computation, there are many options for someone interested in starting off with Machine Learning/Neural Nets to choose from. Caffe, a deep learning framework developed by the Berkeley Vision and Learning Center (BVLC) and its contributors, comes to the play with a fresh cup of coffee.

Installation Instructions (Ubuntu 14 Trusty)

The following section is divided in to two parts. Caffe's documentation suggest

@leftjs
leftjs / excavator-driver.py
Created February 8, 2018 10:32 — forked from YoRyan/excavator-driver.py
Cross-platform controller for NiceHash Excavator for Nvidia (aka, NiceHash 2 for Linux)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Cross-platform controller for NiceHash Excavator for Nvidia."""
# Example usage:
# $ excavator -p 3456 &
# $ python3 excavator-driver.py
# History:
@leftjs
leftjs / searchType.html
Last active June 18, 2017 10:08
list页面的查询
<div class="form-group">
<!--<select name="WarehouseCD" ng-model="p.WarehouseCD" ng-disabled="!!(ngDialogData.WarehouseCD)" class="form-control input-sm ">-->
<!--<option selected="selected" value="">请选择</option>-->
<!--<option ng-repeat="item in DicWarehouses" value="{{item.SYS_USER_CD}}">{{item.SYS_CD_NM}}</option>-->
<!--</select>-->
<label>仓库</label>
<ui-select style="display: inline-block" ng-model="DicWarehouse.selected" theme="bootstrap" reset-search-input="true" ng-change="DicWarehouseChange()" required>
<ui-select-match placeholder="输入查询..." allow-clear="true">{{$select.selected.SYS_CD_NM}}</ui-select-match>
<ui-select-choices repeat="item in DicWarehouses | filter: $select.search track by $index" refresh="loadDicWarehouses($select.search)" refresh-delay="0">
@leftjs
leftjs / vue2生命周期.md
Last active February 17, 2017 02:19
vue2

vue2生命周期钩子

  1. beforeCreate: 组件实例刚被创建, 组件属性计算之前, 如data属性等
  2. created: 组件实例创建完成, 属性已绑定, 但DOM还未生成, $el 属性还不存在
  3. beforeMount: 模版编译/挂载之前
  4. mounted: 模版编译/挂载之后(不保证组件已在document中)
  5. beforeUpdate: 组件更新之前
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
# editorconfig-tools is unable to ignore longs strings or urls