Pen for the awesome tutorial on http://www.labnol.org/internet/light-youtube-embeds/27941/
A Pen by Saijo George on CodePen.
| $userPath = $env:USERPROFILE | |
| $pathExclusions = New-Object System.Collections.ArrayList | |
| $processExclusions = New-Object System.Collections.ArrayList | |
| $pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
| $pathExclusions.Add('C:\Windows\assembly') > $null | |
| $pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null | |
| $pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null | |
| $pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null | |
| $pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null |
| # dotNetDave's (David McCarter) Editor Config - dotNetTips.com | |
| # Updates to this file are posted quarterly at: https://bit.ly/EditorConfig5 | |
| # Updated August 2023 | |
| # dotNetDave's books available at: http://bit.ly/RockYourCodeBooks | |
| # Rockin' the Code World with dotNetDave (weekly live show): https://www.c-sharpcorner.com/live/rockin-the-code-world-with-dotnetdave | |
| root = true | |
| # All Files | |
| [*] |
| #!/bin/bash | |
| # Steps to clone all branchs from remote repository to local directory | |
| # | |
| # mkdir repo-name | |
| # cd repo-name | |
| # git clone --bare remote-repository-url .git | |
| # git config --unset core.bare | |
| # git reset --hard | |
| # git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" | |
| # git remote update |
| @mixin for-size($range) { | |
| $phone-upper-boundary: 600px; | |
| $tablet-portrait-upper-boundary: 900px; | |
| $tablet-landscape-upper-boundary: 1200px; | |
| $desktop-upper-boundary: 1800px; | |
| @if $range == phone-only { | |
| @media (max-width: #{$phone-upper-boundary - 1}) { @content; } | |
| } @else if $range == tablet-portrait-up { | |
| @media (min-width: $phone-upper-boundary) { @content; } |
| @mixin for-size($size) { | |
| @if $size == phone-only { | |
| @media (max-width: 599px) { @content; } | |
| } @else if $size == tablet-portrait-up { | |
| @media (min-width: 600px) { @content; } | |
| } @else if $size == tablet-landscape-up { | |
| @media (min-width: 900px) { @content; } | |
| } @else if $size == desktop-up { | |
| @media (min-width: 1200px) { @content; } | |
| } @else if $size == big-desktop-up { |
Pen for the awesome tutorial on http://www.labnol.org/internet/light-youtube-embeds/27941/
A Pen by Saijo George on CodePen.
| # VCL configuration file for Varnish | |
| # Define which IP addresses or hosts have access to files that are | |
| # blocked from the public internet | |
| acl internal { | |
| "localhost"; | |
| } | |
| # Define origin servers | |
| backend web { .host = "1.2.3.4"; .port = "80"; } |
| <?xml version="1.0"?> | |
| <config> | |
| <global> | |
| <skip_process_modules_updates>1</skip_process_modules_updates> | |
| </global> | |
| </config> |
| # Sample usage | |
| # this command will generate 10 category and 100000 product | |
| # mysql > call build_catalog(10,100000); | |
| delimiter ;; | |
| drop procedure if exists build_catalog;; | |
| create procedure build_catalog(IN categories INT, IN products INT) | |
| begin | |
| SET @category_count = 1; | |
| SET @CATNAMEPREFIX = "Category "; |