Skip to content

Instantly share code, notes, and snippets.

View TaijaQ's full-sized avatar

Taija Mertanen TaijaQ

View GitHub Profile
@TaijaQ
TaijaQ / Basics of node webkit
Last active March 8, 2016 22:58
Node Webkit basics
# Node.JS basics
@TaijaQ
TaijaQ / Processing.js
Last active June 19, 2017 19:08
Graphical tools and ideas for visual Javascript
// Learning Processing
// Daniel Shiffman
// http://www.learningprocessing.com
// Example 1-1: stroke and fill
function setup() {
createCanvas(480, 270);
stroke(0);
fill(150);
@TaijaQ
TaijaQ / IFTTT Maker
Last active March 8, 2016 22:53 — forked from aallan/speedtest-ifttt.sh
Modified version of Henrik Bengtsson's speedtest-cli code which will dispatch the test results to the IFTTT Maker Channel.
IFTTT scripts
@TaijaQ
TaijaQ / django_mvc.py
Last active June 19, 2017 19:10
Django Model-View-Controller architecture example
# models.py (the database tables)
from django.db import models
class Book(models.Model):
name = models.CharField(max_length=50)
pub_date = models.DateField()
# views.py (the business logic)
@TaijaQ
TaijaQ / --- Raspberry Pi & Arduino
Last active April 15, 2017 08:55
Raspberry Pi and Arduino development snippets
RASPBERRY PI
Mine
- Piface Digital
- WiFi Dongle
-
Others
- Adafruit DHT11
- STM32 F103 C8T6
@TaijaQ
TaijaQ / 0_reuse_code.js
Last active May 31, 2017 18:14
Here are some things you can do with Gists in GistBox
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@TaijaQ
TaijaQ / animated_drop_down.css
Created June 4, 2017 01:20
Animated drop down
#item {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
#item:hover, #item:focus {
background-color: #3e8e41;
@TaijaQ
TaijaQ / todo_list.css
Created June 4, 2017 01:22
Simple HTML To-Do List
h1 {
color: #1abc9c;
}
.rem {
margin-left: 5px;
background-color: white;
color: red;
border: none;
cursor: pointer;
}
@TaijaQ
TaijaQ / GoblinGame.py
Created June 4, 2017 01:53
Goblin text adventure
################
# GAME OBJECTS #
################
class GameObject:
class_name = ""
desc = ""
objects = {}
def __init__(self, name):
@TaijaQ
TaijaQ / Chrome Extensions
Last active May 6, 2023 00:14
Chrome Extension Development
# Chrome Extensions Development