Skip to content

Instantly share code, notes, and snippets.

View andreystarkov's full-sized avatar
:electron:
<3

Andrei Starcow andreystarkov

:electron:
<3
View GitHub Profile
const data = [
{
name: 'Когда торгуете людьми, много херни с вами может произойти',
tags: ['one', 'two', 'three', 'four', 'five', 'six', 'seven'],
percentage: {
from: 80,
to: 73
}
},
{
const expr = 'Papayas';
// old way
switch (expr) {
case 'Oranges':
console.log('Oranges are $0.59 a pound.');
break;
case 'Apples':
console.log('Apples are $0.32 a pound.');
break;
@andreystarkov
andreystarkov / cloudSettings
Last active December 20, 2021 23:54
VSCode 2018
{"lastUpload":"2019-03-17T08:53:11.830Z","extensionVersion":"v3.2.7"}
{"lastUpload":"2020-11-26T03:35:07.595Z","extensionVersion":"v3.4.3"}
@andreystarkov
andreystarkov / README.md
Created December 14, 2020 15:11 — forked from keiya/README.md
How to broadcast to Icecast2 by using ffmpeg (FLAC,Opus,Vorbis,AAC,MP3/Windows, Mac)

FFMpeg to Icecast2 Streaming Samples

Examples usage of various codecs with FFMpeg.

Samples

  • flac.sh : An Icecast Source Client
    • for Windows (Cygwin is required)
    • and macOS (brew install ffmpeg)
  • another_examples.sh : Samples
  • FFMpeg can push to Icecast2 in various formats: Opus/Vorbis/AAC/MP3
{"lastUpload":"2020-11-30T05:20:47.703Z","extensionVersion":"v3.4.3"}
@andreystarkov
andreystarkov / alsu
Last active November 6, 2020 06:43
alsushechka
jp2a --colors Desktop/2020-11-03\ 01.22.27.jpg
toilet -t -F gay Alsushechka
toilet --metal plushecka
brew install stow figlet toilet
cd ~
git clone https://github.com/tarjoilija/zgen
cd ~
git clone https://github.com/unixorn/zsh-quickstart-kit
cd zsh-quickstart-kit
stow --target=/Users/deo zsh
zsh
import { createReducer, createActions } from 'reduxsauce'
import Immutable from 'seamless-immutable'
import { reject, addIndex, update } from 'ramda'
import { randomHash } from 'Utils'
import { TICKETS_MIN, TICKETS_MAX, MULTIDRAWS_STEPS } from 'Constants/Tickets'
const rejectIndexed = addIndex(reject)
const { Types, Creators } = createActions({
const arr = [
{
name: 'Визуализация пользовательской отчетности ОКО'
tags: ['one', 'two', 'three', 'four', 'five', 'six', 'seven'],
percentage: {
from: 80,
to: 73
}
},
{