Skip to content

Instantly share code, notes, and snippets.

Vahid Mohammadi gvmohzibat

Block or report user

Report or block gvmohzibat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .prettierrc.json
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 140,
"htmlWhitespaceSensitivity": "ignore",
"useTabs": false,
"quoteProps": "as-needed",
"bracketSpacing": true,
View tsconfig.json for angular
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"@api/*": ["app/api/*"],
"@components/*": ["app/components/*"],
"@dialogs/*": ["app/dialogs/*"],
"@constants/*": ["app/constants/*"],
"@directives/*": ["app/directives/*"],
View cloudSettings
{"lastUpload":"2019-12-08T13:05:21.496Z","extensionVersion":"v3.4.3"}
@gvmohzibat
gvmohzibat / gulpfile.js
Created Sep 16, 2019
## Simple gulpfile.js Simple gulpfile.js that minifies everything and also uses autoprifixer and imagemin ### Usage - Put every file in `src` folder. - Download the `package.json` and `gulpfile.js` provided in comments below and copy them beside t
View gulpfile.js
var gulp = require('gulp'),
del = require('del'),
uglify = require('gulp-uglify'),
minifyCSS = require('gulp-minify-css'),
imagemin = require('gulp-imagemin'),
autoprefixer = require('gulp-autoprefixer'),
plumber = require('gulp-plumber'),
htmlmin = require('gulp-htmlmin'),
cache = require('gulp-cache');
@gvmohzibat
gvmohzibat / settings.txt
Last active Sep 12, 2019
surfing keys chrome extension settings
View settings.txt
unmap("d");
unmap("R");
unmap("E");
unmap("e");
unmap("x");
unmap("gg");
unmap("j");
unmap("/");
unmap("n");
unmap("r");
@gvmohzibat
gvmohzibat / u.bash
Created Sep 5, 2019
clone git repo with a specific user:pass
View u.bash
git remote set-url origin https://name:password@github.com/repo.git
View style.scss
@mixin svg-icon($icon_name) {
width: 16px;
display: inline-block;
&:before {
background: url('/assets/svg/#{$icon_name}');
content: '';
background-size: contain;
padding-bottom: 100%;
display: block;
}
You can’t perform that action at this time.