Skip to content

Instantly share code, notes, and snippets.

View antonva's full-sized avatar

Anton Vilhelm Ásgeirsson antonva

  • Reykjavik
View GitHub Profile
[
{
"product_name": "Amstel Lager",
"product_id": "01514",
"price": "325 kr.",
"abv": "5",
"volume": "500 ml",
"importer": "Rolf Johansen & Co ehf",
"country": "Holland",
[
{
"product_name": "Amstel Lager",
"product_id": "01514",
"price": "325 kr.",
"abv": "5",
"volume": "500 ml",
"importer": "Rolf Johansen & Co ehf",
"country": "Holland",
[
{
"product_name": "Amstel Lager",
"product_id": "01514",
"price": "325 kr.",
"abv": "5",
"volume": "500 ml",
"importer": "Rolf Johansen & Co ehf",
"country": "Holland",
#!/usr/bin/env python3
def comp(s):
l = []
for i in s.split():
l.append(int(i))
o = ""
for i in range(0,len(l)):
if i == 0:
#!/usr/bin/env python3
def comp(s):
l = []
for i in s.split():
l.append(int(i))
o = ""
for i in range(0,len(l)):
if i == 0:
#!/usr/bin/env python3
def comp(s):
l = []
for i in s.split():
l.append(int(i))
o = ""
for i in range(0,len(l)):
if i == 0:
#!/usr/bin/env python3
def compr(string_list):
# conversion yfir i tolur.
# l thvi ad 'arrays' i python eru i raun listar
l = []
for i in string_list.split():
l.append(int(i))
#compression list
#!/usr/bin/bash
clear
echo -e '\E[37;30m'" _ _ "
echo -e '\E[37;30m'"__ ____ _| | | ____ _ "
echo -e '\E[37;30m'"\\ \\ / / _\` | | |/ / _\` |"
echo -e '\E[37;30m'" \\ V / (_| | | < (_| | "
echo -e '\E[37;30m'" \\_/ \\__,_|_|_|\\_\\__,_|"
{ 'Anduliga': None,
'Diso': None,
'Eleu': None,
'HIP 59533': None,
'HR 7221': None,
'Heike': None,
'Holva': None,
'Kamorin': None,
'Lave': None,
'Mukusubii': None,
#!/usr/bin/bash
#Copyright (C) <2014> <Anton Vilhelm Ásgeirsson>
#
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
#furnished to do so, subject to the following conditions: