Skip to content

Instantly share code, notes, and snippets.

@latish86
latish86 / Class js
Last active September 30, 2017 04:59
#js #class #require
// Index.js
let { User, Worker } = require('./classes/user.js')
let vas = new User('Vasya');
let vova = new Worker('Vladimir', 'Cleaner');
vas.sayHello();
vova.sayJob();
//user.js
@latish86
latish86 / button.sass
Created September 4, 2017 14:30 — forked from serj08/button.sass
Button sass style by agragregra...
.button
display: inline-block
border: none
color: #fff
text-decoration: none
background-color: $accent
padding: 15px 45px
font-size: 13px
text-transform: uppercase
font-weight: 600
@latish86
latish86 / CSV.py
Last active June 1, 2016 09:30
#python #CSV #timeit
import csv
import random
import timeit
def main():
writer = csv.writer(open("some.csv", "wb"), delimiter=';',)
len = [ ]
for i in xrange(1000):
len.append([ x+random.randint(150, 9999) for x in xrange(1000)])