Skip to content

Instantly share code, notes, and snippets.

View antmelnyk's full-sized avatar
🧅
БНР буде вільною

Anton Melnyk antmelnyk

🧅
БНР буде вільною
View GitHub Profile
@mauriciomassaia
mauriciomassaia / tween-color.js
Created April 19, 2018 03:42
GSAP + ColorPropsPlugin + Pixi.js
import { TweenMax } from 'gsap'
import 'gsap/ColorPropsPlugin'
const g = new Graphics()
g.beginFill(color, alpha)
g.drawRect(x, y, width, height)
g.endFill()
container.addChild(g)
TweenMax.to(g, 0.5, {colorProps: {tint: 0x00aaff, format: 'number'}})
@cjus
cjus / .docker_aliases
Last active July 13, 2023 23:50
Docker aliases
#!/bin/sh
alias dm='docker-machine'
alias dmx='docker-machine ssh'
alias dk='docker'
alias dki='docker images'
alias dks='docker service'
alias dkrm='docker rm'
alias dkl='docker logs'
alias dklf='docker logs -f'
@CrockAgile
CrockAgile / float_arcade.md
Last active December 27, 2022 00:47
Floating Point Arcade

Floating Point Arcade

![Twitter Follow][twitter]

A Shady Coin Toss

A shady game master approaches...

Hey there! You look like you would enjoy a good game of chance.
@dharmx
dharmx / feline.lua
Last active July 22, 2024 08:35
Minimal feline configuration.
local present, feline = pcall(require, "feline")
if not present then return end
-- Customizations {{{
local theme = {
aqua = "#7AB0DF",
bg = "#1C212A",
blue = "#5FB0FC",
cyan = "#70C0BA",
darkred = "#FB7373",
@Saluev
Saluev / emoji.py
Created December 10, 2023 17:17
Emoji regular expression for Python
"""
Regular expressions for matching emoji sequences.
For parsing single emoji, use either
re.match(EMOJI_SEQUENCE, string)
# or
EMOJI_REGEXP.match(string)
To match multiple emojis or custom patterns, insert `EMOJI_SEQUENCE` into pattern: