CharlesConan
码龄7年
关注
提问 私信
  • 博客:9,495
    9,495
    总访问量
  • 20
    原创
  • 1,333,932
    排名
  • 0
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:加拿大
  • 加入CSDN时间: 2018-04-23
博客简介:

CharlesConan的博客

查看详细资料
个人成就
  • 获得0次点赞
  • 内容获得0次评论
  • 获得0次收藏
创作历程
  • 29篇
    2018年
成就勋章
创作活动更多

HarmonyOS开发者社区有奖征文来啦!

用文字记录下您与HarmonyOS的故事。参与活动,还有机会赢奖,快来加入我们吧!

0人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

SSH access GoDaddy

SSH Access - Enable - Manage SSH Keys - Generate a New Keyin terminal ssh username@ip addresswhen prompt, enter password. 
原创
发布博客 2018.07.31 ·
557 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python

import requestsimport jsonimport csvimport pandas#url = 'https://imi.rhonda.ai/api/job/?search=United&page_size=40'headers = {'Authorization': 'Token 111bb68520a5f7fe63fbd85325118c5f25e56d9e'...
原创
发布博客 2018.07.13 ·
397 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

CTFL

Seven Testing Principles:1. Testing shows presence of defects.2. Exhaustive testing is impossible.3. Early testing.4. Defect clustering.5. Pesticide paradox: Test cases need to be regularly reviewed a...
转载
发布博客 2018.07.05 ·
469 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Testing

Equivalence Partitioning:1. Identify the equivalence classes.2. Write the test cases to cover these classes.System Testing:End to end flows test the system as a whole.Test Plan Elements:1. Plan Identi...
转载
发布博客 2018.07.03 ·
182 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Testing

FunctionalUI TestingUAT Testing: User Acceptance TestingAccessibilityAd-hocRegression: Test integrated functionalities. SystemSanityStressBlackboxWhiteboxEnd-to-endSmoke: Quick random test for the maj...
转载
发布博客 2018.06.25 ·
274 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python Day 8

The dir() command lists capabilities. SQL: Structured Query LanguageCRUD: Create Read Update Delete
转载
发布博客 2018.06.12 ·
219 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python Day 7

import socketmysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)mysock.connect( ('data.pr4e.org', 80) )cmd = 'GET http://data.pr4e.ogr/romeo.txt HTTP/1.0

'.encode()mysock.send(cmd)telnet ...
转载
发布博客 2018.06.06 ·
208 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Scrpay Day 1

scrapyscrapy startproject quotes_spiderscrapy genspider quotes quotes.toscrape.comscrapy shell     fetch('http://quotes.toscrape.com/')    response.xpath('//h1')scrapy shell 'http://quotes.toscrape.co...
转载
发布博客 2018.06.04 ·
243 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python yield

What does the "yield" keyword do?When you see a function with yield statements, apply this easy trick to understand what will happen:1. Insert a line result = [] at the start of the function.2. Replac...
转载
发布博客 2018.06.04 ·
169 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

XPATH

XPATH counts from 1Python counts from 0Differnece between signle '/' or double '//':Single slash '/' anywhere in xpath signifies to look for the element immediately inside the parent element.Double sl...
原创
发布博客 2018.06.04 ·
417 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python Day 6

ccc = dict() #create a dictionaryccc['csev'] = 1 #Key csev Count 1ccc['cwen'] = 1 #Key cwen Count 1ccc['csev'] = ccc['cesv'] + 1 #Key csev count + 1print(ccc){'csev': 1, 'cwen': 2}Key csev has val...
原创
发布博客 2018.06.01 ·
256 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python Day 5

Parsing and Extracting:data = "From stephon.marquard@uct.ac.za Sat Jan 5 09:14:16 2008"atpos = data.find('@')sppos = data.find(' ', atpos)host = data[atpos+1 : sppos]Using in as a Logical Operato...
原创
发布博客 2018.05.30 ·
262 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python Day 4

try except else fianlly:try: a = 10 b = 20 c = 10 d = (a + b) / c print(d)except: print("In the except block")else: print("Because there was no exception, else is execut...
原创
发布博客 2018.05.28 ·
181 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Ubuntu

Key map: https://ubuntuforums.org/archive/index.php/t-188761.htmlpc is for function keys.us is for US layout. (BKSL is under US)Install Sublime: http://tipsonubuntu.com/2017/05/30/install-sublime-text...
转载
发布博客 2018.05.28 ·
392 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python Day 3

while x < 10;print("Value of x is: " + str(x)) x = x + 1 if x == 8: breakelse: print("won't print after break")While/Else:for k,v in d.items(): print(k) print(v).ite...
原创
发布博客 2018.05.25 ·
186 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Launch Sublime Text 2 or 3 from the Mac OSX Terminal

https://ashleynolan.co.uk/blog/launching-sublime-from-the-terminalAs I’m working in the OSX Terminal more and more these days, I'm always on the lookout for time saving shortcuts.A really useful tip t...
转载
发布博客 2018.05.24 ·
273 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Selenium Generic Method to Explicit Wait

from traceback import print_stackfrom utilities.handy_wrappers import HandyWrappersfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.webdriver.support import expected_conditions ...
原创
发布博客 2018.05.22 ·
232 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Selenium Implicit Wait VS Explicit Wait

Implicit Wait: If elements are not immediately available, an implicit wait tells Web Driverto poll the DOM for a certain amount of time. The default setting is 0. Onceset, the implicit wait is set for...
原创
发布博客 2018.05.22 ·
756 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

System PATH Setup

The following instructions will help you create your own PATH to a unique folder on your Mac or copy the file to an existing PATH directory for ChromeDriver.Download the ChromeDriver executable.Now we...
原创
发布博客 2018.05.17 ·
239 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

OneDrive Setup

Login your OneDrive account. Your default folder is your own files.Choose Shard from left bar. Click the folder you want to sync. DO NOT check any radio.For Windows, have to uninstall OneDrive to clea...
原创
发布博客 2018.05.17 ·
1548 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多