Skip to content

Instantly share code, notes, and snippets.

View FreePhoenix888's full-sized avatar
Empty your mind, be formless, shapeless - like water

FreePhoenix888

Empty your mind, be formless, shapeless - like water
View GitHub Profile
@FreePhoenix888
FreePhoenix888 / find_repeating_chat_messages_and_alarm.js
Last active February 25, 2024 16:09
Find Repeating Chat Messages And Alarm
doAllWork();
/**
* Find repeating messages in the twitch chat every {@link checkIntervalInMs} milliseconds and play a sound at url {@link soundUrl} if there are more than {@link howManyMessagesMustBeUnique} unique messages in the last {@link howManyMessagesToCheck} and logs the messages if {@link shouldLog} is true and adds a stop button to the page
* @example
* ```
* workForMe()
* ```
*/
function doAllWork(
@suenot
suenot / deep-chain-cheatsheet.md
Last active May 9, 2024 15:04
deep-chain commands

Запуск валидаторской ноды

deepchain start --compute-gpu=false --search-api=false --home ./testnet

Список кошельков

deepchain keys list --home ./testnet --keyring-backend=test
@Konard
Konard / client-handler-example.md
Last active March 15, 2024 08:34
Simplest possible client handler example for Deep. It can be installed as a package into Deep instance: https://www.npmjs.com/package/@konard/client-handler-example Start Deep instance: https://gitpod.io/#https://github.com/deep-foundation/dev

IMG_2080

IMG_2081

async ({ deep }) => {
  const React = await deep.import('react');
  const { Box } = await deep.import('@chakra-ui/react');

 return ({ fillSize, style, link }) => {
@CMCDragonkai
CMCDragonkai / regular_expression_engine_comparison.md
Last active May 10, 2024 05:22
Regular Expression Engine Comparison Chart

Regular Expression Engine Comparison Chart

Many different applications claim to support regular expressions. But what does that even mean?

Well there are lots of different regular expression engines, and they all have different feature sets and different time-space efficiencies.

The information here is just copied from: http://regular-expressions.mobi/refflavors.html

@DavidWells
DavidWells / reset.css
Last active May 4, 2024 20:04 — forked from karbassi/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@kwk
kwk / CMakeLists.txt
Last active February 14, 2024 08:53
Fix for "undefined reference to dlopen" in CMake projects
project(testlink)
add_executable(testlink main.cpp)
target_link_libraries(testlink)