Skip to content

Instantly share code, notes, and snippets.

View kicumkicum's full-sized avatar
📺

Oleg Akinin kicumkicum

📺
View GitHub Profile
counterSlice.js
------------------
import { createSlice, createAsyncThunk } from '@reduxjs/toolkit'
import fakeFetch from './fakeFetch';
export const lazyAdd = createAsyncThunk('counter/lazyAdd',
async (payload, thunkAPI) => {
// throw ('error in thunk!')
const response = await fakeFetch(payload);
return response;

Interesting projects

Warning: весь код был написан преимущественно ночью 💤

React TV Player

https://github.com/kicumkicum/react-tv-player

Маленький и визуально не красивый видео-плеер под Tizen и WebOS. Проэкт-челендж. Хотелось быстро создать кросс-платформенное приложение на React/WebPack используя zombiebox-platforms в качестве абстракций над платформами.

@kicumkicum
kicumkicum / next.sh
Last active June 25, 2020 11:49
next-commit
#!/usr/bin/env bash
if [ -n "$1" ]; then
echo "You supplied the first parameter!"
else
echo "Parameters not supplied."
exit 1
fi
MODULE=$1
{
"name": "PixelHunter",
"version": "5.0.0",
"private": true,
"description": "Личный проект «Пиксель хантер» от HTML Academy",
"scripts": {
"eslint": "eslint ./gulpfile.js js/**/*.js",
"stylelint": "stylelint 'sass/**/*.scss' --syntax scss",
"build": "gulp build",
"start": "gulp serve",
const autoprefixer = require(`autoprefixer`);
const del = require(`del`);
const commonjs = require(`rollup-plugin-commonjs`);
const gulp = require(`gulp`);
const imagemin = require(`gulp-imagemin`);
const plumber = require(`gulp-plumber`);
const postcss = require(`gulp-postcss`);
const minify = require(`gulp-csso`);
const mocha = require(`gulp-mocha`);
const mqpacker = require(`css-mqpacker`);
@kicumkicum
kicumkicum / perfect.php
Created November 2, 2018 08:03 — forked from in4in-dev/perfect.php
PHP VK audio unmask (decode extras)
<?php
//(js -> php) code. letter by letter
global $n, $i, $id;
$n = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN0PQRSTUVWXYZO123456789+/=";
$id = 12345; //YOUR USER ID
$i = [
'v' => function($e) {
return strrev($e);
@kicumkicum
kicumkicum / Инструменты_разработчика_в_SmartTV.md
Last active March 15, 2024 09:17
План доклада об инструментов отладки Smart TV приложений

Идея

Отладка SmartTV больная тема для большинства разработчиков. Мысли о том, что придется делать все в слепую отталкивают разработчиков, что негативно влияет на отрасль SmartTV и Web в целом. Я рассказажу, что не все так плохо и инструменты существуют. А те, которых нет не сложно запилить самому.

Официальные средства

@kicumkicum
kicumkicum / git-tag-delete-local-and-remote.sh
Created July 10, 2017 08:44 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName