This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node.JS basics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Learning Processing | |
// Daniel Shiffman | |
// http://www.learningprocessing.com | |
// Example 1-1: stroke and fill | |
function setup() { | |
createCanvas(480, 270); | |
stroke(0); | |
fill(150); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IFTTT scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RASPBERRY PI | |
Mine | |
- Piface Digital | |
- WiFi Dongle | |
- | |
Others | |
- Adafruit DHT11 | |
- STM32 F103 C8T6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#item { | |
background-color: #4CAF50; | |
color: white; | |
padding: 16px; | |
font-size: 16px; | |
border: none; | |
cursor: pointer; | |
} | |
#item:hover, #item:focus { | |
background-color: #3e8e41; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
color: #1abc9c; | |
} | |
.rem { | |
margin-left: 5px; | |
background-color: white; | |
color: red; | |
border: none; | |
cursor: pointer; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################ | |
# GAME OBJECTS # | |
################ | |
class GameObject: | |
class_name = "" | |
desc = "" | |
objects = {} | |
def __init__(self, name): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Chrome Extensions Development |
OlderNewer