Skip to content

Instantly share code, notes, and snippets.

View Yiin's full-sized avatar
💭
https://twitch.tv/yiin__

Yiin

💭
https://twitch.tv/yiin__
View GitHub Profile
@Yiin
Yiin / day 10.js
Last active December 11, 2020 16:01
list = input.split("\n").sort((a, b) => a - b);
result = list.reduce(
(acc, number) => {
const diff = number - acc.last;
const key = ["one", "two", "three"][diff - 1];
return {
...acc,
[key]: acc[key] + 1,
last: +number,
// https://docs.microsoft.com/en-us/windows/desktop/inputdev/virtual-key-codes
export const VK = {
LBUTTON: 0x01,
RBUTTON: 0x02,
CANCEL: 0x03,
MBUTTON: 0x04,
XBUTTON1: 0x05,
XBUTTON2: 0x06,
DASH: 0xE8,
BACK: 0x08,
import './bindings';
import { inject, injectable } from 'inversify';
import { User } from 'Shared/entity';
import { bind, handleEvent } from '~/container';
import { UserEntityRepository } from './bindings';
import { GameConstants } from '~/constants/game';
import { ServerConstants } from '~/constants/server';
@bind()
@injectable()
This file has been truncated, but you can view the full file.
[{"pos":"1","number":"7492357836","name":"G.","lastname":"DANIKAUSKAS","bdate":"1993","department":"258","info":"iki 2019-02-04 pateikti reikalingus dokumentus Jurbarko KPKP"},{"pos":"2","number":"9487041801","name":"D.","lastname":"VALINČIUS","bdate":"1995","department":"258","info":"iki 2019-02-04 pateikti reikalingus dokumentus Jurbarko KPKP"},{"pos":"3","number":"5867553860","name":"V.","lastname":"TARNAUSKAS","bdate":"1995","department":"217","info":"iki 2019-01-28 pateikti reikalingus dokumentus Kauno RKPKS"},{"pos":"4","number":"7786906318","name":"T.","lastname":"GRIGORAVIČIUS","bdate":"1997","department":"231","info":"iki 2019-02-05 pateikti reikalingus dokumentus Kėdainių KPKP"},{"pos":"5","number":"8119897237","name":"V.","lastname":"MICKA","bdate":"1999","department":"217","info":"iki 2019-01-28 pateikti reikalingus dokumentus Kauno RKPKS"},{"pos":"6","number":"8913016862","name":"K.","lastname":"NAKVOSAS","bdate":"1993","department":"217","info":"iki 2019-01-28 pateikti reikalingus dokumentus Kau
<Card>
<Card.Title>
{ item.name }
</Card.Title>
<Card.Details>
<Card.Details.Block
label={ translate('global.dob__short') }
value={ date(item.year, item.month, item.day) }
/>
<Card.Details.Block
Ciu: @Gyvatė esi??
[2:51 PM] Gyvatė: Esu
[2:51 PM] Ciu: Tu mano miesta pizdini
[2:51 PM] Ciu: :///
[2:51 PM] Ciu: Startego
[2:52 PM] Ciu: Numusei iki 7
[2:52 PM] Ciu: ://
[2:52 PM] Gyvatė: Na jau
[2:52 PM] Ciu: Mhm
[2:52 PM] Gyvatė: Cia mano miestas:)
import update from 'immutability-helper';
const state1 = ['x'];
const state2 = update(state1, {$push: ['y']}); // ['x', 'y']
const player1 = 'Player1'
const player2 = 'Player2'
const isPositionInvalid = (state, x, y) => (
x < 0 || x > 2 || y < 0 || y > 2 || state[x + (3 * y)]
)
const updateState = (state, x, y, player) => {
state[x + (3 * y)] = player
return state

Things we added

  • 51e59e20e7b57c477e3ec8f5d1bde2d14b88d3d5 You can now define the previous and next icons using append-icon or prepend-icon on v-date-picker

Things we fixed

  • #2670 Fixed a bug where selection controls (v-checkbox, v-radio, v-switch) were clickable when using the disabled prop
  • #2722 Fixed a bug where v-text-field was not properly converting an unmasked value to its masked variant when using the return-masked-value prop on mount
  • #2746 Fixed a bug where the v-navigation-drawer was not properly aligning the icon for v-list-group when using the mini-variant prop
  • #2751 Fixed a bug where v-jumbotron was not properly scaling its image (used in v-carousel-item)
  • #2760 Updated the menuable mixin (v-tooltip, v-menu, etc) to properly calculated its activators margin to allow for better positioning, removed defined margin on the actual v-menu component
  • #2762 Fixed a bug where the close icon was not styling properly for v-alert whe

Failų ir jų paskirties aprašymas

database.sql

MySQL duomenų bazės struktūra.

index.php

Pagrindinis puslapis, kuriame rodomas prisijungusio darbuotojo vardas ir pavardė, bei bagažo registro įrašų lentelė.