Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am manu-chroma on github.
  • I am manuchroma (https://keybase.io/manuchroma) on keybase.
  • I have a public key whose fingerprint is 1BE5 4A82 E6E4 37EF 90D4 5C02 C490 AB91 1635 1C3C

To claim this, I am signing this object:

@manu-chroma
manu-chroma / Unicode.md
Created July 18, 2017 15:04 — forked from gornostal/Unicode.md
Python 2.7. Unicode Errors Simply Explained

Python 2.7. Unicode Errors Simply Explained

I know I'm late with this article for about 5 years or so, but people are still using Python 2.x, so this subject is relevant I think.

Some facts first:

  • Unicode is an international encoding standard for use with different languages and scripts
  • In python-2.x, there are two types that deal with text.
    1. str is an 8-bit string.
  1. unicode is for strings of unicode code points.
@manu-chroma
manu-chroma / gsoc-pres.md
Created August 25, 2017 11:23
Slides used by me for presentation on GSoC

--

GSoC 2017

--

About me

  • I'm Eklavya Sharma, a 3rd year CS student at BITS.
  • I participated in GSoC 2016 under Zulip.

Google Summer of Code 2017: Final Report

by Manvendra Singh

Hey everyone! I'm Manvendra, a Google Summer of Code '17 student developer. This summer, I worked on Common Workflow Language Project which comes under OBF Org. This is a summary report on what I managed to do in the past three months.

My major deliverables were:

  • Adding Python 3 compatibility to CWL Tool, Schema Salad and CWL Test projects.
  • Improving mypy annotations and upgrading mypy dependency for CWL Tool and Schema Salad.
  • Reducing issue backlog and misc enhancements.
import RPi.GPIO as GPIO #Import GPIO library
import time
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BCM) # programming the GPIO by BCM pin numbers
# set tigger and echo pins for the ultrasonic sensor
TRIG = 17
ECHO = 27