create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| <div id="myCarousel" class="carousel slide"> | |
| <!-- Carousel items --> | |
| <div class="carousel-inner"> | |
| <div class="active item"><img src="images/car_blackmusclecar.jpg" alt="Car Carousel" /></div> | |
| <div class="item"><img src="images/car_bluetruck.jpg" alt="Car Carousel" /></div> | |
| <div class="item"><img src="images/car_blackspeedster.jpg" alt="Car Carousel" /></div> | |
| <div class="item"><img src="images/car_redback.jpg" alt="Car Carousel" /></div> | |
| <div class="item"><img src="images/car_cyanclassic.jpg" alt="Car Carousel" /></div> | |
| <div class="item"><img src="images/car_redgrill.jpg" alt="Car Carousel" /></div> | |
| <div class="item"><img src="images/car_purplefire.jpg" alt="Car Carousel" /></div> |
| <?php | |
| /** | |
| * Ban/Limit Email Domains for Gravity Form Email Fields | |
| * http://gravitywiz.com/2012/11/11/banlimit-email-domains-for-gravity-form-email-fields/ | |
| */ | |
| class GWEmailDomainControl { | |
| private $_args; | |
| function __construct($args) { |
| <?php | |
| /* | |
| INSTRUCTIONS: | |
| Use at your own risk. Backup your database before continuing. | |
| 1. Copy code to a file in the root of your website. | |
| 2. Change YOUR_SITE_ROOT to a value that makes sense. | |
| 3. Execute by visiting the page. Verify before/after results. | |
| 4. Change MAKE_CHANGES_TO_SITE to true and execute it again. |
| <?php | |
| $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; //this line only needed for pagination | |
| $args = array( | |
| 'cat' => 7, | |
| 'paged' => $paged //this line only needed for pagination | |
| ); | |
| // The Query | |
| $the_query = new WP_Query( $args ); | |
| // The Loop |
| // This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.github.io | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
| */ |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| I recently switched over to [neovim](https://neovim.io/) (see my screenshots at the bottom). | |
| Below is my updated [config file](https://github.com/neovim/neovim/wiki/FAQ#where-should-i-put-my-config-vimrc). | |
| It's currently synchronized with my `.vimrc` config except for a block of [neovim-specific terminal key mappings](https://neovim.io/doc/user/nvim_terminal_emulator.html). | |
| This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely | |
| pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using | |
| tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer. | |
| These days I primarily develop in Go. I'm super thrilled and grateful for [fatih/vim-go](https://github.com/fatih/vim-go), |
| /* ******************************************************************************************* | |
| * TAILWIND.CSS | |
| * DOCUMENTATION: https://tailwindcss.com/ | |
| * ******************************************************************************************* */ | |
| /* | |
| * Available breakpoints | |
| * -------------------- | |
| * sm: min-width: 640px; | |
| * md: min-width: 768px; |
Taking advantage of Sass with Bourbon, I've refactored the original Codrops demo of a Fullscreen Background Image Slideshow to be a little more compact and efficiently managed.
The markup for the slideshow is an unordered list that houses spans which will function as the elements for the background images of the slideshow.
A variable, $animation-delay, is defined as the duration of each slide. This variable will be used to calculate the slideshow's cycle, and makes adding and removing slides a little more manageable.
The first instance of the variable is found tied to the spans that define the background images for each slide. Here, the variable should be multiplied by the total number of slides in the slideshow to set the full length of the cycle.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <link rel="stylesheet" type="text/css" href="style.css"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> | |
| <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> |