Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View MingqianYang's full-sized avatar
🍏
Everything is fine

Mingqian Yang MingqianYang

🍏
Everything is fine
View GitHub Profile
<?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>
<?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>
<?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>
@MingqianYang
MingqianYang / downdload_cute.py
Created January 15, 2017 03:35
download_mmpicture
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)
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>
@MingqianYang
MingqianYang / djangoPlayground_.idea_dictionaries_a1.xml
Created January 21, 2017 12:30
first django application form web tutorial
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>
<component name="ProjectDictionaryState">
<dictionary name="a1" />
</component>