Skip to content

Instantly share code, notes, and snippets.

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active November 14, 2024 15:40
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@alkrauss48
alkrauss48 / ie_gradients.css
Last active January 30, 2019 21:39
Examples of CSS gradient filters for IE
/* Here's some examples of IE filters for backgrounds with opacity. The first 2 chars of the hex value are the
* opacity values. There are 10 classes to help narrow down which opacity value you might need.
*/
.dark-90 {
background-color: rgba(0, 0, 0, 0.9);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#E6000000,endColorstr=#E6000000);
}
.dark-80 {
@alkrauss48
alkrauss48 / hr_base_styles.css
Created May 30, 2014 17:08
HR Base Styles - As seen in HTML5 Boilerplate
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
@alkrauss48
alkrauss48 / jquery.video.js
Last active September 14, 2015 15:56
Responsive Video Lightbox that will always view on 16:9 resolution at maximum screen height/width
function closeVideo(){
$('#dark-overlay').fadeOut(500);
$('#iframe-wrapper').fadeOut(500);
$('#iframe-wrapper').find('iframe').attr('src', '');
}
$(document).ready(function(){
$('a.close-video').click(function(e){ closeVideo(); });
$('a.play-now').click(function(e){
@alkrauss48
alkrauss48 / wordpress_url_change.sql
Last active September 4, 2016 03:33
Change Wordpress Base URL via SQL
# Changing the main site url and home url locations for Wordpress via SQL
# Useful when migrating database across environments
update wp_options set option_value = 'new_url' where option_name IN ('siteurl', 'home');
@alkrauss48
alkrauss48 / jquery.animations.js
Last active November 4, 2016 15:22
jQuery Scrolling Animations
// Shift the page to a div. Replace 'target' with a jquery selector query.
$('html,body').animate({
scrollTop: $(target).offset().top
}, 1000);
// Shift a div to your current browser window location - Replace 'target' with a jquery selector query.
$(target).animate({
top: $(document).scrollTop()
}, 800);
@hallettj
hallettj / Makefile
Last active December 10, 2023 13:32
Makefile for transpiling with Babel & Flow in a Node app, or in a client- or server-side shared library
# Makefile for transpiling with Babel in a Node app, or in a client- or
# server-side shared library.
.PHONY: all clean
# Install `babel-cli` in a project to get the transpiler.
babel := node_modules/.bin/babel
# Identify modules to be transpiled by recursively searching the `src/`
# directory.
// IE 10+
@mixin ie-only() {
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
@content;
}
}
// IE Edge 10+ {
@mixin ie-edge-only {
@supports (-ms-accelerator:true) or (-ms-ime-align:auto) {
@gvinson
gvinson / LinkList.vue
Last active January 4, 2023 18:58
Frontend Assessment (with Vue)