This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
del "%AppData%\Local by Flywheel\window-state.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, | |
body { | |
height: 100%; | |
} | |
.carousel, | |
.item, | |
.active { | |
height: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--in original repo "a" | |
git remote add -f b "path/to/repo_b.git" [use github clone url for path] | |
git remote update | |
git diff master remotes/b/master | |
[resolve any merge conflicts - see related gist] | |
git merge -S --allow-unrelated-histories old-project/master | |
git remote rm b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To resolve a merge conflict caused by competing line changes, you must choose which changes to incorporate from the different branches in a new commit. | |
For example, if you and another person both edited the file styleguide.md on the same lines in different branches of the same Git repository, you'll get a merge conflict error when you try to merge these branches. You must resolve this merge conflict with a new commit before you can merge these branches. | |
Open Git Bash. | |
Navigate into the local Git repository that has the merge conflict. | |
cd REPOSITORY-NAME | |
Generate a list of the files affected by the merge conflict. In this example, the file styleguide.md has a merge conflict. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My Windows 10 wouldn't recognize my phone. After using adb it now works. Here's how. | |
Connect your Android phone via USB | |
When it asks what to connect as, choose "Camera (PTP)" | |
Open Google Chrome and the webpage you want to test | |
Open Chrome Developer Tools and find the "Remote Devices" tab | |
Now, your phone might or might not appear in this tab. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compensate for the Bootstrap fixed top navigation bar. | |
// | |
// No styleguide reference. | |
body { | |
padding-top: @navbar-height; | |
} | |
// Offset fixed top navigation bar if WordPress admin bar is | |
// visible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//reversed over black background | |
.summary__page-title_container{ | |
z-index: 1; | |
position: relative; | |
display: block | |
} | |
.page__title.summary__page_title{ | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?=<!--)([\s\S]*?)--> | |
//finds html comments - single line and multi-line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* prevent change of telephone color while enabling phone number detection | |
a[href^=tel] { | |
text-decoration:inherit; | |
color: inherit; | |
} { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 1. Stop Safari from detecting and enabling phone number links with the following meta tag --> | |
<meta name=”format-detection” content=”telephone=no”> |