Skip to content

ducin/awesomes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

Awesomes

My personal list of valuable resources and people to follow:


people

👷🏼‍♂️👷🏾‍♀️

architecture

and last but not least, faces in things

Videos

📹🤔

and last but not least, ️️⚡️ WAT ⚡️

also:

tools

🔨🛠🔩

online demos

fake online APIs

free stock photos

UI design, sketches, mockups

placeholder images

icons

emmet

extremely concise syntax that generates standard HTML (dev-friendly)

use within template files:

  • ul#list>li.item{item no. $}*5
  • ul>li*3>a>lorem10 (lorem ipsum)

some emojis

  • (╯°□°)╯︵ ┻━┻
  • (┛◉Д◉)┛彡 ¡ɹǝƃuɐ¡
  • ¯\_(ツ)_/¯
  • emoji4fun: 🏦💰💸✨⚡🌩️🧟🔨👠🏳️‍🌈💀⚰️🥥🍕☃🎸
  • flags: 🇫🇷🇩🇪🇵🇱🇪🇸🇮🇹🇳🇱🇬🇧🇺🇸

snippets

Improve your developer productivity with tailored code snippets used throughout your apps.

good practice:

  • think about the order in which you think about your code. THe order in which you define piece by piece might make it more smooth - or more cumbersome - to achieve your goal. Define the order with ${N:ELEMENT}, where N number defines the order and ELEMENT is a default name (likely to change), best describing what this piece is. Example: ${1:AGGR}
  • Declare multiple bieces with the same number: ${1:ELEMENT} ${1:ELEMENT} if you want both o change at the same time. Example below: React Component along with its props interface name

create:

VSCode's custom snippets:

  • ctrl + shift + P (windows)
  • cmd + shift + P (mac)

then: user snippets > javascript.json / typescript.json > add following:

{
	"Array-Reduce": {
		"prefix": "reduce",
		"body": [
			"${1:COLLECTION}.reduce( (${3:ACC}, ${2:ITEM}) => ${5:NEWACC}, ${4:INIT} )",
			"$0"
		],
		"description": "Call Array.reduce FTW!"
	},
	"Array-Reduce-Function": {
		"prefix": "reduce-fn",
		"body": [
			"${1:COLLECTION}.reduce((${3:ACC}, ${2:ITEM}) => {",
			"  return ${5:NEWACC}",
			"}, ${4:INIT})",
			"$0"
		],
		"description": "Call Array.reduce FTW!"
	}
}

or typescriptreact.json (TSX):

	"FunctionComponent": {
		"prefix": "fc",
		"description": "typed function component",
		"body": [
			"import React from 'react';",
			"",
			"type ${1:Component}Props = {",
			"  ${2:...}",
			"}",
			"",
			"export const ${1:Component}: React.FC<${1:Component}Props> = (${4:props}) => {",
			"  return <>${3:siema}</>",
			"}",
			"$0"
		]
	},

About

Awesome list of valuable resources and people to follow, curated by me ™

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published