Skip to content

Instantly share code, notes, and snippets.

@pixelcrisis
pixelcrisis / autoskip.js
Created October 12, 2023 01:27
DeepCut AutoSkip Broken Tracks
(function () {
if (!window.turntable) return alert("Not Loaded, Try Again.");
else console.log("Auto-Skip Initiated.");
const look = function (event) {
let src = window.youtube?.player?.[0];
if (!src) return console.log("Auto-Skip: Not Youtube.");
let can = src.getPlayerState();
if (can == "-1") return setTimeout(skip, 1000);
@jorgehernandezSF
jorgehernandezSF / topsellertile.isml
Last active September 25, 2020 04:23
Top Seller Tile component type: ISML template
<isscript>
var assets = require('*/cartridge/scripts/assets.js');
assets.addCss('/css/producttile.css');
assets.addCss('/css/component.css');
</isscript>
<figure class="component-figure product_centered-text">
<picture>
<isif condition="${pdict.image}">
<img class="component-image" src="${pdict.image.src}" <isif condition="${pdict.image.alt}">alt="${pdict.image.alt}" title="${pdict.image.alt}"</isif> />
</isif>
@kauffmanes
kauffmanes / install_anaconda.md
Last active April 27, 2025 07:33
Install Anaconda on Windows Subsystem for Linux (WSL)

Thanks everyone for commenting/contributing! I made this in college for a class and I no longer really use the technology. I encourage you all to help each other, but I probably won't be answering questions anymore.

This article is also on my blog: https://emilykauffman.com/blog/install-anaconda-on-wsl

Note: $ denotes the start of a command. Don't actually type this.

Steps to Install Anaconda on Windows Ubuntu Terminal

  1. Install WSL (Ubuntu for Windows - can be found in Windows Store). I recommend the latest version (I'm using 18.04) because there are some bugs they worked out during 14/16 (microsoft/WSL#785)
  2. Go to https://repo.continuum.io/archive to find the list of Anaconda releases
  3. Select the release you want. I have a 64-bit computer, so I chose the latest release ending in x86_64.sh. If I had a 32-bit computer, I'd select the x86.sh version. If you accidentally try to install the wrong one, you'll get a warning in the terminal. I chose `Anaconda3-5.2.0-Li
@jimmynotjim
jimmynotjim / resume.md
Last active January 10, 2025 15:46
2024 Resume

Summary

User-focused, front-end developer with a passion for building responsive, nimble, and accessible user experiences. Contributor and maintainer of Open Source projects, including scrollNav.js, a JavaScript plugin with thousands of installations. Having worked remotely for thirteen of the last fourteen years, plus ten years prior to that as an independent carpenter, I understand how to be accountable and deliver on schedule. I'm currently seeking full-time opportunities that put users first, appreciate quality code practices, and encourage regular contributions to Open Source and skill development.

Experience

Senior Product Engineer - Design System and User Workspaces

Amplitude | May 2022-Current

Responsible for implementing and maintaining our Design System, contributing to the Workspaces suite of products (Dashboards, Search, User Notifications, and Notebooks), implementing our translation system, and mentoring junior engineers with a focus on improving the engineering team's processes, c

@copperlight
copperlight / .bashrc
Created August 11, 2016 16:27
Window Subsystem for Linux ssh-agent Configuraton
# ... more above ...
# wsfl bash is not a login shell
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# ssh-agent configuration
if [ -z "$(pgrep ssh-agent)" ]; then
rm -rf /tmp/ssh-*
@mkivikoski
mkivikoski / ideal-employment.md
Last active September 20, 2016 14:36
A checklist of the qualities you'd like to see your next company have.

We write resumes to convince employers to hire us. What if we created a list for what we were looking for in our next employer and their environment?

This allows both sides to cut through the game of telephone, establish what you are looking for in your role, and define the type of organization you're looking to work for. Fork, modify and add this checklist to your portfolio site to quicken the pace of getting through companies that don't match your criteria.

--

@chantastic
chantastic / on-jsx.markdown
Last active November 10, 2024 13:39
JSX, a year in

Hi Nicholas,

I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:

The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't

@davidfowl
davidfowl / dotnetlayout.md
Last active April 28, 2025 17:54
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
#!/usr/bin/env sh
## Port map and set static address for Natted VM Fusion box
## Box must be running and this script needs to be run as sudo
## Restart VMware after
##
## sudo sh fusionportmap.sh
VMRUN="/Applications/VMware Fusion.app/Contents/Library/vmrun"
VMS=$("${VMRUN}" list | tail -n +2)
@marcamos
marcamos / modernizr-classes-ie.markdown
Last active December 31, 2015 18:29
* modernizr-classes-ie.markdown: A list of classes added to each version of IE, via Modernizr. * report-filtered-classes.js: If pre-defined classes *are* found on the HTML element (from Modernizr), log them to the console. You can do something entirely different, such as prepending a list of the found classes to the body element (for example).

Classes inserted into IE by Modernizr

Updated December 23rd, 2013: These lists were gathered from a Windows 7 virtual machine on a MacBook Pro.

IE11

  • js
  • flexbox
  • canvas
  • canvastext