hex values of neon colors
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
var hexToRGB = function(hex) { | |
var rgbOutput = []; | |
// check for # or not | |
if ( hex.substr(0,1) == '#' ) { | |
hex = hex.substr(1,6); | |
} | |
for ( var i = 0; i < 3; i ++) { | |
rgbOutput[i] = parseInt(hex.substr(2*i, 2), 16); |
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
Regarding: | |
"But most importantly - any opinion you have of her or other feminists should have nothing to do with mine. Get your own damn thoughts and reactions, and stop using me and other women as a crutch for fuck's sake.” | |
Men are told to "fucking shut up and listen" (by Shanley, amongst other people), “mansplaining” is a thing, and the world of gender is full of panels of 100% women telling men what to do about what feminists think are "men’s issues” (i.e. how men’s actions affect women). This is at a time when women’s experiences are front and centre and even hinting at it such a thing being anecdotal will make you a target of persecution. | |
I’ve been called a sociopath for publishing 1 post about gender on an otherwise entirely technical site, a post which cited my personal experience and my personal stakes, and called for moderation and reflection. Said post was banned from metafilter as being “too low quality”, despite it citing 70+ references fairly and being shared over 80,000 times through the grap |
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
var jortSort = function( array ) { | |
// sort the array | |
var originalArray = array.slice(0); | |
array.sort( function(a,b){return a - b} ); | |
// compare to see if it was originally sorted | |
for (var i = 0; i < originalArray.length; ++i) { | |
if (originalArray[i] !== array[i]) return false; | |
} |
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
var jortSort=function(e){var t=e.slice(0);e.sort(function(e,t){return e-t});for(var n=0;n<t.length;++n){if(t[n]!==e[n])return false}return true} |
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
var colorNames = ["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lim |
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
( ⌒⌒ ) | |
∧∧ ( FART ) | |
(・ω・` ) ノノ~′ | |
( ⊃⌒*⌒⊂ ) | |
/_ノ''''ヽ_\ |
looking for book recommendations. please comment with books and what level (beginner, advanced, etc) thnx babes
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
Who Visualized the Bomp? | |
Imagine a world where dolphins could walk. Now forget that and then imagine a world where you had the power to create musical and art experiences in the browser for free, without expensive software or hired contractors. I'm going to talk about creating web-based audio-powered visualizations using weird "technologies" like "C.S.S." and "JavaScript" and "code." |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
* { margin: 0; padding: 0; } | |
ul { margin: 50px; } | |
li { display: block; width: 300px; padding: 10px; border: 2px solid orange; border-left: 0; border-right: 0; } | |
li:first-child { border-top-color: transparent; } |