This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// not iterable | |
{ | |
const myItem = { | |
a: 1, | |
b: 2 | |
} | |
// const r = [...myItem] // TypeError: myItem is not iterable | |
} | |
// now object is iterable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright 2022 Paulo Torrens * | |
* * | |
* Permission is hereby granted, free of charge, to any person obtaining a copy * | |
* of this software and associated documentation files (the "Software"), to * | |
* deal in the Software without restriction, including without limitation the * | |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * | |
* sell copies of the Software, and to permit persons to whom the Software is * | |
* furnished to do so, subject to the following conditions: * | |
* * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; | |
;; Link para o live coding: https://www.youtube.com/watch?v=IIp9YaXRHVY | |
;; | |
;; | |
;; Exemplo de map | |
;; | |
(map | |
(fn [x] (str "Hello " x)) |
- High level overview https://yogthos.github.io/ClojureDistilled.html
- An Animated Introduction to Clojure https://markm208.github.io/cljbook/
- Interactive tutorial in a browser https://tryclojure.org/
- Interactive exercises http://clojurescriptkoans.com/
- Clerk notebooks with introductory examples https://github.clerk.garden/anthonygalea/notes-on-clojure
- More interactive exercises https://4clojure.oxal.org/
- Lambda Island tutorials https://lambdaisland.com/
- Functional Programming with Clojure resources https://practicalli.github.io/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
ci = commit | |
co = checkout | |
cm = checkout master | |
cb = checkout -b | |
st = status -sb | |
sf = show --name-only | |
lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30 | |
incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u}) | |
outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..) |
Comando | Alias/Abrv. | O que faz? | Exemplo |
---|---|---|---|
echo | Imprime a string no output | echo Hello World |
|
mkdir | make directory | Cria um novo diretório | mkdir nome_pasta |
ln | link | Cria link | ln ./arquivo /usr/caminho |
chown | change owner | Muda o dono e grupo do arquivo | chown x+a ./arquivo |
chmod | change mode | Muda o modo de leitura do arquivo | chomod 777 ./arquivo |
touch | Muda as inform. de leitura ou cria arquivo vazio | touch index.php |
This guide describes how to install Fedora 30/31 next to Windows 10 on a Dell XPS 13 9380 series in dual boot.
- Keep the stock Windows 10 installation that came with the laptop.
- Install Fedora 30 alongside Windows on the hard disk.
- Install GRUB as the bootloader allowing you to choose which OS to boot from.
Authored: September 2019
With VSCode version 1.94, the APC extension broke and there is no fix yet.
So, for those having issues with APC after the VSCode update, I recommend downloading the previous version of VSCode for now (https://code.visualstudio.com/updates/v1_93) and setting updates to manual by adding this to the editor's configuration:
"update.mode": "manual",
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Dracula Oficial | |
- VSicons | |
- Color Highlight | |
- EditorConfig for VSCode | |
- ESLint | |
- Prettier - Code formatter | |
- Rocketseat Snippets |
NewerOlder