Skip to content

Instantly share code, notes, and snippets.

View ketimaBU's full-sized avatar
🐛
Making bugs

Fatima Zahra Kechida ketimaBU

🐛
Making bugs
  • Booking.com
  • Netherlands
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="../node_modules/leaflet-draw/dist/leaflet.draw.css" />

Python

An interpreted high-level programming language, there are two used versions 2/3. Pythonists (Python developers) follow several guidelines and they even have a manifesto The Zen of Python, we call the pythonic way on the code that not only has a correct syntax but also exploits at its best what the language has to offer, here are some coding style rules Link to python code style of django.

Pip and pipenv

pip is a python package manager, pipenv is a npm-like version (a cool one).

Django

import {Injectable, provide} from 'angular2/core';
import {Observable} from 'rxjs';
const GEOLOCATION_ERRORS = {
'errors.location.unsupportedBrowser': 'Browser does not support location services',
'errors.location.permissionDenied': 'You have rejected access to your location',
'errors.location.positionUnavailable': 'Unable to determine your location',
'errors.location.timeout': 'Service timeout has been reached'
};