This showcases the layout function I created for simple circle graphs. Check it out on github.
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
Show hidden characters
| { | |
| "MUI Component": { | |
| "scope": "typescriptreact", | |
| "prefix": "muicomp", | |
| "body": [ | |
| "import { makeStyles \\} from '@material-ui/core/styles'", | |
| "", | |
| "const useStyles = makeStyles({", | |
| " root: {}", | |
| "}, { name: '${10:ComponentName}' })", |
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
| { | |
| "printWidth": 100, | |
| "tabWidth": 2, | |
| "useTabs": false, | |
| "semi": false, | |
| "singleQuote": true, | |
| "trailingComma": "all", | |
| "bracketSpacing": true, | |
| "jsxBracketSameLine": true, | |
| "arrowParens": "always", |
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
| {"contents":{"launch":{"version":"0.2.0","configurations":[{"type":"node","request":"attach","name":"Launch Program","outFiles":["${workspaceFolder}/**/*.js"]}]}},"overrides":[],"keys":["launch.version","launch.configurations"]} |
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
| [user] | |
| name = [NAME] | |
| email = [EMAIL] | |
| [merge] | |
| tool = opendiff | |
| [alias] | |
| s = status | |
| st = status | |
| ts = status | |
| ci = commit |
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
| import sublime, sublime_plugin | |
| class GoToRefCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| pos = self.view.sel()[0].begin() | |
| region = self.view.extract_scope(pos) | |
| ref = self.view.substr(region).replace("'", "") | |
| folder = self.view.window().folders()[0] | |
| print("Going to ref: " + ref) |
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
| 'use strict'; | |
| var path = require('path'); | |
| var gulp = require('gulp'); | |
| var conf = require('./conf'); | |
| var fs = require('fs'); | |
| var browserSync = require('browser-sync'); | |
| var browserSyncSpa = require('browser-sync-spa'); |
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| </style> | |
| <script> | |
| function findSquareset(n, divisor) { |
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
| test: | |
| ./node_modules/.bin/browserify test/suite.js > test/suite.bundle.js | |
| ./node_modules/.bin/mocha-phantomjs test/runner-cli.html | |
| rm test/suite.bundle.js | |
| .PHONY: test |
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 timeSince(timeStamp, options) { | |
| if (typeof timeStamp === "object") { | |
| options = timeStamp; | |
| timeStamp = undefined; | |
| } | |
| options = options || {}; | |
| _.defaults(options, { | |
| compareDate: +new Date(), | |
| timeChunk: undefined, | |
| maxUnit: "year", |
NewerOlder