tool

PostgreSQL命令行工具

删除回忆录丶 提交于 2019-12-04 22:22:28
简介 pgcli 是 针对 PostgreSQL的命令行工具,他的特色是对SQL能够语法高亮显示,并且能对输入进行自动提示。(同时,针对MySQL也有一个类似的命令行工具 mycli )。 网站: http://pgcli.com/ 授权协议: BSD 3-clause license 开发语言: Python 支持系统: Linux , OS X , Windows理论上可以但尚未测试过。 安装试用 环境:centos 32bit. 数据库:PostgreSQL9.4 1.安装PostgreSQL 编译安装或者安装包图形化安装均可。可参考: PostgreSQL在Linux下的源码编译安装 。 2.安装python 安装python。可参考: python开发环境搭建与连接PostgreSQL数据库 。 3.安装python-pip 首先试用yum安装python-pip,结果显示没有可用的包。 [root@localhost ~]# yum install python-pip Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.163.com * extras: mirrors.cqu.edu

python27期day19:面向对象

会有一股神秘感。 提交于 2019-12-04 00:21:13
class GirlFriend(object): #定义女朋友类: eyes = 2 #类属性(静态属性),是属于当前类的 #当前类的所有对象,所共有的特征 sex = "女" """ 说明 """ #初始化方法 def __init__(self,name,age,height,weight): #实例属性 self.name = "qwe" self.age = age self.height = height self.weight = weight #函数属性 def xiyifu(self): #定义洗衣服功能: print(self.name,"洗衣服") def chuitu(self): #定义捶腿功能: print("捶腿") def tiwolianji(self): #定义替我联机功能: print("打怪升级")#调用类属性,需要使用类名去调用(对象名也可以调用,但是不建议)# print(GirlFriend.name)#类名不能调用实例属性,也不要去调用实例方法print(GirlFriend.eyes)#可以在对象创建时,就让他拥有不同的属性值girl_1 = GirlFriend("迪丽热巴",18,170,170)#通过对象调用类属性,没问题#但是不能修改print(girl_1.eyes)#如果通过对象去修改类属性,会创建一个新的实例属性

New Holland Electronic Service Tools with CNH DPA5 kit diagnostic tool

倾然丶 夕夏残阳落幕 提交于 2019-12-03 11:09:54
New Holland Electronic Service Tool Download: https://mega.nz/#F!WVghzKwY!anc22uzd2t41QLiGgAt88Q New Holland Electronic Service Tools DESCRIPTION Electronic Service Tool (EST) Engineering Level* (software only) – used by New Holland dealer technicians to connect with vehicles that have a Controller Area Network (CAN) BUS. Supported languages: English, Italian, Russian, Polish, Spanish, French, Portuguese, German, Dutch, Danish. OS: VISTA,Win 8 x32 x 64, Win7 x32 x64, WinXP With this service tool you can: Check status of parameters; Retrieve faults; Run diagnostic tests; Make ECU and parameter

网站信息收集

牧云@^-^@ 提交于 2019-12-03 10:44:37
ip信息收集 http://whois.chinaz.com/ Whois查询 http://tool.chinaz.com/ 站长工具 https://dns.aizhan.com/ 爱站网 ping检测 ip反查域 https://x.threatbook.cn/ 微步在线 https://toolbar.netcraft.com/site_report 网站查询 http://tool.chinaz.com/nslookup dns 服务器解析 http://ping.chinaz.com/ping.chinaz.com 多地ping 检查dns是否存在 https://phpinfo.me/bing.php 在线旁站查询 c段 http://s.tool.chinaz.com/same 同ip查旁站 DNS历史解析 https://dnshistory.org/ http://whoisrequest.com/history/ https://completedns.com/dns-history/ http://dnstrails.com/ https://who.is/domain-history/ http://research.domaintools.com/research/hosting-history/ http://site.ip138.com/ http:

VS addin for quickly viewing preprocessed or assembly output

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm searching for a one-click way to inspect preprocessed or assembly output. It's just tedious to open file properties, change the respective setting, compile, go to the obj directory and open the resulting file by hand. Does anyone know of any Visual Studio add-in, macro or whatever to automate this task? 回答1: EDIT: An extension for VS 11+ is available @ https://github.com/Trass3r/DevUtils I solved it myself by creating a nice macro. It's way more sophisticated but basically works like this: Imports EnvDTE Imports Microsoft.VisualStudio

Blackberry Build Tool

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Could anyone suggest the best Build Tools for use in the build process when building a blackberry application. Is it just the creation of an ANT project, does that cope with signing etc? Is there a better tool out there? I'd prefer a lightweight Windows solution. I normally use Automated Build Studio -- it can build ANT and it can also compile Java. 回答1: I don't know of any serious alternative to bb-ant-tools . 文章来源: Blackberry Build Tool

Verify a static method was called by another static method in PowerMock

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a Tool class with two static methods, doSomething(Object) and callDoSomething(). The names are intuitive in that callDoSomething delegates its call to doSomething(Object); public class Tool { public static void doSomething ( Object o ) { } public static void callDoSomething () { doSomething ( new Object ()); } } I have a Test class for Tool and I'd like to verify if doSomething(Object) was called (I want to do Argument Matching too in the future) @RunWith ( PowerMockRunner . class ) @PrepareForTest ( { Tool . class } )

Using a jar in a Java project?

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to use the public methods/classed from a project provided as a jar file (called Hello.jar for instance) wrapped in a package called hello. package hello; public class Hello { public static void main(String[] args) { coucou(); } public static void coucou() { System.out.println("Hello there"); } } In a separate project called Tool, I want to be able to call the method Hello.coucou() so I wrote something like this: import hello.*; public class Tool { public static void main(String[] args) { System.out.println("main program running");

Mac app store helper tool Sandboxing

匿名 (未验证) 提交于 2019-12-03 09:18:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: My app consist of two executables the main app executable small console app to process some files, this executable is on Resources folder (no root privileges required) The thing is that I don't know how to submit this app to appstore, I get the following response from apple Invalid Signature - the main app bundle appname at path appname.app is signed but the signature is invalid. The following error(s) were reported from codesign: a sealed resource is missing or invalid In architecture: i386 If I remove helper app, it bypasses this