Skip to content

Instantly share code, notes, and snippets.

Avatar
🍏
Everything is fine

Mingqian Yang MingqianYang

🍏
Everything is fine
View GitHub Profile
View djangoPlayground_.idea_dictionaries_a1.xml
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>
View djangoPlayground_.idea_dictionaries_a1.xml
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>
@MingqianYang
MingqianYang / djangoPlayground_.idea_dictionaries_a1.xml
Created Jan 21, 2017
first django application form web tutorial
View djangoPlayground_.idea_dictionaries_a1.xml
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>
View djangoPlayground_.idea_dictionaries_a1.xml
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>
View downdload_cute.py
import urllib.request
import os
import random
def url_open(url):
req = urllib.request.Request(url)
req.add_header('User-Agent','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36 QQBrowser/4.1.4132.400')
proxies = ['210.245.189.110:80', '121.224.200.248:8998', '124.206.209.244:3128']
proxy = random.choice(proxies)
View testpycharmxx_.idea_codeStyleSettings.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
</value>
</option>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default copy" />
</component>
View testpycharmxx_.idea_codeStyleSettings.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
</value>
</option>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default copy" />
</component>
View testpycharmxx_.idea_codeStyleSettings.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
</value>
</option>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default copy" />
</component>