As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
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!
\
| /* 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 { |
| hr { | |
| display: block; | |
| height: 1px; | |
| border: 0; | |
| border-top: 1px solid #ccc; | |
| margin: 1em 0; | |
| padding: 0; | |
| } |
| 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){ |
| # 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'); |
| // 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); |
| # 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) { |
| <script setup> | |
| import LinkItem from './LinkItem'; | |
| const links = [ | |
| { | |
| url: 'https://google.com', | |
| text: 'Google', | |
| isDisabled: false, | |
| }, | |
| { |