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
#include "ansi_color.h" | |
/** | |
* @name inColor | |
* | |
* @brief returns a string, ansi-formatted to be displayed in a particular | |
* color & style in the console. | |
* | |
* @param content - string content to wrap in ansi formatting | |
* @param foreground - text foreground color (default: kAnsiColorDefault) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
additionalProperties: true | |
default: {} | |
description: This is the schema for an individual glossary item | |
examples: | |
- acronym: FOO | |
description: foo | |
links: | |
- link: https://foo.com | |
title: foo | |
see: |
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
# Uncrustify 0.61 | |
# | |
# uncrustify config file | |
# | |
#newlines { Auto, LF, CR, CRLF } | |
# The type of line endings | |
input_tab_size = 4 | |
# The original size of tabs in the input |
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
# Example | |
# Update all symlinks that point to "foo" to now point to "baz" | |
find . -lname foo -exec ln -sf baz {} \; |
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
#!/usr/bin/env python3 | |
class Colors: | |
CYAN = '\033[96m' | |
MAGENTA = '\033[95m' | |
BLUE = '\033[94m' | |
GREEN = '\033[92m' | |
YELLOW = '\033[93m' | |
RED = '\033[91m' | |
RESET = '\033[0m' |
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
""" | |
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 |
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
/* 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 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
{ | |
"title": "Capslove V2", | |
"rules": [{ | |
"description": "Capslove Base Home/End", | |
"manipulators": [{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"mandatory": [ |
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
# 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 -> |
NewerOlder