Skip to content

Instantly share code, notes, and snippets.

View xndyz's full-sized avatar

𖤬𝔫𝔡𝔶 xndyz

View GitHub Profile
@xndyz
xndyz / paste into stylebot chrome extension.css
Created November 9, 2020 17:02
Google Colab theme for readability
@import url(https://fonts.googleapis.com/css2?family=Proxima+Nova:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
:root {
--colab-chrome-font-family: Jetbrains Mono;
--colab-primary-surface-color: rgb(28, 32, 34);
--colab-primary-text-color: rgb(187, 187, 187);
--colab-chrome-font-size: 18px;
--colab-primary-border-color: #ddd;
--border-color: rgb(62, 64, 69);
--colab-icon-color: rgb(187, 187, 187);
@xndyz
xndyz / LICENSE.txt
Created May 5, 2019 00:48 — forked from folt/gist:a98e9368dbe1dcbfce7198c16b862c92
Balsamiq Mockups 3 license
Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!
@xndyz
xndyz / Paragraph.test.ts
Last active May 7, 2018 17:29
Slate testing example
import {Value} from 'slate';
import Simulator from 'slate-simulator';
import {plugins} from '../';
import {mockPlugins} from '../../utilities';
import basicFixture from './fixtures/basic.json';
describe('Paragraph', () => {
it('renders the placeholder', () => {
const value = Value.fromJSON(basicFixture);
const renderPlaceholderSpy = jest.fn();