- MDN Web Docs — Owned by Mozilla. A great resource for basically all the topics in this list. This is probably the single most useful site on this list.
- Can I use — Tool for determining whether a specific browser supports specific HTML/CSS/JavaScript features
- CodePen — Useful site for writing HTML/CSS/JavaScript directly in the browser and seeing it rendered.
- HTML, CSS validators
- "wtf is a validator?" — For compiled languages like Java, C/++, etc. you don't need one of these because your code gets validated when you build. HTML/CSS aren't programming languages, they are markup/stylesheet languages which don't have a build step so they will attempt to run even if they aren't "valid". Many (most?) professors will make you scan your HTML/CSS with a validator to make sure
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
input = "vJrwpWtwJgWrhcsFMMfFFhFp | |
jqHRNqRjqzjGDLGLrsFMfFZSrLrFZsSL | |
PmmdzqPrVvPwwTWBwg | |
wMqvLMZHhHMvwLHjbvcjnnSBnvTQFn | |
ttgJtRGJQctTZtZT | |
CrZsJsPPZsGzwwsLwLmpwMDw" | |
priorities = ('a'..'z').to_a + ('A'..'Z').to_a | |
def string_split_half(str) |
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
(function() { | |
if (window.Swindle !== undefined) return; | |
function Swindle({ | |
embedElementParam = 'swindle_embed', | |
embedURLParam = 'swindle_url', | |
imgStyles = { maxWidth: '100%' } | |
} = {}) { | |
// Applies an object of styles to an HTML element | |
function applyStyles(element, styles) { |
If you need to move resources between Terraform projects but they aren't configured in such a way you can directly run tf state move
to move them between modules you can follow this process for migrating resources between terraform projects.
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
<html> | |
<body> | |
<script> | |
class FakeXMLHttpRequest { | |
constructor() { | |
this.events = []; | |
} | |
open() {} |
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
### Keybase proof | |
I hereby claim: | |
* I am jkulton on github. | |
* I am jkulton (https://keybase.io/jkulton) on keybase. | |
* I have a public key ASARqye7F3RcM3xWL3MJq92JIvBhq1yI97B9dxsJ6lRsRAo | |
To claim this, I am signing this object: |
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
def rom_to_int(input, total=0) | |
return total if input.length === 0 | |
roman_numerals = { | |
"I" => 1, | |
"V" => 5, | |
"X" => 10, | |
"L" => 50, | |
"C" => 100, | |
"D" => 500, |
NewerOlder