Skip to content

Instantly share code, notes, and snippets.

View Kuznetsov-Ilia's full-sized avatar
🎯
Focusing

Kuznetsov Ilia Kuznetsov-Ilia

🎯
Focusing
View GitHub Profile
var gulp = require('gulp');
var gutil = require('gulp-util');
var rename = require('gulp-rename');
var log = gutil.log;
gulp.task('default', ['watch']);
/* CONCAT */
var concat = require('gulp-concat');
gulp.task('concat-services', function () {
const PLUGIN_NAME = 'gulp-sprites';
var gutil = require('gulp-util');
var log = gutil.log;
//var PluginError = gutil.PluginError;
var path = require('path');
var sprite = require('node-sprite');
var vow = require('vow');
var exec = require('child_process').exec;
var fs = require('fs');
const PLUGIN_NAME = 'gulp-pngquant';
var through = require('through2');
var gutil = require('gulp-util');
var log = gutil.log;
var PluginError = gutil.PluginError;
var pngquant = require('pngquant');
module.exports = function (options) {
var stream = through.obj(function (file, enc, callback) {
if (file.isNull()) {
# kill metro
Get-AppxPackage -AllUsers
Get-AppxPackage -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online
# kill ntfs features
fsutil behavior set memoryusage 2
fsutil behavior set disable8dot3 1
fsutil behavior set disablelastaccess 1
fsutil behavior set disablecompression 1
fsutil behavior set disableencryption 1
// ==UserScript==
// @name Make youtube pizdato
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.youtube.com/watch*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@Kuznetsov-Ilia
Kuznetsov-Ilia / nginx.conf
Created October 28, 2016 15:34 — forked from phpdude/nginx.conf
Nginx image filter + caching of results.
location /resize {
alias /tmp/nginx/resize;
set $width 150;
set $height 100;
set $dimens "";
if ($uri ~* "^/resize_(\d+)x(\d+)/(.*)" ) {
set $width $1;
set $height $2;
set $image_path $3;
@Kuznetsov-Ilia
Kuznetsov-Ilia / sdcsd
Created December 11, 2020 21:57
Created from Remix Form!
sdcsdc
@Kuznetsov-Ilia
Kuznetsov-Ilia / newww
Created December 11, 2020 21:58
Created from Remix Form!
ascasc