Skip to content

Instantly share code, notes, and snippets.

View fcantor's full-sized avatar
🤖
Forever learning to build better, more secure applications

Francesca Cantor fcantor

🤖
Forever learning to build better, more secure applications
View GitHub Profile
@fcantor
fcantor / linkchecker.js
Created July 7, 2020 21:32 — forked from eviltester/linkchecker.js
link checking from snippets
var links = document.querySelectorAll("a");
var linkReport = [];
var linksChecked=0;
links.forEach(function(link){
var reportLine = {url: link.getAttribute('href'), status:0, redirectedTo: "", message : "", element : link};
linkReport.push(reportLine);
console.log("HEAD " + reportLine.url);
@fcantor
fcantor / .zshrc
Last active September 9, 2022 22:22
ZSH profile
# aliases
alias refresh="source ~/.zshrc"
# prints new line after every prompt
precmd() { print "" }
# prompt
export NEWLINE=$'\n'
export PROMPT="%F{175}%n%f %F{217}@%f %F{99}%/%f${NEWLINE}%F{217}→ "
@fcantor
fcantor / Unoptimized Amazon Box Sorting
Last active September 21, 2019 00:08
Box Sorting
#!/usr/bin/env python2
"""
Module Docstring
"""
import copy
def mergeSort(arr):
if len(arr) <= 1:
return arr
@fcantor
fcantor / keybase.md
Created October 5, 2017 03:17
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object: