- python漏洞扫描模块_GitHub - PickledFish/SZhe_Scan: 碎遮SZhe_Scan Web漏洞扫描器,基于python Flask框架,对输入的域名/IP进行全面的信息搜...
weixin_39714191
python漏洞扫描模块
SZhe_Scan碎遮Web漏洞扫描器(懒癌晚期该项目于6月4日docker打包完毕,cheer!!碎遮1.0版本,该项目会持续维护更新,欢迎各位大师傅疯狂Star!!!特点对输入的域名或IP进行自动化信息搜集与漏洞扫描,支持添加POC进行漏洞检测,扫描结果可视化显示在web界面上使用python3编写,多线程+多进程进行资产扫描,前端使用html+css+javascript进行漏洞扫描系统的可
- python基础:pkl格式文件
Galaxy.404
Python基础python
一、pkl格式文件简介pkl格式文件,全称pickle,Python中一种用于序列化对象的文件格式。以字典(dict)、数据框(DataFrame)或任何其他数据类型的形式作为数据集使用的时候,可能希望将它们保存到文件中,以便以后可以使用它们或将它们发送给其他人。这就是Python的pickle模块的用途:它将对象序列化,以便将它们保存到文件中,并在以后再次加载到程序中。Pickling允许将py
- pkl文件如何打开和读取
speedup奔跑的蜗牛
python
fromzodbpickleimportpickle#inf=Pickle.load(open(r'address1.pkl','rb'))inf=pickle.load(open(r'address1.pkl','rb'))print(inf)print(type(inf))print(len(inf))foriininf:print(i)cPickle是python2系列用的,3系列用pick
- Python中pickle文件操作及案例-学习篇
Zorione
Pythonpython学习开发语言
一、简介Pickle算是Python的一种数据序列化方法,它能够将对象转换为字节流,进而可以保存到文件中或通过网络传输给其他Python程序。这种方式非常适合快速简便地保存复杂的数据结构,例如列表、字典、自定义对象等。二、pickle文件的读写示例代码如下:importpickle#导入pickle操作的库#创建一个示例数据data={'name':'Tom','age':30,'is_stude
- python反序列化
MESSIR22
python开发语言
前言:最近打比赛遇到了就简单记录学习一下一、概念什么是序列化?序列化是将Python对象转换为一种可以存储或传输的格式的过程。常见的序列化格式包括JSON、XML、protobuf以及Python自带的pickle模块。什么是反序列化?反序列化是将序列化的数据转换回Python对象的过程。这使得我们可以从文件、网络或其他存储介质中恢复对象的状态。Python中的序列化和反序列化1.使用pickle
- python如何对excel批量加密_python实现linux服务器批量修改密码并生成execl
weixin_39963523
批量修改linux服务器密码,同时生成execl表格#!/usr/bin/envpython#coding:utf8#随机生成自定义长度密码fromrandomimportchoiceimportstring,pickledefGenPassword(length=8,chars=string.ascii_letters+string.digits):return''.join([choice(c
- python网络编程学习笔记
github_czy
python
知识点框架协议栈与库端口号、套接字、绑定接口、udp分组、套接字选项、广播TCP工作原理,套接字的含义,每个会话使用一个套接字,地址已被占用,绑定接口,死锁,已关闭连接,半开连接,像文件一样使用TCP流主机名与套接字,现代地址解析,DNS协议字节与字符串,封帧与引用,pickle与自定义定界符的格式,xml与json,压缩,未来异常生成证书,TLS负载移除,手动选择加密算法与完美前向安全,支持tl
- 在字符串的 格式化 与 反格式化 中用到的 模块 和 方法
认真学Python的小宇
前端python
目录一,Open函数使用二,Json与pickle一,json模块1.将Python对象转换为JSON字符串2.将JSON字符串解析为Python对象3.读取和写入JSON文件4.处理JSON中的特殊数据类型5.错误处理二,pikel模块1.序列化Python对象2.反序列化Python对象3.处理自定义对象的序列化和反序列化4.使用pickle.dumps()和pickle.loads()5.注
- 2024年用Python制作一个自动抢票脚本_python抢票脚本
2401_84563220
程序员python开发语言
self.driver.get(target_url)####获取cookiedefget_cookie(self):try:cookies=pickle.load(open(“cookies.pkl”,“rb”))#载入cookieforcookieincookies:cookie_dict={‘domain’:‘.damai.cn’,#必须有,不然就是假登录‘name’:cookie.get(
- pyflink1.18.0 报错 TypeError: cannot pickle ‘_thread.lock‘ object
Thomas2143
总结pyflink
完整报错Traceback(mostrecentcalllast):File"/Users//1.py",line851,inds1=my_datastream.key_by(lambdax:x[0]).process(MyProcessFunction())#返回元组即:f0f1f2三列File"/Users/thomas990p/bigdataSoft/minicondaarm/minicon
- 【python】 用来将对象持久化的 pickle 模块
咖 啡加剁椒
软件测试pythonwindows开发语言软件测试功能测试自动化测试程序人生
pickle模块可以对一个Python对象的二进制进行序列化和反序列化。说白了,就是它能够实现任意对象与二进制直接的相互转化,也可以实现对象与文本之间的相互转化。比如,我程序里有一个python对象,我想把它存到磁盘里,于是我用pickle把他转到一个文本里。当后面我想使用的时候,读取出来时候依然是一个python对象。一、pickle模块下的方法pickle模块提供了以下4种方法:dump():
- 餐厅游戏
_若尘_
1:plate元素选择器2:bento元素选择器3:#fancyID选择器4:plate>apple子代元素选择器5:#fancy>pickle子代选择器6:.small类选择器7:bento>orange,plate>.small子代选择器、分组选择器、类选择器8:bento>orange子代选择器9:plate,bento元素选择器、分组选择器10:*通配选择器11:plate>*子代选择器、
- python关于EOFERROR:Ran out of input的问题
酒深巷子Ya
#写入d=dict(name='xioazhi',num=1002)withopen('./Test.txt','wb')asf:pickle.dump(d,f)#读取withopen('./Test.txt','rb')asf:print(f.read())try:print(pickle.load(f))exceptEOFError:print('None')打印结果如下ScreenShot2
- 猫头虎分享已解决Bug || TypeError: can‘t pickle _thread.lock objects
猫头虎-人工智能
人工智能已解决的Bug专栏bug人工智能机器学习chatgpt深度学习神经网络自然语言处理
博主猫头虎的技术世界欢迎来到猫头虎的博客—探索技术的无限可能!专栏链接:精选专栏:《面试题大全》—面试准备的宝典!《IDEA开发秘籍》—提升你的IDEA技能!《100天精通鸿蒙》—从Web/安卓到鸿蒙大师!《100天精通Golang(基础入门篇)》—踏入Go语言世界的第一步!《100天精通Go语言(精品VIP版)》—踏入Go语言世界的第二步!领域矩阵:猫头虎技术领域矩阵:深入探索各技术领域,发现知
- pickle压缩文件
skywalk8163
项目实践python
写了一个测试文件,使用不同的pickle压缩协议,发现gzip+3时最小,3次之,2时最大。测试代码如下:importpickle,gzipimportnumpyasnpx=np.random.randn(16,224,224,)#print(x)#定义一个对象data={'name':'Alice','age':30,'cities_visited':['NewYork','Paris','To
- BERT开源代码分析(一)——dataset数据加载模块
时光诺言
机器学习—NLP领域bert人工智能深度学习pythonnlp
dataset模块pytorch版本的BERT的源码链接我将会为大家梳理代码,解读代码。并提出自己的一些见解基本注释已经穿插在代码块中,另外一些看法单独拿出来说1.vocab.py#导包importpickleimporttqdmfromcollectionsimportCounterclassTorchVocab(object):def__init__(self,counter,max_size
- Python Pickle库原理及使用详解
繁依Fanyi
pythonphp开发语言git深度学习架构系统架构
在编程的世界里,数据的持久化是一个非常重要的话题。为了能够在不同的程序之间或者不同的运行时期间传递和保存数据,我们需要一种能够将数据序列化和反序列化的方式。而Python中的pickle库正是为了解决这个问题而诞生的。本篇博客将带你深入探索Pythonpickle库的原理和使用方法,让你在处理数据时更加得心应手。理解Pickle库首先,让我们来了解一下pickle库的基本概念。pickle是Pyt
- torch.save时报错 Can‘t pickle local object ‘_initialize.<locals>.ResBasicBlock.__init__.<locals>.lambda
SuperB666
pytorch
今天在保存模型时遇到了如下所示的问题,查找了很多资料,没有满意的结果。torch.save时报错Can‘tpicklelocalobject‘_initialize.<locals>.ResBasicBlock.__init__.<locals>.lambda后面发现是pickle有限制,无法解析我模型文件中的lambda表达式进入模型文件修改无法pickle的位置即可:如图,我的是ResBasi
- 机器学习之xgboost算法及特征筛选和GridSearchCV
Jlan
importpandasaspdimportnumpyasnpimportmatplotlib.pyplotaspltfromsklearnimportmetricsimportpicklefromxgboost.sklearnimportXGBRegressorfromsklearn.preprocessingimportStandardScalerfromclean_dataimportpre
- pickle引起的错误AttributeError: Can‘t get attribute ‘XXX‘处理方法
ws_nlp_
python
AttributeError:Can’tgetattribute‘XXX’有的时候python会报这样的错误,明明检查起来没什么错误,这其实是pickle引起的一个bug我遇到的问题,一共有三个文件以及类,假设分别为A.py,B.py,C.py其中C里有一个类C_,用pickle储存,B引用C的时候,需要fromCimportC_,然后再用pickle加载,在B中没什么问题但我创建了一个新文件A,
- ValueError: Object arrays cannot be loaded when allow_pickle=False
马小李23
使用numpy.load函数报错:ValueError:Objectarrayscannotbeloadedwhenallow_pickle=False解决方案:将函数调用从numpy.load(file)改成numpy.load(file,allow_pickle=False)
- 快速入门Safetensors
半度、
AI作画
快速入门Safetensors什么是Safetensors架构常用操作速度对比彩蛋Safetensors官方网址什么是SafetensorsSafetensors是一种新的简单格式,用于安全存储张量(与pickle相反),而且速度仍然很快(零拷贝)。架构常用操作#pipinstallsafetensors#Loadfromsafetensorsimportsafe_opentensors={}wi
- css选择器32关小游戏
我的好昵称
第一关plate。第二关bento第三关#fancy第四关plateapple第五关fancypickle第六关.small第七关orange.small第八关bentoorange.small第九关第十关*第十一关plate*第十二关plate+apple第十三关bento~pickle第十四关plate>apple第十五关orange:first-child第十六关plateapple,pla
- Python中对于开发项目的个人感想杂谈
软件测试老痞
Python个人学习笔记
在遇到一个项目之前呢,需要做以下步骤1,分析项目需要完成那些功能需求2,抽象出模型,写到models,基于model中的对象,分析有哪些属性,写到__init__方法中,需要打印某些对象的信息的时候,可以写在__str__,某些不依赖于具体实例的方法,如查看新建了多少个实例,可以写为如下:classBaseModel:defsave(self):"""使用pickle将用户对象保存到文件:retu
- cookie+session(验证登录)
GHope
设置session过期时间需要用到的配置SESSION_SERIALIZER='django.contrib.sessions.serializers.PickleSerializer'视图函数fromdatetimeimportdatetime,timedeltafromdjango.contrib.auth.hashersimportcheck_passwordfromdjango.short
- 如何在redis中存储ndarray
mr_songw
redisndarraypickleredis数据库缓存
在Redis中存储NumPy数组(ndarray)通常需要将数组转换为二进制格式,然后将其存储为字符串。以下是使用Python和Redis-py库的一个简单示例:首先,确保你已经安装了Redis-py库:pipinstallredis然后,你可以使用以下代码将NumPy数组存储到Redis中:importredisimportnumpyasnpimportpickle#连接到本地Redis服务器,
- THM学习笔记——Pickle Rick
jiangyu0_0
学习笔记
登陆到网站查看页面源代码发现重要信息Username:R1ckRul3s使用dirsearch分别打开发现登录框,猜测Wubbalubbadubdub为密码,结合在源代码里找到的用户名,登录ls发现目标catSup3rS3cretPickl3Ingred.txtcat被禁用了更换其他命令tacSup3rS3cretPickl3Ingred.txt成功继续打开其他文件找寻有用信息发现部分命令被禁用在
- 餐厅练习
Agoni_5eb2
1、plate:类型(元素)选择器2、bento:类型(元素)选择器3、#fancy:ID选择器4、plateapple:后代选择器5、#fancypickle:交集选择器(可将任何选择器与后代选择器结合使用)6、.small:类选择器7、orange.small:交集选择器(可将类选择器与其他选择器结合)8、bentoorange.small:交集选择器9、plate,bento:交集选择器10
- pickle文件读取及pickle的相关作用
luyanpingya
python数据挖掘pytorch
1.当我们使用train.pickle文件进行模型训练时,可以使用进行数据读取,我们发现.pickle文件是Python中用于序列化和反序列化数据的一种数据格式。它使用Python特有的pickle模块来实现,可以将Python对象以二进制形式保存到文件中,也可以从文件中加载并重新构建对象。importpickle#打开pickle文件并读取数据withopen("train.pickle","r
- import cPickle as pkl报错ImportError
In 2029
pythonpython
报错原因:在Python3.x版本中,cPickle已经被移除解决办法:将importcPickleaspkl替换成importpickleaspklimportcPickleaspkl在python2.X版本中使用importpickleaspkl在python3.X版本使用
- mongodb3.03开启认证
21jhf
mongodb
下载了最新mongodb3.03版本,当使用--auth 参数命令行开启mongodb用户认证时遇到很多问题,现总结如下:
(百度上搜到的基本都是老版本的,看到db.addUser的就是,请忽略)
Windows下我做了一个bat文件,用来启动mongodb,命令行如下:
mongod --dbpath db\data --port 27017 --directoryperdb --logp
- 【Spark103】Task not serializable
bit1129
Serializable
Task not serializable是Spark开发过程最令人头疼的问题之一,这里记录下出现这个问题的两个实例,一个是自己遇到的,另一个是stackoverflow上看到。等有时间了再仔细探究出现Task not serialiazable的各种原因以及出现问题后如何快速定位问题的所在,至少目前阶段碰到此类问题,没有什么章法
1.
package spark.exampl
- 你所熟知的 LRU(最近最少使用)
dalan_123
java
关于LRU这个名词在很多地方或听说,或使用,接下来看下lru缓存回收的实现
1、大体的想法
a、查询出最近最晚使用的项
b、给最近的使用的项做标记
通过使用链表就可以完成这两个操作,关于最近最少使用的项只需要返回链表的尾部;标记最近使用的项,只需要将该项移除并放置到头部,那么难点就出现 你如何能够快速在链表定位对应的该项?
这时候多
- Javascript 跨域
周凡杨
JavaScriptjsonp跨域cross-domain
 
- linux下安装apache服务器
g21121
apache
安装apache
下载windows版本apache,下载地址:http://httpd.apache.org/download.cgi
1.windows下安装apache
Windows下安装apache比较简单,注意选择路径和端口即可,这里就不再赘述了。 2.linux下安装apache:
下载之后上传到linux的相关目录,这里指定为/home/apach
- FineReport的JS编辑框和URL地址栏语法简介
老A不折腾
finereportweb报表报表软件语法总结
JS编辑框:
1.FineReport的js。
作为一款BS产品,browser端的JavaScript是必不可少的。
FineReport中的js是已经调用了finereport.js的。
大家知道,预览报表时,报表servlet会将cpt模板转为html,在这个html的head头部中会引入FineReport的js,这个finereport.js中包含了许多内置的fun
- 根据STATUS信息对MySQL进行优化
墙头上一根草
status
mysql 查看当前正在执行的操作,即正在执行的sql语句的方法为:
show processlist 命令
mysql> show global status;可以列出MySQL服务器运行各种状态值,我个人较喜欢的用法是show status like '查询值%';一、慢查询mysql> show variab
- 我的spring学习笔记7-Spring的Bean配置文件给Bean定义别名
aijuans
Spring 3
本文介绍如何给Spring的Bean配置文件的Bean定义别名?
原始的
<bean id="business" class="onlyfun.caterpillar.device.Business">
<property name="writer">
<ref b
- 高性能mysql 之 性能剖析
annan211
性能mysqlmysql 性能剖析剖析
1 定义性能优化
mysql服务器性能,此处定义为 响应时间。
在解释性能优化之前,先来消除一个误解,很多人认为,性能优化就是降低cpu的利用率或者减少对资源的使用。
这是一个陷阱。
资源时用来消耗并用来工作的,所以有时候消耗更多的资源能够加快查询速度,保持cpu忙绿,这是必要的。很多时候发现
编译进了新版本的InnoDB之后,cpu利用率上升的很厉害,这并不
- 主外键和索引唯一性约束
百合不是茶
索引唯一性约束主外键约束联机删除
目标;第一步;创建两张表 用户表和文章表
第二步;发表文章
1,建表;
---用户表 BlogUsers
--userID唯一的
--userName
--pwd
--sex
create
- 线程的调度
bijian1013
java多线程thread线程的调度java多线程
1. Java提供一个线程调度程序来监控程序中启动后进入可运行状态的所有线程。线程调度程序按照线程的优先级决定应调度哪些线程来执行。
2. 多数线程的调度是抢占式的(即我想中断程序运行就中断,不需要和将被中断的程序协商)
a) 
- 查看日志常用命令
bijian1013
linux命令unix
一.日志查找方法,可以用通配符查某台主机上的所有服务器grep "关键字" /wls/applogs/custom-*/error.log
二.查看日志常用命令1.grep '关键字' error.log:在error.log中搜索'关键字'2.grep -C10 '关键字' error.log:显示关键字前后10行记录3.grep '关键字' error.l
- 【持久化框架MyBatis3一】MyBatis版HelloWorld
bit1129
helloworld
MyBatis这个系列的文章,主要参考《Java Persistence with MyBatis 3》。
样例数据
本文以MySQL数据库为例,建立一个STUDENTS表,插入两条数据,然后进行单表的增删改查
CREATE TABLE STUDENTS
(
stud_id int(11) NOT NULL AUTO_INCREMENT,
- 【Hadoop十五】Hadoop Counter
bit1129
hadoop
1. 只有Map任务的Map Reduce Job
File System Counters
FILE: Number of bytes read=3629530
FILE: Number of bytes written=98312
FILE: Number of read operations=0
FILE: Number of lar
- 解决Tomcat数据连接池无法释放
ronin47
tomcat 连接池 优化
近段时间,公司的检测中心报表系统(SMC)的开发人员时不时找到我,说用户老是出现无法登录的情况。前些日子因为手头上 有Jboss集群的测试工作,发现用户不能登录时,都是在Tomcat中将这个项目Reload一下就好了,不过只是治标而已,因为大概几个小时之后又会 再次出现无法登录的情况。
今天上午,开发人员小毛又找到我,要我协助将这个问题根治一下,拖太久用户难保不投诉。
简单分析了一
- java-75-二叉树两结点的最低共同父结点
bylijinnan
java
import java.util.LinkedList;
import java.util.List;
import ljn.help.*;
public class BTreeLowestParentOfTwoNodes {
public static void main(String[] args) {
/*
* node data is stored in
- 行业垂直搜索引擎网页抓取项目
carlwu
LuceneNutchHeritrixSolr
公司有一个搜索引擎项目,希望各路高人有空来帮忙指导,谢谢!
这是详细需求:
(1) 通过提供的网站地址(大概100-200个网站),网页抓取程序能不断抓取网页和其它类型的文件(如Excel、PDF、Word、ppt及zip类型),并且程序能够根据事先提供的规则,过滤掉不相干的下载内容。
(2) 程序能够搜索这些抓取的内容,并能对这些抓取文件按照油田名进行分类,然后放到服务器不同的目录中。
- [通讯与服务]在总带宽资源没有大幅增加之前,不适宜大幅度降低资费
comsci
资源
降低通讯服务资费,就意味着有更多的用户进入,就意味着通讯服务提供商要接待和服务更多的用户,在总体运维成本没有由于技术升级而大幅下降的情况下,这种降低资费的行为将导致每个用户的平均带宽不断下降,而享受到的服务质量也在下降,这对用户和服务商都是不利的。。。。。。。。
&nbs
- Java时区转换及时间格式
Cwind
java
本文介绍Java API 中 Date, Calendar, TimeZone和DateFormat的使用,以及不同时区时间相互转化的方法和原理。
问题描述:
向处于不同时区的服务器发请求时需要考虑时区转换的问题。譬如,服务器位于东八区(北京时间,GMT+8:00),而身处东四区的用户想要查询当天的销售记录。则需把东四区的“今天”这个时间范围转换为服务器所在时区的时间范围。
- readonly,只读,不可用
dashuaifu
jsjspdisablereadOnlyreadOnly
readOnly 和 readonly 不同,在做js开发时一定要注意函数大小写和jsp黄线的警告!!!我就经历过这么一件事:
使用readOnly在某些浏览器或同一浏览器不同版本有的可以实现“只读”功能,有的就不行,而且函数readOnly有黄线警告!!!就这样被折磨了不短时间!!!(期间使用过disable函数,但是发现disable函数之后后台接收不到前台的的数据!!!)
- LABjs、RequireJS、SeaJS 介绍
dcj3sjt126com
jsWeb
LABjs 的核心是 LAB(Loading and Blocking):Loading 指异步并行加载,Blocking 是指同步等待执行。LABjs 通过优雅的语法(script 和 wait)实现了这两大特性,核心价值是性能优化。LABjs 是一个文件加载器。RequireJS 和 SeaJS 则是模块加载器,倡导的是一种模块化开发理念,核心价值是让 JavaScript 的模块化开发变得更
- [应用结构]入口脚本
dcj3sjt126com
PHPyii2
入口脚本
入口脚本是应用启动流程中的第一环,一个应用(不管是网页应用还是控制台应用)只有一个入口脚本。终端用户的请求通过入口脚本实例化应用并将将请求转发到应用。
Web 应用的入口脚本必须放在终端用户能够访问的目录下,通常命名为 index.php,也可以使用 Web 服务器能定位到的其他名称。
控制台应用的入口脚本一般在应用根目录下命名为 yii(后缀为.php),该文
- haoop shell命令
eksliang
hadoophadoop shell
cat
chgrp
chmod
chown
copyFromLocal
copyToLocal
cp
du
dus
expunge
get
getmerge
ls
lsr
mkdir
movefromLocal
mv
put
rm
rmr
setrep
stat
tail
test
text
- MultiStateView不同的状态下显示不同的界面
gundumw100
android
只要将指定的view放在该控件里面,可以该view在不同的状态下显示不同的界面,这对ListView很有用,比如加载界面,空白界面,错误界面。而且这些见面由你指定布局,非常灵活。
PS:ListView虽然可以设置一个EmptyView,但使用起来不方便,不灵活,有点累赘。
<com.kennyc.view.MultiStateView xmlns:android=&qu
- jQuery实现页面内锚点平滑跳转
ini
JavaScripthtmljqueryhtml5css
平时我们做导航滚动到内容都是通过锚点来做,刷的一下就直接跳到内容了,没有一丝的滚动效果,而且 url 链接最后会有“小尾巴”,就像#keleyi,今天我就介绍一款 jquery 做的滚动的特效,既可以设置滚动速度,又可以在 url 链接上没有“小尾巴”。
效果体验:http://keleyi.com/keleyi/phtml/jqtexiao/37.htmHTML文件代码:
&
- kafka offset迁移
kane_xie
kafka
在早前的kafka版本中(0.8.0),offset是被存储在zookeeper中的。
到当前版本(0.8.2)为止,kafka同时支持offset存储在zookeeper和offset manager(broker)中。
从官方的说明来看,未来offset的zookeeper存储将会被弃用。因此现有的基于kafka的项目如果今后计划保持更新的话,可以考虑在合适
- android > 搭建 cordova 环境
mft8899
android
1 , 安装 node.js
http://nodejs.org
node -v 查看版本
2, 安装 npm
可以先从 https://github.com/isaacs/npm/tags 下载 源码 解压到
- java封装的比较器,比较是否全相同,获取不同字段名字
qifeifei
非常实用的java比较器,贴上代码:
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;
i
- 记录一些函数用法
.Aky.
位运算PHP数据库函数IP
高手们照旧忽略。
想弄个全天朝IP段数据库,找了个今天最新更新的国内所有运营商IP段,copy到文件,用文件函数,字符串函数把玩下。分割出startIp和endIp这样格式写入.txt文件,直接用phpmyadmin导入.csv文件的形式导入。(生命在于折腾,也许你们觉得我傻X,直接下载人家弄好的导入不就可以,做自己的菜鸟,让别人去说吧)
当然用到了ip2long()函数把字符串转为整型数
- sublime text 3 rust
wudixiaotie
Sublime Text
1.sublime text 3 => install package => Rust
2.cd ~/.config/sublime-text-3/Packages
3.mkdir rust
4.git clone https://github.com/sp0/rust-style
5.cd rust-style
6.cargo build --release
7.ctrl