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
git branch -r | grep -v '\->' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
git fetch --all | |
git pull --all |
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
for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done |
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
("#ff1493", | |
"#fff0f5", | |
"#ff69b4", | |
"#c71585", | |
"#ff00ff", | |
"#8b008b", | |
"#800080", | |
"#da70d6", | |
"#ee82ee", | |
"#dda0dd", |
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
("#FFFFFF", | |
"#000000", | |
"#FF0000", | |
"#00FF00", | |
"#0000FF", | |
"#FFFF00", | |
"#00FFFF", | |
"#FF00FF", | |
"#808080", | |
"#FF8080", |
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
mkdir -p src/main/webapp/frontend/bower_components/my-test-element | |
cd src/main/webapp/frontend/bower_components/my-test-element | |
polymer init --name polymer-2-element | |
rm -rf bower.json bower_components/ demo polymer.json README.md test index.html |
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
// // top tool bar background color css variable customization point | |
// UI.getCurrent().getPage().executeJavaScript("window.onload = function() {\n" + | |
// " setTimeout(function() {\n" + | |
// " var html = document.getElementsByTagName('html')[0];\n" + | |
// " html.style.cssText = \"--app-layout-bar-background-color: #004a96\";\n" + | |
// " }, 0);\n" + | |
// "};"); |
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
import UIKit | |
extension UIView { | |
var superviews: UnfoldFirstSequence<UIView> { | |
return sequence(first: self) { view in view.superview } | |
} | |
func enclosingView(where predicate: (UIView) -> Bool) -> UIView? { | |
return superviews.first(where: predicate) | |
} |
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
%windir%\system32\SnippingTool.exe |
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
po [RLMRealmConfiguration defaultConfiguration].fileURL |
NewerOlder