code

  • home security for a raspbery pi

    [raspberrypi,slack-bot,iot,wot,nodejs,restapi]

    alt code snippet

    A basic home security system as a WOT-Thing, using a Raspberry Pi with a REST-api as a back-end, and a slack bot as a front-end to send messages and recieve commands.

    The Pi is based on the example from the Web Of Things-book by Dominique D. Guinard and Vlad M. Trifa.

    The Pi will, when turned on: Have a motion sensor that can be turned on and off if the right code is supplied. If the motion sensor is on, a LED is on as well. Have a camera that will take a picture when told. Have a speaker that will make a sound when called. If the motion sensor is activated, the Pi will automatically take a picture, sound the sound, and send the picture to all the subscribed users.

    on github

  • web intelligence in python

    [python,machine-learning,algorithms,clustering,search-engine]

    alt code snippet

    Different small web intelligence projects in python.


    blog-post-clustering: Programming exercise for creating a small REST-service with a blog post clustering algorithm in Python, with a React client.


    movie-recommendation-system: Programming exercise for creating a small REST-service with a movie recommendation algorithm in Python, with a React client.


    search-engine: Programming exercise for creating a small REST-service with a search engine for searching Wikipedia articles in Python, with a React client.


    wikipedia-clustering: Programming exercise for creating a small REST-service that clusters wikipedia articles, as well as using an algoritm to determine the best set of words to separate articles into two branches concerning different subjects, written in Python with a React client.


    machine-learning: Machine learning exercise. Classifying a spiral data set using a Linear and a Neural Network classifier using the Scikit-learn framework. Using matplotlib to plot the data and the result as a confustíon matrix. Classifying the MNIST hand written digits data set using Keras, using both a Linear and a Convolutional Neural Network classifier. Using matplotlib to plot the results over epochs trained.

    on github

  • php

    [php,login-module,mysql,mvc]

    alt code snippet

    Exercises in PHP concerning mvc, moduling code and integrating with a MYSQL database.


    login-module-standalone: Basic login module written in php.


    login-module-tictactoe-integration: An example with instructions on how to integrate the login module with another module written in php, here using tic tac toe as the example.


    login-module-db-integration:An example with instructions on how to integrate the login module with another module written in php, here using another php module integrating with a MYSQL-database as the example.


    mvc-draw-sticks: Small draw-sticks game in php. Excercising tiny MVC structuring.


    on github

  • javascript

    [javascript,oop,mocha,chai,nodejs,react,-webcomponents,webhook,realtime,server,client,-microservices,restapi,postman]

    alt code snippet

    Ranging from small programs to full applications testing out Javascript concepts, both as standalone applications, servers and client applications.

    object-oriented-and-testing: Javascript modules for card players and a deck. Cards and deck are separate, player and dealer written for twenty-one card game.

    Mostly an exercise in writing object-oriented code in Javascript without using syntactic sugar such as class. In addition also an exercise in writing tests in Mocha.

    server-webhooks-and-github-integration: A nodejs server that listens to notifications on a github repo regarding issues, and allows users to view and integrate with them in real time.

    server-rest-api: An exercise in building a REST-api in nodejs relying on HATEOAS priciples.

    server-microservice-architecture: Exercise in building an application using a microservice architecture.

    client-interactive-desktop-playgound: Client-side vanilla javascript hobby project, the experimental desktop where I go wild with testing out new things. use it with google chrome, because new things. it displays some of my adventures in illustrator as well as small little apps to try out new techniques and relies on web-components.

    on github

  • java

    [java]

    alt code snippet

    Java-based exercises.

    persistance-and-structure: List based register for saving employee data. And excersice in Java and persistance.

    on github

  • c-sharp

    [c-sharp,uml,patterns,tdd,oop]

    alt code snippet

    Small C# excercises concerning object oriented patterns, UML and patterns and TDD.


    analysis-and-design-patterns: Excercises for object-oriented analysis and design with UML, and some programming patterns written in C#.

    tdd-tic-tac-toe: A small tic tac toe program written to exercise TDD.

    object-oriented-twentyone: A twenty-one card came written to excercise object-oriented concepts.

    on github

published

  • spark the revolution

    [react,html,css,javascript,travis,heroku,webpack]

    alt website image

    a progressive web app made in react, available offline. main purpose in to make it easier for volunteers and organizations to fins each other. in development, but this is a working beta version. here it lives on github

  • jekyll theme

    [liquid,html,sass]

    alt theme image

    a theme for a jekyll site, available as a gem or for forking through github. used on this site. made to be used for a portfolio-based site. on github

  • support ticket application

    [react,nodejs,typescript,smtp,support-ticket]

    alt theme image

    application for support-ticket-handling over a provided smtp connection. developed per request from the organization who wanted a custom made system for handling support tickets. my part in the project was the responsibility and development of the back-end, a server written in nodejs.

    on github

  • experimental desktop

    [html,css,javascript]

    alt website image

    my hobby project, the experimental desktop where I go wild with testing out new things. use it with google chrome, because new things. it displays some of my adventures in illustrator as well as small little apps to try out new techniques. here it lives on github