Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
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
import * as React from "react"; | |
import { useMousePosition } from "~/hooks/useMousePosition"; | |
/** Component to cover the area between the mouse cursor and the sub-menu, to allow moving cursor to lower parts of sub-menu without the sub-menu disappearing. */ | |
export function MouseSafeArea(props: { parentRef: React.RefObject<HTMLDivElement> }) { | |
const { x = 0, y = 0, height: h = 0, width: w = 0 } = props.parentRef.current?.getBoundingClientRect() || {}; | |
const [mouseX, mouseY] = useMousePosition(); | |
const positions = { x, y, h, w, mouseX, mouseY }; | |
return ( | |
<div |
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
# blender 2.8 | |
""" | |
This script implements Convey's "Game of Life" in Blender 2.8 | |
It relies on the blender file containing a mesh called "Cube" | |
(sidelength = 1) and an empty collection called "Grid". | |
""" | |
import bpy | |
from random import random |
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
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
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
" SpaceGray.vim -- Vim colorscheme. | |
" Maintainer: Aditya Vikram Singh (github.com/xypnox) | |
" Version: 1.0 | |
" A colorscheme modeled after the spacegray theme for Atom and Sublime. | |
" This colorscheme is 256color and up only. | |
" Setup {{{1 | |
hi clear | |
if exists('syntax_on') |
This file has been truncated, but you can view the full file.
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
= help: consider adding a `#![recursion_limit="2048"]` attribute to your crate | |
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[_]` | |
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[_]]` | |
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[[_]]]` | |
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[[[_]]]]` | |
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[[[[_]]]]]` | |
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for |
For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:
1 - Add the property classes in the AppBar component:
<AppBar classes={{root: 'my-root-class'}}
NOTICE The following notes work with any Ubuntu based distro with apt package manager. Warning : Use Any commands given below at your own caution. I will not be responsible for anything you break burn destroy or annihilate using these commands
Upgrade your Dist to latest updates Install
ubuntu-restricted-extras
. Many Applications (Lollypop Included) Don't Work without it.
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
background no | |
own_window yes | |
own_window_type normal | |
own_window_class Conky | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
alignment mm | |
gap_x -20 | |
#575 | |
gap_y 65 | |
#310 |
NewerOlder