A Pen by Ella Baron on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Segments { length, type: {urban, high-way}} | |
/** | |
* | |
*[ | |
{ | |
distance: Number, | |
type: urban | high-way | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.xml | |
*.json | |
vendor | |
*.bk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Kapp</title> | |
<link rel="stylesheet" href="./style.css" > | |
</head> | |
<body> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = 'German_shepherd_dog_04890.jpg' | |
name1= 'Boston_terrier_02303.jpg' | |
name2='Beagle_01170.jpg' | |
name3='Miniature_schnauzer_06884.jpg' | |
# label = name.rsplit('.', 1)[0] | |
label = ''.join([i for i in name2.rsplit('.', 1)[0] if not i.isdigit()]).replace("_", ' ').strip() | |
print label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
number_list = [1, 2, 3] | |
str_list = ['one', 'two', 'three'] | |
classes = ['middle', 'high', 'junior'] | |
# No iterables are passed | |
# result = zip() | |
# Converting itertor to list | |
# result_list = list(result) | |
# print(result_list) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
number_list = [1, 2, 3] | |
str_list = ['one', 'two', 'three'] | |
classes = ['middle', 'high', 'junior'] | |
# No iterables are passed | |
# result = zip() | |
# Converting itertor to list | |
# result_list = list(result) | |
# print(result_list) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav><span class="text">NEXT</span> | |
<div class="left"> | |
<a href="" class="prev"></a> | |
<a href="">1</a> | |
<!-- <a href="">2</a> | |
<a href="">3</a> --> | |
<span class="line"></span> | |
</div> | |
<div class="right"> | |
<a href="" class="next"></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
const express = require('express') | |
const path = require('path') | |
const fs = require('fs') | |
const bodyParser = require('body-parser') | |
const Busboy = require('busboy') | |
let app = express(); | |
app.use(bodyParser.json()) |
NewerOlder