Skip to content

Instantly share code, notes, and snippets.

💡
Prototyping ideas

Nathaniel Blackburn nblackburn

💡
Prototyping ideas
Block or report user

Report or block nblackburn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View scrollbar.css
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background-color: #ffffff;
}
::-webkit-scrollbar-thumb {
background-color: #cccccc;
View placeholder.css
input::-webkit-input-placeholder {
color: #666666;
}
input :-moz-placeholder {
color: #666666;
}
input::-moz-placeholder {
color: #666666;
@nblackburn
nblackburn / camelToKebab.js
Last active Jan 1, 2020
Convert a string from camel case to kebab case.
View camelToKebab.js
module.exports = (string) => {
return string.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();
};
@nblackburn
nblackburn / wildcard-match.js
Last active Oct 21, 2017
Check if a string matches a wildcard pattern.
View wildcard-match.js
module.exports = (test, pattern) => {
return new RegExp(test.replace(/\*/g, '([^*]+)'), 'g').test(pattern);
};
View README.md

devRant Slack Theme

Preview

Preview

Installation

  • Go to the Preferences screen.
  • Click Sidebar theme.
You can’t perform that action at this time.