Skip to content

Instantly share code, notes, and snippets.

View matrunchyk's full-sized avatar
🇺🇦
If you want to go fast, go alone. If you want to go far, bring others along.

Serhii Matrunchyk matrunchyk

🇺🇦
If you want to go fast, go alone. If you want to go far, bring others along.
View GitHub Profile
// ==UserScript==
// @name Check IRCC Availability
// @description Check IRCC Availability
// @version 2.3.0
// @namespace https://gist.github.com/matrunchyk/58ba2f38a2a5b4defc82238b6758705b
// @icon https://store.steampowered.com/favicon.ico
// @match https://store.steampowered.com/explore*
// @grant none
// ==/UserScript==

DRUM SEQUENCER w/ SAMPLE PAD

Just lay out your beat and press "Q, W, E or R" for live sample playback!

A Pen by Jacob Kucera on CodePen.

License.

<!DOCTYPE html>
<html>
<head>
<title>Мій перший Vue додаток</title>
<script src="https://unpkg.com/vue"></script>
</head>
<body>
<div id="app">
{{ message }}
</div>
@matrunchyk
matrunchyk / gist:9faccda5f24a86ee3dbc6c4337951030
Last active March 12, 2019 23:26
Working example of `vue.config.js` for vue-cli-3 with electron-plugin support (https://github.com/nklayman/vue-cli-plugin-electron-builder), GraphQL and Stylus
const path = require('path');
function resolve(dir) {
return path.join(__dirname, dir);
}
module.exports = {
pluginOptions: {
graphqlMock: true,
apolloEngine: true,
@matrunchyk
matrunchyk / beanstalkd.config
Last active August 8, 2017 22:19 — forked from broklyngagah/beanstalkd.config
beanstalkd.config
sources:
/tmp: https://github.com/kr/beanstalkd/archive/v1.10.tar.gz
commands:
01_make_beanstalkd:
cwd: /tmp/beanstalkd-1.10
command: make
02_install_beanstalkd:
cwd: /tmp/beanstalkd-1.10
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
},
env: {
browser: true,
@matrunchyk
matrunchyk / index.js
Created March 27, 2017 22:44
Laravel + VueJS + Karma
// This file is specified to load ing karma.conf.js (Files section)
// @see https://gist.github.com/matrunchyk/a79accea739f586074e005e0542200ea
//
// Polyfill fn.bind() for PhantomJS
/* eslint-disable no-extend-native */
// Function.prototype.bind = require('function-bind');
require('babel-polyfill');
// require all test files (files that ends with .spec.js)
const testsContext = require.context('./specs', true, /\.spec$/);
@matrunchyk
matrunchyk / karma.conf.js
Last active March 27, 2017 22:46
Laravel + VueJS + Karma
const webpackConfig = require('../../../../../node_modules/laravel-mix/setup/webpack.config');
// const path = require('path');
// safari >=4
// no need for app entry during tests
delete webpackConfig.entry;
module.exports = (config) => {
// noinspection ES6ConvertVarToLetConst
Route::get('/js/lang.js', function () {
$lang = config('app.locale');
$files = glob(resource_path('lang/' . $lang . '/*.php'));
$strings = [];
foreach ($files as $file) {
$name = basename($file, '.php');
$strings[$name] = require $file;
}
@matrunchyk
matrunchyk / # php70 - 2016-09-12_13-54-43.txt
Created September 12, 2016 11:01
php70 (homebrew/php/php70) on Mac OS X 10.12 - Homebrew build logs
Homebrew build logs for homebrew/php/php70 on Mac OS X 10.12
Build date: 2016-09-12 13:54:43