Login
Discover
Waves
Communities
Write
Login
Signup
Bojan Nišević
@boyanpro
54
I'm a Senior Web Engineer, also I'm dad, husband, and trying to be a homesteader.
Followers
344
Following
187
Follow
Email digest
Resource Credits
Available
Used
Location
Niševići
Website
http://boyan.pro
Created
2018-04-21 06:11
RSS Feed
Subscribe
Posts
Blog
Posts
Comments
Communities
Wallet
boyanpro
homesteading
7y
Update on the little one (Photos)
She is strong and healthy. Except breast feeding he now eats grass, hay and corn-barley flour. This proves native breeds superiority against hybrid breeds. For this native sheep breed there is no or little
$ 0.250
6
3
boyanpro
partiko
7y
LA uses 96 million black balls to protect tap water reservoir (YouTube)
Short video how LA city government came up with solution for the bromide in tap water and got additional benefits from it. It's the largest plastic balls pit in the world! 96000000 black plastic balls
$ 0.040
7
1
1
boyanpro
photography
7y
Dev Fuel (Photo)
Developer's fuel. Is this healthy for a morning, what you think? (All my photos are copyright free. Use it fairly.)
boyanpro
brain
7y
You don't know how do you ride your bicycle (YouTube Link)
In the video the guy presents how little we know about our brain and how it works. He tries to drive a bicycle with reversed steering wheel and it's a no go. But his 6yrs old son learned to do that faster
boyanpro
programming
7y
Python Tricks #24 - Taking a string input
# For example "1 2 3 4" and return [1, 2, 3, 4] # Remember list being returned has integers in it. # Don't use more than one line of code. >>> result = map(lambda x:int(x)
boyanpro
venezuela
7y
Something's wrong with Partiko or Steem? No Venezuela
I wanted to check recent stories on Venezuela and recent events unrolling in the country. And I know that we have big Venezuelan community on Steem. But look what I got searching new posts for Venezuela.
boyanpro
blockchain
7y
EOS Development Startup Guide (Link)
Good introductory to EOS development. URL: source
boyanpro
programming
7y
Python Tricks #23 - is vs ==
# "is" vs "==" >>> a = [1, 2, 3] >>> b = a >>> a is b True >>> a == b True >>> c = list(a) >>> a == c True >>> a is c
boyanpro
programming
7y
Python Tricks #22 - Dict Tricks
# Inverting a dictionary using zip >>> m = {'a': 1, 'b': 2, 'c': 3, 'd': 4} >>> m.items() [('a', 1), ('c', 3), ('b', 2), ('d', 4)] >>> zip(m.values(), m.keys()) [(1, 'a'), (3,
boyanpro
programming
7y
Python Tricks #21 - Manipulating Lists
# Negative indexing >>> a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] >>> a[-1] 10 >>> a[-3] 8 # List slices (a[start:end]) >>> a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] >>>
boyanpro
programming
7y
Python Tricks #20 - Unpacking
>>> a, b, c = 1, 2, 3 >>> a, b, c (1, 2, 3) >>> a, b, c = [1, 2, 3] >>> a, b, c (1, 2, 3) >>> a, b, c = (2 * i + 1 for i in range(3)) >>> a, b, c (1,
boyanpro
gardening
7y
Urban Gardening Vienna Style
Urban gardening raised beds can be seen like on the images below, across city of Vienna, Austria. These beds are sponsored by local government. And offered to people for free. Also there are free gardening
boyanpro
partiko
7y
SpaceX Falcon 9 is going to be lunched in 3 minutes (YouTube Link)
Watch live!
boyanpro
programming
7y
Python Tricks #19 - Oneliner to swap values between variables
>>> a=7 >>> b=5 >>> b, a =a, b >>> a 5 >>> b 7
boyanpro
programming
7y
Python Tricks #18 - Store values of a list into new variables
>>> a = [1, 2, 3] >>> x, y, z = a >>> x 1 >>> y 2 >>> z 3
boyanpro
programming
7y
Python Tricks #17 - Measure the execution time of small bits of Python code with the "timeit" module
# The "timeit" module lets you measure the execution # time of small bits of Python code >>> import timeit >>> timeit.timeit('"-".join(str(n) for n in range(100))',
boyanpro
programming
7y
Python Tricks #16 - All or Any
x = [True, True, False] if any(x): print("At least one True") if all(x): print("Not one False") if any(x) and not all(x): print("At least one True and one False")
boyanpro
programming
7y
Python Tricks #15 - Convert list of list into single list
# import the itertools import itertools # Declaring the list geek geek = [[1, 2], [3, 4], [5, 6]] # chain.from_iterable() function returns the elements of nested list # and iterate from first list of iterable
boyanpro
programming
7y
Python Tricks #14 - Binary search is faster than linear
# Given list B = [2,5,7,8,9,11,14,16] find if 14 is present in this list or not. def binarySearch(ls,data): first = 0 last = len(ls)-1 while first<=last: mid = (first+last)//2 if ls[mid] == data: return
boyanpro
motivation
7y
Motivation Video - Is It Worth It? (YouTube Link)
I follow Valuetainment for some time and they produce really cool content targeted to entrepreneurs or better say wannabe entrepreneurs like I am. Here is a motivational rant from Valuetainment's boss
← Latest
Older →