Skip to content

Instantly share code, notes, and snippets.

View jitendravyas's full-sized avatar

Jitendra Vyas jitendravyas

View GitHub Profile
@jasonhejna
jasonhejna / 4k_website_tester.html
Last active April 21, 2023 22:36
Test a website in 4k resolution without a 4k monitor
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>4k website tester</title>
<style>
iframe:focus {
outline: none;
}
iframe{
@ttscoff
ttscoff / gifsicle.sh
Last active November 25, 2015 16:36
% brew install gifsicle
# modify colors as needed, it will warn you if you specify more than necessary
% gifsicle --colors 128 -O3 -o output.gif input.gif
@kidGodzilla
kidGodzilla / responsive-text.css
Last active August 29, 2015 14:27
Simple, declarative responsive text classes
/* Responsive text */
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
@media (max-width: 768px) {
.text-left-xs { text-align: left; }
.text-right-xs { text-align: right; }
.text-center-xs { text-align: center; }
@Integralist
Integralist / docker-machine-mac-osx.md
Last active May 3, 2019 12:05
Docker Machine on Mac OS X

VirtualBox

  • https://www.docker.com/toolbox
  • docker-machine create --driver virtualbox dev
  • docker-machine env dev (add values to ~/.zshrc)
    • e.g. echo eval "$(docker-machine env dev)" >> ~/.zshrc
  • docker-machine ls
  • docker ps (might need to re-source .zshrc file; e.g. . ~/.zshrc)
  • docker run hello-world
  • docker-machine ip dev
@vmbrasseur
vmbrasseur / negotiation.markdown
Last active April 24, 2018 17:20
Negotiation Articles/Resources
@mrmrs
mrmrs / front-end-testing.md
Last active April 7, 2016 21:41
Thoughts on front-end testing

UI development as a first-class citizen

The single hardest part of front-end development at scale is making changes to code and understanding all of the visual and behavioral effects that will occur as a result.

When you build a component, tests should be written that expose each state a component can be in. This test should generate a static html file and a corresponding image for every discrete state a component can be in.

@iambibhas
iambibhas / food_delivery_startups
Last active June 26, 2017 09:34
Food delivery startups in Bangalore
brekkie.in
chefensa.co.in
chefkraft.com
dazo.in
delyver.com
dinerdeliver.com
dropkaffe.com
eatfresh.com
eatloapp.com
eatongo.in
@Vestride
Vestride / encoding-video.md
Last active April 24, 2024 09:59
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@matthillco
matthillco / gulpfile.js
Created April 24, 2015 09:03
Gulp build process for web assets [2015-04-24]
/* Plugins used by this project
--------------------------------------------------------------------------------------
Plugins loaded here and assigned to reference variables
-------------------------------------------------------------------------------------- */
var gulp = require('gulp');
var sass = require('gulp-sass');
var sourcemaps = require('gulp-sourcemaps');
var autoprefix = require('gulp-autoprefixer');
var minifycss = require('gulp-minify-css');
@serrynaimo
serrynaimo / gist:faeec7f3c1d55e300fa1
Last active March 29, 2016 08:45
Interesting UX resources