I use VScode with the following extensions:
- Bracket Pair Colorizer
- Code Runner
- DotEnv
- Easy icon theme
- EditorConfig for VS Code
- ESLint
# Introduction to for loops | |
pokemons = ['Gengar', 'Dialga', 'Pikachu', 'Clefairy', 'Zapdos', 'Magikarp'] | |
index = 0 | |
while index < len(pokemons): | |
pokemon = pokemons[index] | |
print('index: ' + str(index)) | |
print('pokemon: ' + pokemon) | |
index += 1 |
import 'intersection-observer' | |
import { useState } from 'react' | |
import { useInView } from 'react-intersection-observer' | |
const Image = ({ src, alt = '', width, height, style = {}, ...props }) => { | |
const [ref, inView] = useInView({ | |
threshold: 0, | |
triggerOnce: true | |
}) |
<!--[if mso]> | |
<xml> | |
<o:OfficeDocumentSettings> | |
<o:PixelsPerInch>96</o:PixelsPerInch> | |
</o:OfficeDocumentSettings> | |
</xml> | |
<![endif]--> |
<!--[if mso]> | |
<style> | |
table {border-collapse: collapse;} | |
td,th,div,p,a,h1,h2,h3,h4,h5,h6 {font-family: "Segoe UI", sans-serif; mso-line-height-rule: exactly;} | |
</style> | |
<![endif]--> |
import org.bukkit.command.Command; | |
import org.bukkit.command.CommandSender; | |
import org.bukkit.plugin.java.JavaPlugin; | |
public class Main extends JavaPlugin { | |
@Override | |
public void onEnable() { | |
} |
const toSpongeCase = string => | |
[...string] | |
.map((x, i) => x[`to${i % 2 ? 'Upper' : 'Lower'}Case`]()) | |
.join('') |
class HeightGroup { | |
constructor(els) { | |
this.nodeArray = [...els] | |
this.nodeHeights | |
this.newHeight | |
} | |
matchHeights() { | |
this.nodeHeights = [] | |
this.newHeight = null |
I use VScode with the following extensions:
!function(t){function e(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return t[s].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,s){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=4)}([function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Ease=e.EZCanvas=void 0;var i=n(1),a=s(i),r=n(3),o=n(2),c=s(o),u={inQuad:function(t){return t*t},outQuad:function(t){return t*(2-t)},inOutQuad:function(t){return t<.5?2*t*t:-1+(4-2*t)*t},inCubic:function(t){return t*t*t},outCubic:function(t){return--t*t*t+1},inOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},inQuart:function(t){return t*t*t*t},outQuart:function(t){return 1- --t*t* |