What I Touched

A collection of 164 articles

What I Touched This Week 2017-05-09

macOS 如何在全屏 App 或拥挤的桌面间便捷拖动文件 - 少数派。不使用第三方软件的文件拖动技巧。 A serious bug in GCC | Andrzej’s C++ blog. Destructor not invoked when exception thrown in constructor/initializer Prepack · Partial evaluator for JavaScript. Expand computations at compile-time. Put your Electron app on a diet with Electrino – DailyJS – Medium. It provides a framework similar with Electron but with less size by reusing system web browser engine. Why does Google prepend while(1); to their JSON responses? : programming。 It prevents JSON hijacking . 云风的 BLOG: 用 gdb 分析 coredump 的一些技巧. Gdb 以及 skynet 和 lua C 层调试技巧和一些底层介绍。 email - Mail Rules using JavaScript for Automation instead of AppleScript - Stack Overflow function performMailActionWithMessages(messages) { messages.forEach( function(message) { // if you want to iterate }) };…

Updated  •  1 min read

What I Touched This Week 2017-05-01

Reading 碎片阅读如何形成知识体系?做笔记,分类阅读材料和个人时间并分配时间到不同分类的阅读材料。 使用 pip wheel 实现 Python 依赖包的离线安装。相当于 Ruby 的 bundle package How to Use Excel’s Flash Fill and Auto Fill to Automate Data Entry. Flash Fill can fill by guessing extract pattern. Here’s The Thing With Free Apps And Services - BuzzFeed News. There is no free lunch. “if you’re not paying for it, you’re not the customer, you’re the product.” Create lean Node.js image with Docker multi-stage build. Multiple FROM and corresponding build section. The output image is built using the last FROM. 类似于 Daocloud 提供的 CI, safe build 功能。 Troy Hunt: Reckon you’ve seen some stupid security things? Here, hold my beer…How stupid! References Painting with Code : Airbnb Design. Generate Sketchapp document using code with React. Timescale. Time seiies database based on PostgreSQL. Ctrl+Paint - Digital Painting Simplified. Awesome site providing video courses to learn digital painting. Simple calculation to render cheap water effects. An example to study shader. Ant Design of React. A React component library.

Updated  •  1 min read

What I Touched This Week 2017-04-24

Programming Functional programming design patterns by Scott Wlaschin - YouTube. Introduction to basic concepts in FP. Working Of Yarn and npm – Rajan Tiwari – Medium. Why yarn is better than npm. Hard-won lessons: Five years with Node.js | Scott Nonnenberg. Tips and gotchas. NASA’s 10 Coding Rules for Writing Safety Critical Program - RankRed. Good references. Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. Performance Tuning Performance test frameworks: Gatling Load and Performance testing using Java, and Locust using Python. Android performance tool: Tegra Graphics Debugger from NVIDIA and Snapdragon Profiler from Qualcomm. Twitter Lite and High Performance React Progressive Web Apps at Scale and how to improve Infinite List and React. The performance metric Flame Graphs used in the post, and chrome addons for React performance test Game Development Quaternion Rotation - YouTube. Explanation of Quaternion. Godot Engine - Free and open source 2D and 3D game engine. Yet another game engine.

Updated  •  2 min read

What I Touched This Week 2017-04-16

各种加密代理协议的简单对比 – Yachen Liu 比较了常用的 HTTPS,SOCKS5-TLS 和 shadowsocks 等加密协议。 ChrisRx/dungeonfs: A FUSE filesystem and dungeon crawling adventure game engine. Brilliant to map MUD game to filesystem. TypeScript at Slack. How Slack migrate to TypeScript and the migration guidance. Fast Drawing for Everyone. It can suggest nice clipart according to drawing. Shields.io: Quality metadata badges for open source projects. All in one place to find badges for the project. Robert Haas: New Features Coming in PostgreSQL 10. Many features for distributed PostgreSQL. Use JetBrains Rider as Unity3D C# IDE. Wedding at Scale: How I Used Twilio, Python and Google to Automate My Wedding 树莓派入门指南 很详尽,很全面。 他热衷拍摄人与建筑的微妙关系,为了不同视角冒险爬上城市高空。 热衷于「爬楼」拍摄的独立摄影师的访谈。 Read a specific length data from socket in Python Use a memoryview to wrap your bytearray: buf = bytearray(toread) view = memoryview(buf) while toread: nbytes = sock.recv_into(view, toread) view = view[nbytes:] # slicing views is cheap toread -= nbytes

Updated  •  1 min read

What I Touched This Week 2017-02-20

I had to work on Windows for a project, thus did some research to make it suck less. Visual Studio product name and internal version numbers The ultimate guide to Windows 10 keyboard shortcuts | Windows Central Delete lang directory to force vim to use English. How to Drag Files to the Taskbar to Open Them in Windows 7 VC++ package manager which can be used with cmake. 开始分享一些 Lua 的心得,这是第一篇 Lua C API 简介…

Updated  •  1 min read