Skip to content

Instantly share code, notes, and snippets.

View abdobargush's full-sized avatar
🌒

Abdulaziz Bargush abdobargush

🌒
View GitHub Profile
n = gets.to_i
x = gets.split(' ').map(&:to_i)
y = gets.split(' ').map(&:to_i)
l = []
x.each do |i|
if i > 0 && !l.include?(i)
l.push(i)
end
end
@abdobargush
abdobargush / gulpfile.js
Created March 6, 2018 19:42 — forked from atelic/gulpfile.js
Basic gulpfile for minify and concat css and javascript
/*
Before using make sure you have:
npm install --save-dev gulp gulp-minify-css gulp-concat gulp-uglify gulp-autoprefixer gulp-sass
Make sure to change the directory names in the default watch function to the CSS/SCSS/SASS directories you are using so it reloads
*/
var gulp = require('gulp'),
minifyCSS = require('gulp-minify-css'),
concat = require('gulp-concat')