Skip to content

Instantly share code, notes, and snippets.

View OlleMattsson's full-sized avatar

Olle Mattsson OlleMattsson

View GitHub Profile
https://codesandbox.io/s/pipe-pue63
// CONFIGS
const char *ssid = "";
const char *password = "";
const float TEMP_MAX = 70;
const float TEMP_SHUTDOWN = 80;
/*
NO RESISTOR
*/
import React from "react";
import ReactDOM from "react-dom";
import "./styles.css";
const todoData = [
{
description: "Learn React",
done: true
},
{
import React, { useState, useRef, useEffect } from "react";
import ReactDOM from "react-dom";
import "./styles.css";
const initialState = [
{
description: "Learn react",
done: false
},
{
@OlleMattsson
OlleMattsson / ReactJS Todo
Last active June 19, 2019 15:21
ReactJS Todo
import React from "react";
import ReactDOM from "react-dom";
import "./styles.css";
const todos = [
{
description: "Steel megaseeds",
done: true
},
{
@OlleMattsson
OlleMattsson / AppDelegate.h
Last active January 28, 2019 19:52
openURL deprecated
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
// ==UserScript==
// @name DN Reader
// @namespace http://dn.se/
// @version 0.1
// @description Tear down this wall.
// @author olmen
// @match https://www.dn.se/*
// @grant none
// ==/UserScript==