This memo is taken by Brad Frost
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
library("igraph") | |
# Swap out path to your Screaming Frog All Outlink CSV. For Windows, remember to change backslashes to forward slashes. | |
links <- read.csv("C:/Documents/screaming-frog-all-outlinks.csv", skip = 1) # CSV Path | |
# This line of code is optional. It filters out JavaScript, CSS, and Images. Technically you should keep them in there. | |
links <- subset(links, Type=="HREF") # Optional line. Filter. | |
links <- subset(links, Follow=="true") | |
links <- subset(links, select=c(Source,Destination)) | |
g <- graph.data.frame(links) | |
pr <- page.rank(g, algo = "prpack", vids = V(g), directed = TRUE, damping = 0.85) | |
values <- data.frame(pr$vector) |
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 detectInjection = function(knownHostsArray) { | |
var requests = window.performance.getEntriesByType("resource"); | |
var unknownHosts = []; | |
var knownHosts = {}; | |
var foundHosts = {}; | |
for (var knownHost in knownHostsArray) { | |
knownHosts[knownHostsArray[knownHost]] = true; | |
} |
It's about how to apply Semantic Versioning to Sass
How to version your UI library — Design @ Optimizely — Medium
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
// GTMのdetaLayerから値を走査する | |
// window.dataLayer = [ {"a": "b"}, {"c": "d"} ]; | |
function findDataLayer(key) { | |
if (window.dataLayer == undefined) | |
return false; | |
var dl = window.dataLayer; | |
for (var i = 0; i < dl.length; i++) { | |
if( dl[i][key] !== undefined ) { |
The invisible parts of CSS · MadebyMike
- カスケーディング
- 詳細度
- 継承(inherit)
- ボックスモデル
- (外から)マージン、ボーダー、パディング、コンテンツ
- アニメーションは短く、意味がわかる長さに
- 200ms〜500ms
- Why did the last person (in the role you’re applying for) leave?
- 前任が辞めた理由は?