📄 webpack.config.js
📄 package.json
📁 scripts/
📄 manifest.js
📄 index.js
📁 stylesheets/
📄 main.scss
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
on run | |
tell application "Finder" | |
try | |
set targetPath to (quoted form of POSIX path of (folder of the front window as alias)) | |
on error | |
set targetPath to "~" | |
end try | |
end tell | |
my openTerminal(targetPath) |
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
@charset "UTF-8"; | |
/* ---------------------------------------------------------- *\ | |
* # Globals | |
\* ---------------------------------------------------------- */ | |
/** | |
* Box-model: | |
* 1. Change default box-model to border-box. | |
* 2. All elements will inherit from the <html> box-model. |
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
// Is there a reason to why the `throws` keyword is at this position: | |
func send() throws -> String {} | |
// Instead of… | |
throwing func send() -> String {} | |
// Like `mutating` is declared: | |
mutating func send() -> String {} | |
// To be consistant, throwing should be at the start of the declaration, right? |
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
# ... | |
# Add this to your Gemfile: | |
gem 'autoprefixer-rails' |
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
[ | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" } | |
] |
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
{% capture header %} | |
{% if page.title %} | |
<meta property="og:type" content="article" /> | |
<meta property="og:title" content="{{ page.title }}" /> | |
{% else %} | |
<meta property="og:type" content="website" /> | |
{% endif %} | |
{% if site.title %} |
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
// Add a border and a shadow to layer in Xamarin.iOS. | |
// View is a UIView subclass. | |
// Bottom border | |
var border = new CALayer(); | |
border.Frame = new RectangleF(0, view.Frame.Height, view.Frame.Width, 1); | |
border.BackgroundColor = UIColor.Black.CGColor; | |
// Bottom gradient | |
var gradient = new CAGradientLayer(); |
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
#region Members | |
#endregion | |
#region Constructors | |
#endregion | |
#region Methods | |
#endregion | |
#region Properties |
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
#region Nested | |
#endregion | |
#region Static | |
#endregion | |
#region Constants | |
#endregion | |
#region Members |