Skip to content

Instantly share code, notes, and snippets.

@stantoxt
stantoxt / -
Created March 8, 2021 06:07 — forked from noman798/-
This file has been truncated, but you can view the full file.
agg_time,prov,city,com_scope,com_sub_scope,investor,round,money,currency,money_num,valuation,name,com_registered_name,slogan,invse_title,com_des,com_id,累计融资,未透露轮数
2019-12-06,香港,中西区,游戏,游戏开发商,"阿里巴巴(领投),Bright Success Capital,Vectr Ventures(领投),Apes Ventures,Ironfire Ventures",种子轮,215万美元,美元,1440.5,6987.5,Area28 Technologies,,游戏开发服务提供商,Area28 Technologies完成215万美元种子轮融资,Area28 Technologies是一家中国香港的游戏开发服务提供商,致力于打造“世界上第一个基于云的协作平台和游戏引擎,让游戏开发团队能够实时连接和创造”。,35506468,1440.5,
2019-12-06,江苏,苏州,硬件,芯片半导体,"凯风创投(领投),德迅投资,智由友金苗基金(领投)",Pre-A轮,数千万人民币,人民币,1000,15000,原位芯片,苏州原位芯片科技有限责任公司,微纳芯片研发商,原位芯片完成数千万元Pre-A轮融资,原位芯片是一家微纳芯片研发商,专注于新型MEMS芯片与模组的研发、生产和销售。掌握40多项领先MEMS技术,拥有芯片设计、工艺开发、流片生产和测试的全流程自主研发、自主生产能力。相关加工服务。,34882238,1000,
2019-12-06,江苏,南京,新工业,轻工制造,南京创投,A轮,未透露,人民币,,10000,英尼格玛,南京英尼格玛工业自动化技术有限公司,自动化生产设备及控制系统研发商,英尼格玛完成A轮融资,"英尼格玛是一家致力于电弧3D打印、自动化、智能化系统及生产线的研发、制造、调试、销售、服务的创新型科技公司。以""为工业制造提供先进、安全、可靠的解决方案""为使命,本着""传递价值,承载信托""的企业精神,英尼格玛为汽车制造、电力、军工、石油化工、航空航天、船舶、重型机械、科研院所等各行业的客户提供优质的产品和完善的售前、售后服务。",35505431,,1
2019-12-06,欧洲,英国,广告营销,移动及网络广告,Idin
@stantoxt
stantoxt / ssl.md
Created August 13, 2020 09:25
为什么不应该用 SSL 翻墙

SSL 设计目标:

  1. 防内容篡改
  2. 防冒充服务器身份
  3. 加密通信内容

而翻墙的目标:

  1. 不被检测出客户端在访问什么网站
  2. 不被检测出服务器在提供翻墙服务
@stantoxt
stantoxt / gist:2d1f01a5fd443c903efa465d80052a09
Created July 1, 2020 09:04 — forked from RuanAragao/gist:7343846
Alternative Javascript WYSIWYG editors
h2. Lightweight versions
* PunyMCE, from the authors of TinyMCE "http://github.com/spocke/punymce":http://github.com/spocke/punymce
* NicEdit "http://nicedit.com/":http://nicedit.com/
* WysiHat (Prototype) "http://github.com/37signals/wysihat":http://github.com/37signals/wysihat
* widgEditor "http://code.google.com/p/widgeditor/":http://code.google.com/p/widgeditor/
* WYMeditor (jQuery) "http://www.wymeditor.org/":http://www.wymeditor.org/
* jWYSIWYG (jQuery) "http://code.google.com/p/jwysiwyg/":http://code.google.com/p/jwysiwyg/
* ggEdit (MooTools) "http://code.google.com/p/ggedit/":http://code.google.com/p/ggedit/
* YUI Rich Text Editor - SimpleEditor (YUI) "http://developer.yahoo.com/yui/editor/":http://developer.yahoo.com/yui/editor/
@stantoxt
stantoxt / chrome_39.js
Created June 2, 2020 06:21 — forked from ksol/chrome_39.js
Language detection in javascript
window.navigator.language // -> "fr"
window.navigator.languages // -> ["fr-FR", "fr", "en-US", "en", "es", "de"]
window.navigator.userLanguage // -> undefined
window.navigator.browserLanguage // -> undefined
window.navigator.systemLanguage // -> undefined
@stantoxt
stantoxt / detectBrowserLanguage.js
Created June 2, 2020 06:21 — forked from leipert/detectBrowserLanguage.js
Detect browser language in javascript (utilizing lodash)
// These window.navigator contain language information
// 1. languages -> Array of preferred languages (eg ["en-US", "zh-CN", "ja-JP"]) Firefox^32, Chrome^32
// 2. language -> Preferred language as String (eg "en-US") Firefox^5, IE^11, Safari,
// Chrome sends Browser UI language
// 3. browserLanguage -> UI Language of IE
// 4. userLanguage -> Language of Windows Regional Options
// 5. systemLanguage -> UI Language of Windows
var browserLanguagePropertyKeys = ['languages', 'language', 'browserLanguage', 'userLanguage', 'systemLanguage'];
@stantoxt
stantoxt / walksync.js
Created March 21, 2020 15:11 — forked from kethinov/walksync.js
List all files in a directory in Node.js recursively in a synchronous fashion
// List all files in a directory in Node.js recursively in a synchronous fashion
var walkSync = function(dir, filelist) {
var fs = fs || require('fs'),
files = fs.readdirSync(dir);
filelist = filelist || [];
files.forEach(function(file) {
if (fs.statSync(dir + file).isDirectory()) {
filelist = walkSync(dir + file + '/', filelist);
}
else {
@stantoxt
stantoxt / package.json
Created March 20, 2020 18:25 — forked from adamreisnz/package.json
Simple pure npm scripts build process
{
"name": "project-name",
"description": "Template for static sites",
"version": "1.0.0",
"homepage": "http://www.project-name.com",
"author": {
"name": "Adam Reis",
"url": "http://adam.reis.nz"
},
"license": "UNLICENSED",
@stantoxt
stantoxt / mime.html
Created February 29, 2020 04:55 — forked from topalex/mime.html
How to check real mime type of image in javascript
<html>
<head>
<script type="text/javascript" src="/jquery.min.js"></script>
<title>Mime type checker</title>
<script>
$(function () {
var result = $('div#result');
if (window.FileReader && window.Blob) {
$('span#submit').click(function () {
var files = $('input#file').get(0).files;