Skip to content

Instantly share code, notes, and snippets.

View tencent_details.json
[
{
"id": "1255095780377632768",
"text": [
"WXG05-微信支付行业营销经理",
"WXG | 深圳,中国 | |",
"1、洞察行业数字化升级趋势,打造微信支付的整体行业影响力,针对泛商业人群,通过整合营销、内容营销、跨界合作等多种营销方式,传递微信支付2B的价值主张。包括整合优质生态伙伴资源(KA品牌、机构等),打造具有行业价值及影响力的精品项目,并对效果负责;",
"2、负责微信支付行业端(企业、政务、服务商)的产品/解决方案的营销推广,及时掌握行业产品的迭代,通过制定针对性的营销策略、模式及计划,支持行业产品的日常传播,完成行业营销推广目标; ",
"3、精通行业营销活动数据分析,设计市场营销活动指标及效果评估,不断迭代完善营销模式; ",
"4、探索视频号跟各行业支付场景的有机结合,并基于此提出创新想法,形成创意方案,并落地实施。"
@qiuwch
qiuwch / make_table.py
Created Aug 5, 2019
Make an html table to preview images
View make_table.py
import glob
def img_cell(content):
return '<td><img src="%s" width="20px"/></td>' % content
def make_table(cells, ncol):
table = ''
for i, cell in enumerate(cells):
if i % ncol == 0:
table += '<tr>'
View arm_update_20181027.md

From scratch

git clone https://github.com/qiuwch/ArmUE4.git --recursive

Update

git pull, git submodule update.

Commands

Use the map Content/DataCapture/OWI_RL.umap.

View rr_573.json
{"scene_name": "RealisticRendering", "unrealcv_version": "0.3.3", "cam_info": [{"pitch": 352.95, "y": 449.442, "x": -107.702, "yaw": 277.3, "z": 91.141, "roll": 0.0}, {"pitch": 352.95, "y": 449.442, "x": -107.702, "yaw": 277.3, "z": 91.141, "roll": 0.0}, {"pitch": 352.95, "y": 449.442, "x": -107.702, "yaw": 277.3, "z": 91.141, "roll": 0.0}, {"pitch": 352.95, "y": 449.442, "x": -107.702, "yaw": 277.3, "z": 91.141, "roll": 0.0}, {"pitch": 352.95, "y": 449.442, "x": -107.702, "yaw": 277.3, "z": 91.141, "roll": 0.0}, {"pitch": 352.95, "y": 449.442, "x": -107.702, "yaw": 277.3, "z": 91.141, "roll": 0.0}, {"pitch": 352.95, "y": 449.442, "x": -107.702, "yaw": 277.3, "z": 91.141, "roll": 0.0}, {"pitch": 354.052, "y": 449.442, "x": -107.702, "yaw": 277.65, "z": 91.141, "roll": 0.0}, {"pitch": 355.971, "y": 449.442, "x": -107.702, "yaw": 278.904, "z": 91.141, "roll": 0.0}, {"pitch": 355.971, "y": 448.669, "x": -107.581, "yaw": 278.904, "z": 91.141, "roll": 0.0}, {"pitch": 355.971, "y": 443.183, "x": -106.721, "yaw": 27
View jupyter_config.py
config_content = \
'''
# Reference: https://svds.com/jupyter-notebook-best-practices-for-data-science/
import os
from subprocess import check_call
def post_save(model, os_path, contents_manager):
"""post-save hook for converting notebooks to .py scripts"""
if model['type'] != 'notebook':
return # only do this for notebooks
View test_demo.yml
1:
- x: 0 y: 0 z: 0
- num_obj: 76
- depth:
- max: 100
- min: 10
- mean: 50
- Couch1:
- bb: 10 20 100 200
- 2d_volume: 400
@qiuwch
qiuwch / todo.md
Last active Jun 28, 2017
UnrealCV dev plan
View todo.md

FIX

  • Fix the lfs storage for documentation images
  • Missing binary for mac
  • Broken support for Matlab
  • Explain the two types of depth
  • For some very beta stuff, also provide a link to the older version. For example, we don't have new version for mac, then mac user needs to read the old version tutorial.
  • Fix travis error and test_client.py
  • Update ModelZoo, replace broken binaries
  • Fix the actor size
View cnpy_test.py
import numpy as np
import StringIO
filename = 'C:/qiuwch/workspace/cnpy/cnpy/cnpy/arr1.npy'
arr = np.load(filename)
print 'Loading from file %s is done' % filename
print arr.shape
# (64, 64, 128) = 524288
# 8388688, file size
@qiuwch
qiuwch / install-unrealcv.sh
Last active Apr 1, 2017
[UE4 scripts] Scripts for some UE4 tasks #tags: UE4, unrealcv
View install-unrealcv.sh
project_folder=$1
if [[ -z ${project_folder} ]]; then
echo Please specify project folder
else
echo Project folder is ${project_folder}
rm -rf ${project_folder}/Plugins
cp -r /c/qiuwch/workspace/unrealcv/unrealcv/Plugins ${project_folder}
fi
@qiuwch
qiuwch / UE4 code snippets.md
Last active Mar 18, 2019
[UE4 code snippets] Snippets for some simple tasks in UE4 #tags: UE4, unrealcv
View UE4 code snippets.md

Useful snippets for some UE4 tasks.

  • draw_center.cpp How to draw actor center
  • get_actor.cpp How to get an actor using its id
  • draw_debug_3d.cpp How to draw 3D debug points