h - Move left
j - Move down
k - Move up
l - Move right
$ - Move to end of line
0 - Move to beginning of line (including whitespace)
This file contains hidden or 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
| listClass = '.ListPage__list___24Dl6'; | |
| priceClass = 'WideVenueBanner__roughDelivery___2K1oP'; | |
| function sortByPrice(aNode, bNode) { | |
| const aText = aNode.getElementsByClassName(priceClass)[0].innerText; | |
| const bText = bNode.getElementsByClassName(priceClass)[0].innerText; | |
| return aText.localeCompare(bText); | |
| } | |
| function sortCards() { |
This file contains hidden or 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
| [ | |
| { | |
| "key": "ctrl+p", | |
| "command": "-workbench.action.quickOpen" | |
| }, | |
| { | |
| "key": "ctrl+p", | |
| "command": "-workbench.action.quickOpenNavigateNextInFilePicker", | |
| "when": "inFilesPicker && inQuickOpen" | |
| }, |
This file contains hidden or 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
| @echo off | |
| color 4F | |
| title Tetris by | |
| setlocal enabledelayedexpansion | |
| mode con: cols=32 lines=35 | |
| set "hashBar=############" | |
| set "ESpace= " | |
| set "LowestYFig=1" |
This file contains hidden or 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
| import random | |
| allbank = 0 | |
| alliter = 0 | |
| allmax = 0 | |
| itt = 0 | |
| it = 10000 | |
| for i in range(0, it): | |
| itt += 1 |
This file contains hidden or 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
| var count = $(".answer").length; | |
| var i = 0; | |
| $(".answer").each(function () { | |
| i++; | |
| $(this).find('.answer-item').not('[type=hidden]').children('input').prop('checked', true); | |
| if (i == count) { | |
| $('button:contains("Tęsti"), button:contains("Pateikti")').trigger('click'); | |
| } | |
| }); |
This file contains hidden or 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
| <?php | |
| /* @var $this yii\web\View */ | |
| /* @var $form yii\bootstrap\ActiveForm */ | |
| /* @var $model app\models\LoginForm */ | |
| use yii\helpers\Html; | |
| use yii\bootstrap\ActiveForm; | |
| $this->title = 'Register'; | |
| $this->params['breadcrumbs'][] = $this->title; |
This file contains hidden or 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
| <?php | |
| /* @var $this yii\web\View */ | |
| /* @var $form yii\bootstrap\ActiveForm */ | |
| /* @var $model app\models\LoginForm */ | |
| use yii\helpers\Html; | |
| use yii\bootstrap\ActiveForm; | |
| $this->title = 'Login'; |
This file contains hidden or 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
| SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
| SET time_zone = "+00:00"; | |
| -- | |
| -- Database: `hndatabase` | |
| -- | |
| -- -------------------------------------------------------- | |
| -- |
This file contains hidden or 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
| # App | |
| using System; | |
| using ClassLibrary1; | |
| namespace ConsoleApp1 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
NewerOlder