Skip to content

Instantly share code, notes, and snippets.

View kissarat's full-sized avatar
🏠
Working from home

Taras Labiak kissarat

🏠
Working from home
View GitHub Profile
const equals = (a, b) = a[0] == b[0] && a[1] === b[1]
const zone = [-1, 0, 1]
function *around([x, y]) {
for (const i of zone) {
for (const j of zone) {
if (0 === i && 0 === y) {
continue
}
function $(...params) {
return [...params]
}
class NameLocation {
constructor(root, namespace = []) {
this.root = root
this.namespace = namespace
}
}
# 8ffbd6c3789843cb024a3ee425ac4cc0482eaeb7
apt-get update && apt-get install -y build-essential
apt-get install -y libssl-dev libqrencode-dev
apt-get install -y libboost-all-dev
apt-get install -y libdb-dev libdb++-dev
apt-get install -y qt4-qmake libqt4-dev
qmake
make -j2
@kissarat
kissarat / homebrew-php-list.txt
Created May 17, 2022 21:37
List of PHP dependencies of Homebrew `php` package installation
aom
apr
apr-util
argon2
aspell
autoconf
brotli
curl
fontconfig
freetds
@kissarat
kissarat / settings.json
Created May 17, 2022 11:10
Visual Studio Code settings located in .vscode/settings.json in a project or in user settings
{
"editor.fontSize": 13,
"editor.formatOnSave": true,
"editor.rulers": [
100
],
"emmet.excludeLanguages": [
"markdown"
],
"files.autoSave": "onFocusChange",
@kissarat
kissarat / homebrew-list.txt
Created May 11, 2022 11:18
List of my installed macOS software using Homebrew
aom
augeas
bash
bdw-gc
berkeley-db
brotli
c-ares
ca-certificates
cloc
dialog
package profitworld;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
version: '3'
services:
assistant:
container_name: assistant
image: "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable"
volumes:
- /root/assistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
const Op = {
Left: '<',
Right: '>',
Inc: '+',
Dec: '-',
Output: '.',
Input: ',',
Start: '[',
End: ']'
}
@kissarat
kissarat / python-and-javascript.md
Created October 27, 2021 20:30
JavaScript for Python developer

JavaScript for Python developer

Javascript is dynamically typed language (same as Python) with C/C++ compaterble syntax that look at the same for Java and C# also

Boolean data type

let trueValue = true
let falseValue = false
trueValue = True