I hereby claim:
- I am fluidcoding on github.
- I am sonnie (https://keybase.io/sonnie) on keybase.
- I have a public key whose fingerprint is AB52 5935 D16D 5B35 8370 89DA 2333 DD3C AD1E 5245
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
<form action="" method="get"> |
Option Explicit | |
Dim today : today = now | |
Dim tomorrow : tomorrow = DateAdd("d", 1, today) | |
MsgBox "Today Is: " & today | |
MsgBox "Tomorrow Is: " & tomorrow | |
Dim diffIndays : diffIndays = DateDiff("d", today, tomorrow) | |
MsgBox "Tomorrow Is: " & diffIndays & " day from today" |
package com.fluidcoding; | |
// Brian Sonnie | |
import java.util.Random; | |
import java.util.Scanner; | |
public class Main { | |
private static final String ROCK = "rock"; | |
private static final String PAPER = "paper"; | |
private static final String SCISSORS = "scissors"; | |
private static final String DONE = "done"; |
I hereby claim:
To claim this, I am signing this object:
// Adds MouseOver to fill in values for inputs, for lazy devs without access to real unit testing | |
// Bookmarklet | |
javascript:(function(){inpts%20=%20document.querySelectorAll("input[type=radio]");[].forEach.call(inpts,%20(el)=>{el.onmouseover=(function(){this.checked=true;});});labls%20=%20document.querySelectorAll("label");[].forEach.call(labls,%20(el)=>{el.onmouseover=(function(){document.getElementById(this.attributes[0].value).checked=true;})});texts%20=%20document.querySelectorAll("textarea");[].forEach.call(texts,%20(el)=>{el.onmouseover=(function(){this.textContent=this.name+"%20Test";})});})(); | |
// Mark inputs | |
function mouseMark(){ | |
inpts = document.querySelectorAll("input[type=radio]"); | |
[].forEach.call(inpts, (el)=>{ | |
el.onmouseover=(function(){this.checked=true;}); | |
}); |
'Syntactical Sugar | |
' 1 Line If Else | |
Dim x : x = True | |
If x = True Then : MsgBox "True" : Else MsgBox "False" | |
x = False | |
If x = True Then : MsgBox "True" : Else MsgBox "False" : MsgBox "False2" | |
' 1 Line For Each | |
For Each v IN strAr : sout=sout&v : Next |
' Select Cases can be used to short - circuit to prevent errors like 4/0 | |
OPTION EXPLICIT | |
DIM V : V = TRUE | |
SELECT CASE V | |
CASE TRUE | |
CASE Val | |
MsgBox "False" | |
END SELECT | |
Dim x | |
Redim y(1) |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
<link rel="import" href="../yt-video/yt-search-video.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |