- WebStorm, Rider
- Partial support, not enough intelli hints
- Toggle on TypeScript language service
- VSCode
This file contains hidden or 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
| {% extends 'docs.html.twig' %} | |
| {% block content %} | |
| <div id="chapter"> | |
| <div id="body-inner"> | |
| <h1>{{ page.title }}</h1> | |
| {{ page.content }} |
This file contains hidden or 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
| # EditorConfig helps developers define and maintain consistent | |
| # coding styles between different editors and IDEs | |
| # https://editorconfig.org | |
| root = true | |
| [*] | |
| end_of_line = lf | |
| charset = utf-8 | |
| trim_trailing_whitespace = true |
This file contains hidden or 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
| {% if page.content and config.get('plugins.page-toc.active') or attribute(page.header, 'page-toc').active %} | |
| {% set table_of_contents = toc(page.content) %} | |
| {% if table_of_contents is not empty %} | |
| <div class="page-toc"> | |
| <h4><i class="fa fa-fw fa-list-alt"></i> Page Outline</h4> | |
| {{ table_of_contents }} | |
| </div> | |
| {% endif %} | |
| {% endif %} |
This file contains hidden or 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
| export OLD_PS1=$PS1 | |
| export PS1="\u > "export PS1="\u $ " | |
| clear |
This file contains hidden or 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
| service: | |
| name: digiStatic | |
| frameworkVersion: ">=1.1.0 <2.0.0" | |
| provider: | |
| name: aws | |
| runtime: nodejs6.10 | |
| memorySize: 512 | |
| # Serverless variables like ${self:custom.prefix} We use variableSyntax here |
This file contains hidden or 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
| var startMove = 0; | |
| var bottomSheet = Ti.UI.createView({ | |
| height: 300, | |
| width: Ti.UI.FILL, | |
| backgroundColor: "red", | |
| bottom: -300, | |
| zIndex: 50 | |
| }); | |
| var overlay = Ti.UI.createView({ |
This file contains hidden or 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
| void main() { | |
| runApp(_SwitchingThemeApp()); | |
| } | |
| /// Properties that help me keep track of the example being run. | |
| bool _useMaterial = false; | |
| class _SwitchingThemeApp extends StatefulWidget { | |
| @override | |
| _SwitchingThemeAppState createState() => _SwitchingThemeAppState(); |
This file contains hidden or 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
| const MY_DOMAIN = "help.splitbee.io" | |
| const START_PAGE = "https://www.notion.so/splitbee/Help-Center-bbf26e2b70574901b9c98e5d11e449de" | |
| addEventListener('fetch', event => { | |
| event.respondWith(fetchAndApply(event.request)) | |
| }) | |
| const corsHeaders = { | |
| "Access-Control-Allow-Origin": "*", | |
| "Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS", |
This file contains hidden or 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
| function useLocalStorage(key, defaultValue) { | |
| const [state, setState] = React.useState( | |
| () => JSON.parse(localStorage.getItem(key)) || defaultValue | |
| ); | |
| useEffect(() => { | |
| localStorage.setItem(key, JSON.stringify(state)); | |
| }, [key, state]); | |
| return [state, setState]; | |
| } |
OlderNewer