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
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> | |
<path d="M2 6h20v3H2zm0 5h20v3H2zm0 5h20v3H2z" /> | |
</svg> |
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
REM :: USING THE COMMAND PROMPT: | |
REM :: Recursively change file extensions in a directory. | |
REM :: The example below changes all .css files to .scss files: | |
for /R %x in (*.css) do ren "%x" *.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
REM :: USING THE COMMAND PROMPT: | |
REM :: Snippet to change all the filenames in a directory (non-recusive) | |
REM :: The example below prepends all filenames with an underscore: | |
for %a in (*.*) do ren "%a" "_%a" |
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
/* -------------------------------------------------- | |
Globally available color variables using | |
Google's Material Design color palette | |
https://www.google.com/design/spec/style/color.html | |
-------------------------------------------------- | |
All color variable names are in the following format: | |
$md-{color}-[a][level] | |
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
Atom Sync-Settings |
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
// 2nd version of Atom settings |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
{ | |
"title": "Capslove V2", | |
"rules": [{ | |
"description": "Capslove Base Home/End", | |
"manipulators": [{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"mandatory": [ |
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
/* eslint-disable react/no-find-dom-node */ | |
import React, { PureComponent } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import PropTypes from 'prop-types'; | |
class HtmlComment extends PureComponent { | |
componentDidMount() { | |
const node = ReactDOM.findDOMNode(this); | |
ReactDOM.unmountComponentAtNode(node); |
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
""" | |
Download the latest versions of all installed VSCode extensions with cURL. | |
TODO: Add option to automatically install all the downloaded extensions. | |
TODO: Add option to provide any list of extensions, not just the installed ones. | |
TODO: Update to allow for specifying extension version (but default to latest version). | |
TODO: Update to check for directory existence (and make one if it doesn't exist). | |
""" | |
import os |
OlderNewer