| Namespace | Utility classes |
|---|---|
--accent-color-* |
Accent color utilities like accent-blue-600 |
--animate-* |
Animation utilities like animate-spin |
--aspect-* |
Aspect ratio utilities like aspect-video |
--backdrop-blur-* |
Backdrop blur utilities like backdrop-blur-md |
--backdrop-brightness-* |
Backdrop brightness utilities like backdrop-brightness-125 |
--backdrop-contrast-* |
Backdrop contrast utilities like backdrop-contrast-125 |
--backdrop-grayscale-* |
Backdrop grayscale utilities like backdrop-grayscale |
--backdrop-hue-rotate-* |
Backdrop hue rotate utilities like backdrop-hue-rotate-60 |
🚚 The bookmarklet has moved to https://github.com/bramus/mastodon-profile-redirect/
| overscroll-b: overscroll-y | |
| overscroll-i: overscroll-x | |
| bs: height | |
| is: width | |
| min-bs: min-height | |
| min-is: min-width | |
| max-bs: max-height | |
| max-is: max-width | |
| mlb: my | |
| mli: mx |
Checked out these links, tried the instructions.
- Jun 10th, 2017 - https://www.reddit.com/r/discordapp/comments/6ghpiq/discord_desktop_version_not_showing_server_icons/
- Oct 9th, 2018 - https://www.reddit.com/r/discordapp/comments/9mr6dq/so_i_cant_see_some_iconsavatars_i_kind_of/
- Jun 26th, 2016 - https://twitter.com/discordapp/status/747246111182577664?lang=en
- Mobile-only problem post?
- Feb 18th, 2018 - https://ubuntuforums.org/showthread.php?t=2385225
- Linux, but could still be helpful.
- Nov 15th, 2017 - discord/discord-rpc#21 (comment)
- Actually Cmd+Alt+I, not Shift.
- Don't type or run anything until I told you so.
- This guide uses linux commands. For windows users, you can use
win-bash
I have one computer and two different github accounts. One is for work, the other is for my personal stuff. I can't use the same ssh key twice, so I have to use different ssh key for each of my accounts. How do I do that? How do I switch between these ssh keys?
| const marky = require('marky') | |
| const render = Vue.prototype._render | |
| const update = Vue.prototype._update | |
| const camelize = str => str && Vue.util.camelize(str) | |
| function getName (vm) { | |
| if (!vm.$parent) return 'root' | |
| return ( | |
| camelize(vm.$options.name) || | |
| camelize(vm.$options._componentTag) || |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft,elem.offsetTop,elem.offsetWidth,elem.offsetHeight,elem.offsetParent
| export class HttpClient { | |
| constructor(defaults) { | |
| this.defaults = defaults; | |
| this.interceptors = []; | |
| this.activeRequestCount = 0; | |
| this.isRequesting = false; | |
| } | |
| addInterceptor(interceptor) { | |
| this.interceptors.push(interceptor); |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');Those suck for maintenance and they're ugly.
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).