Skip to content

Instantly share code, notes, and snippets.

View sibelius's full-sized avatar
🦈
give me a feedback https://entria.feedback.house/sibelius

Sibelius Seraphini sibelius

🦈
give me a feedback https://entria.feedback.house/sibelius
View GitHub Profile
@sibelius
sibelius / .eslintrc.js
Created February 22, 2023 20:49
empty .eslintrc.js
module.exports = {
extends: [
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 10,
sourceType: 'module',
ecmaFeatures: {
modules: true,
},
@sibelius
sibelius / app.spec.tsx
Created February 7, 2023 15:57
ssr test html
it('test SSR', async () => {
const response = await request(app.callback()).get('/').send();
expect(response.status).toBe(200);
const { getByText } = renderHtml(response.text);
expect(getByText('my data')).toBeTruthy();
});
@sibelius
sibelius / ml-roadmap.md
Created January 17, 2023 11:30
Machine Learning Roadmap

Machine Learning Roadmap

  • calculus (learn how to find zero of a function, and what is a gradient)
  • unsupervised learning (k-means, and other cluster algorithm)
  • supervised learning (linear regression, svn, neural net)
  • reinforcement learning (llm)
  • learn state of art (convolution network, deep learning, attention)
@sibelius
sibelius / EmbedBrowserOnly.tsx
Created November 30, 2022 00:56
Embed Browser Only for docusuarus
import React from 'react';
import BrowserOnly from '@docusaurus/BrowserOnly';
import { useColorMode } from '@docusaurus/theme-common';
const Embed = (props) => {
const { isDarkTheme } = useColorMode();
return (
<BrowserOnly>
{() => {
  1. Avoid large meetings Large meetings waste valuable time and energy.
  • They discourage debate
  • People are more guarded than open
  • There’s not enough time for everyone to contribute Don’t schedule large meetings unless you’re certain they provide value to everyone.
  1. Leave a meeting if you’re not contributing If a meeting doesn’t require your:
  • Input
@sibelius
sibelius / data_modeling.md
Created October 31, 2022 17:09
Data modeling

What is Data Modeling?

Data modeling is to decide where and how are you going to store your data.

You need to think in the shape of data.

In how many tables/collections should you separate your data?

What are the fields of each table/collection?

@sibelius
sibelius / zettelkasten-notion-sample.md
Last active October 23, 2022 21:13
one sample zettelkasten in my notion

Stuck on a Good Salary

Apprenticeship Patterns

Stuck on a Good Salary

You can easily get stuck on a "good" salary.

you feel that you are stuck

@sibelius
sibelius / Dockerfile
Created September 21, 2022 13:37
Dockerfie using yarn install
FROM node:lts-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY yarn.lock /usr/src/app/
COPY package.json /usr/src/app/
RUN yarn install --production --frozen-lockfile
@sibelius
sibelius / Dockerfile
Created September 21, 2022 13:36
simple dockerfile node
FROM node:lts-slim
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ENV PORT=5001
EXPOSE ${PORT}
COPY ./.env.example /usr/src/app/
@sibelius
sibelius / woovi_job.md
Last active August 31, 2024 16:18
Woovi Job Description