###1. Install Markdown Preview
###2. Set default browser to Google Chrome In Preferences > Package Settings > Markdown Preview > Settings - User
{
"browser": "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
ImageView myImg = (ImageView) convertView.findViewById(R.id.myimage); | |
myImg.setImageResource(android.R.drawable.rate_star_big_on); |
# 9-24-2018 by Chiara Hsieh | |
# Draw a Christmas tree with this code snippet | |
import sys | |
def tree_chunk(width, bottom, top): | |
for i in range(bottom, top, 2): | |
spaces=(width-i)/2 | |
for j in range(spaces): | |
sys.stdout.write (' ') |