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
<div id="app"></div> | |
<script> | |
// Create virtual node | |
function h(tag, props, children) { | |
// Return the virtual node | |
return { | |
tag, | |
props, | |
children, | |
} |
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
/** @jsx h */ | |
// refs | |
// https://medium.com/@deathmood/how-to-write-your-own-virtual-dom-ee74acc13060 | |
// https://medium.com/@deathmood/write-your-virtual-dom-2-props-events-a957608f5c76 | |
// test: https://jsfiddle.net/Luca_Colonnello/Lzjy5a67/1/ | |
// comparison: | |
// current - https://jsfiddle.net/Luca_Colonnello/5xebu97u/3/ | |
// vidom - https://jsfiddle.net/Luca_Colonnello/dp9cwn37/2/ |
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
class TestListener(sublime_plugin.EventListener): | |
def on_query_completions(self, view, prefix, locations): | |
return ([ | |
sublime.CompletionItem( | |
trigger="tmartin", | |
annotation="OverrideAudit Author", | |
completion="Terence Martin", | |
completion_format=sublime.COMPLETION_FORMAT_TEXT, |
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
Show hidden characters
{ | |
"variables": { | |
"colorAccent": "#4A7C8A", | |
"tabSelectedBorderSize": [ | |
0, | |
0, | |
0, | |
2 | |
], | |
"sidebarIconFolderColor": "var(colorAccent)", |
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
/** | |
* HACK MEMROY GAME | |
* | |
* 1º - Open the Link: http://artycoder.mistycreates.com/memory-game/ | |
* 2º - Open the Chrome Dev Tools | |
* 3º - Paste the this code | |
* 4º - Magic happens | |
*/ | |
function playGame(duration) { | |
const time = setInterval(() => { |
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
[ | |
// VCS badges | |
{ | |
"class": "vcs_status_badge", | |
"parents": [{"class": "file_system_entry", "attributes": ["untracked"]}], | |
"layer0.texture": "Theme - Default/common/status_untracked.png", | |
"layer0.tint": "color(var(--yellowish) blend(rgb(255, 255, 255) 60%))", | |
"layer0.opacity": 1.0, | |
"content_margin": 6 | |
}, |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/mauroreisvieira/.oh-my-zsh" | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="powerline" |
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
{ | |
"accent_color": "$scheme_accent_color", | |
"gutter_background_color": "#f6f9fc", | |
"gutter_foreground_color": [ | |
"specify", | |
"#91a2b0", | |
"#91a2b0", | |
] | |
} |
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
{ | |
"accent_color": "#6772e4", | |
"skin": | |
{ | |
"scheme_accent_color": "#00f", | |
"id": "elegant", | |
"settings": | |
{ | |
"find_in_files_panel_padding": | |
[ |
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
extends: | |
- stylelint-config-standard | |
- stylelint-config-recommended-scss | |
ignoreFiles: | |
- node_modules/**/* | |
plugins: | |
- stylelint-scss | |
- stylelint-order | |
rules: | |
# Follow best practices |
NewerOlder