Skip to content

Instantly share code, notes, and snippets.

View vadimdemedes's full-sized avatar
🇺🇦

Vadim Demedes vadimdemedes

🇺🇦
View GitHub Profile
@vadimdemedes
vadimdemedes / product-hunt.css
Created February 23, 2022 17:32
Refined Product Hunt
/* Notification icon in the header */
[data-test="notification-bell"] {
display: none;
}
/* Hide menu items in header */
.styles_header__x7qVU > div:nth-child(3) {
visibility: hidden;
}
@vadimdemedes
vadimdemedes / index.js
Created December 3, 2023 22:01
detect-node
#!/usr/bin/env node
import os from "node:os";
import path from "node:path";
import { $, execa } from "execa";
import { locatePath } from "locate-path";
import defaultShell from "default-shell";
async function getShellProfile() {
const { homedir } = os.userInfo();
@vadimdemedes
vadimdemedes / index.js
Last active December 3, 2023 22:01
detect-node
#!/usr/bin/env node
import os from "node:os";
import path from "node:path";
import { $, execa } from "execa";
import { locatePath } from "locate-path";
import defaultShell from "default-shell";
async function getShellProfile() {
const { homedir } = os.userInfo();

Pulse Support

View latest stats from Plausible Analytics right in your menu bar.

Contact

If you have any questions or suggestions regarding Pulse, do not hesitate to contact me.

@vadimdemedes
vadimdemedes / app.js
Last active July 10, 2020 15:37
Starter code for creating a custom React renderer
import React from 'react';
import reconciler from './reconciler';
const App = () => {
return <h1>Hello World</h1>;
};
const render = (tree, target) => {
const container = reconciler.createContainer(target);
container.updateContainer(tree, container);
❯ npx x0 .
x0 @compositor/x0
x0 ⠦ starting dev server✖ 「wdm」:
ERROR in (webpack)-dev-middleware/node_modules/mime/src/test.js
Module not found: Error: Can't resolve '../node_modules/mime-types' in '/Users/X/Projects/demo/node_modules/webpack-dev-middleware/node_modules/mime/src'
@ (webpack)-dev-middleware/node_modules/mime/src/test.js 4:16-53
@ . sync \.(js|md|mdx|jsx)$
@ ./node_modules/@compositor/x0/src/entry.js
@ multi ./node_modules/@compositor/x0/src/entry

Keybase proof

I hereby claim:

  • I am vadimdemedes on github.
  • I am vadimdemedes (https://keybase.io/vadimdemedes) on keybase.
  • I have a public key whose fingerprint is 5476 3A1E DB25 6FD1 8140 A088 CD44 437A 7E64 CE65

To claim this, I am signing this object:

$ git add cli.js
$ git commit -m 'display test execution time'
$ git clone git@github.com:vdemedes/ava.git
$ cd ava

Keybase proof

I hereby claim:

  • I am vdemedes on github.
  • I am vadimdemedes (https://keybase.io/vadimdemedes) on keybase.
  • I have a public key whose fingerprint is 5476 3A1E DB25 6FD1 8140 A088 CD44 437A 7E64 CE65

To claim this, I am signing this object: