Skip to content

Instantly share code, notes, and snippets.

View darktasevski's full-sized avatar
๐Ÿ 
Working from home

Darkรธ Tasevski darktasevski

๐Ÿ 
Working from home
  • Serbia
View GitHub Profile
function App() {
// ...
const { logoutUser } = useAuthorizationContext();
const queryClient = useMemo(
() => createQueryClient(logoutUser, enqueueSnackbar),
[logoutUser, enqueueSnackbar]
);
return (
import { globalIgnores } from "eslint/config";
import globals from "globals";
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import tsParser from "@typescript-eslint/parser";
import sonarjs from "eslint-plugin-sonarjs";
import reactPlugin from "eslint-plugin-react";
import * as reactHooks from "eslint-plugin-react-hooks";
import pluginSecurity from "eslint-plugin-security";
@darktasevski
darktasevski / SomeComponent.test.tsx
Last active May 14, 2025 11:02
Launch Darkly + Jest + React Testing Library
import React from 'react';
import { fireEvent, screen, waitFor } from '@testing-library/react';
import { mockFlags, resetLDMocks } from '../test/launchDarklySDKMock';
import SomeComponent from './SomeComponent';
describe('SomeComponent', () => {
beforeEach(() => resetLDMocks());

Using Slack is more like using Twitter than having a chat

  • The audience is likely broader than you think. What you say is recorded and searchable forever.
  • Nuance is hard with words alone - It takes work to express complex ideas, consider using a less public place to finesse them.
  • Your words will sometimes stand alone and lose their conversation context - be aware of what you say, when you say it.
  • Chatting in a private room with your close buddies is very different than @all in #announcements

Post in haste, repent at leisure

  • If you feel very strongly on a topic, consider writing your thoughts down and holding off posting for few hours.

Frontend Masters: AWS for Frontend Engineers

You should have the following completed on your computer before the workshop:

  • Install the AWS CLI.
  • Have Node.js installed on your system. (Recommended: Use nvm.)
    • Install yarn with brew install yarn.
  • Create an AWS account. (This will require a valid credit card.)
  • Create a Travis CI account. (This should be as simple as logging in via GitHub).
@darktasevski
darktasevski / gist:b31b4d33bb2fa2dd19f357edc6499ded
Created November 1, 2018 18:02 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@darktasevski
darktasevski / iterm2.md
Created October 15, 2018 17:11 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Fullscreen โŒ˜+ Enter
Previous Tab โŒ˜+ Left Arrow
Next Tab โŒ˜+ Right Arrow
Go to Tab โŒ˜ + Number
Go to Window โŒ˜ + Option + Number
Go to Split Pane by Direction โŒ˜ + Option + Arrow
@darktasevski
darktasevski / README.md
Created August 17, 2018 17:42 — forked from roachhd/README.md
EMOJI cheatsheet ๐Ÿ˜›๐Ÿ˜ณ๐Ÿ˜—๐Ÿ˜“๐Ÿ™‰๐Ÿ˜ธ๐Ÿ™ˆ๐Ÿ™Š๐Ÿ˜ฝ๐Ÿ’€๐Ÿ’ข๐Ÿ’ฅโœจ๐Ÿ’๐Ÿ‘ซ๐Ÿ‘„๐Ÿ‘ƒ๐Ÿ‘€๐Ÿ‘›๐Ÿ‘›๐Ÿ—ผ๐Ÿ”ฎ๐Ÿ”ฎ๐ŸŽ„๐ŸŽ…๐Ÿ‘ป

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. โœˆ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: ๐Ÿ˜„

@darktasevski
darktasevski / shell.sh
Created August 14, 2018 07:04
Remove all node_modules from your PC
find . -name "nodemodules" -type d -prune -exec rm -rf '{}' +
@darktasevski
darktasevski / HelloWorld.js
Last active July 30, 2018 10:47
HelloWorld.js (Vue)
new Vue({
el: '#app',
data: {
title: 'Hello World',
imgUrl: 'https://i.imgur.com/whm2eGE.jpg',
},
methods: {
changeTitle() {
this.title = 'Hello World Updated!';
},