Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 1NbxdsCF9HhAyWkSoDauSfi41MfoaFDGiw https://explorer.blockstack.org/address/1NbxdsCF9HhAyWkSoDauSfi41MfoaFDGiw
Verifying my Blockstack ID is secured with the address 1NbxdsCF9HhAyWkSoDauSfi41MfoaFDGiw https://explorer.blockstack.org/address/1NbxdsCF9HhAyWkSoDauSfi41MfoaFDGiw
Verifying my Blockstack ID is secured with the address 1NbxdsCF9HhAyWkSoDauSfi41MfoaFDGiw https://explorer.blockstack.org/address/1NbxdsCF9HhAyWkSoDauSfi41MfoaFDGiw
04bf20d4aa4af91308126b681db835050b77f6e0d9a7067e994d7edc3e5aa198f130431228159da9f334de4c250479684aa98decb3f7bf13a7ce5a9fe75eff0667
require 'net/http'
require 'active_record'
url = "https://df.cybereits.com/http/activities/create_temp"
uri = URI.parse(url)
ActiveRecord::Base.establish_connection(
:adapter => 'sqlite3',
:database => 'example.db'
@ringowang
ringowang / 铅笔道创业公司文章目录.txt
Last active October 2, 2019 08:38
铅笔道创业公司文章目录
2015-07-07 [那个说“叔叔阿姨撒谎”的90后创业者获A轮融资了 300万美元](https://www.pencilnews.cn/p/1)
2015-07-07 [火锅上门也是大生意?10个月生死考验 从日30单到破1000单](https://www.pencilnews.cn/p/14)
2015-07-08 [黄健翔获550万元天使融资 争当体育界的uber](https://www.pencilnews.cn/p/20)
2015-07-08 [3年900亿 !一B2B电商独秀后 四大行业春天来 上线俩月即破亿](https://www.pencilnews.cn/p/24)
2015-08-25 [“客运搅局者”融资1100万美元 前新加坡交通部部长投他 只因他“懂”](https://www.pencilnews.cn/p/102)
2015-08-25 [融资400万元 曾被3000万资本热捧的他 从零起步成立E人学院 为电商“输血造人”](https://www.pencilnews.cn/p/111)
2015-08-25 [一年前融完2058.725779万元 他的“信用钱包” 贷款效率比传统P2P高十三倍](https://www.pencilnews.cn/p/121)
2015-08-25 [融资400万元 3个月时间 “借点儿”让30万用户在“朋友圈”借钱](https://www.pencilnews.cn/p/124)
2015-08-25 [融资600万元 “荷尔蒙经济”占据了社交70%江山 小清新“偶尔”如何乱中求生?](https://www.pencilnews.cn/p/127)
2015-08-25 [融资1000万元 米投网加工传统金融:以前是原料 现在是成品](https://www.pencilnews.cn/p/94)
@ringowang
ringowang / gist:319de243abaff7b6e33e250c206202e7
Created May 5, 2020 03:39
Eloquent JavaScript 3.9 递归里面的函数 Python实现
def find_solution(target):
def find(current, history):
if current == target:
return history
elif current > target:
return None
else:
return find(current + 5, "({} + 5)".format(history)) or find(current * 3, "({} * 3)".format(history))
return find(1, "1")