Skip to content

Instantly share code, notes, and snippets.

💻
Building open source tools

Yashu Mittal mittalyashu

💻
Building open source tools
Block or report user

Report or block mittalyashu

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
@mittalyashu
mittalyashu / materialDesignShadowHelper.less
Created Dec 18, 2018 — forked from gefangenimnetz/materialDesignShadowHelper.less
Less css box-shadow helper for cards & modals according to Googles Material Design spec.
View materialDesignShadowHelper.less
/**
* A mixin which helps you to add depth to elements according to the Google Material Design spec:
* http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-dimensionality
*
* Please note that the values given in the specification cannot be used as is. To create the same visual experience
* the blur parameter has to be doubled.
*
* Author: Florian Kutschera (@gefangenimnetz), Conceptboard GmbH (@conceptboardapp)
*
* Example usage:
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@mittalyashu
mittalyashu / cloudSettings
Last active Sep 21, 2019
VS Code Settings
View cloudSettings
{"lastUpload":"2019-09-21T06:47:00.103Z","extensionVersion":"v3.4.2"}
View keybase.md

Keybase proof

I hereby claim:

  • I am mittalyashu on github.
  • I am mittalyashu (https://keybase.io/mittalyashu) on keybase.
  • I have a public key ASAjhv-wcuCHqWCMkIJZ2Jjmgp0TN6c_SKjvRxJ7QqxGGgo

To claim this, I am signing this object:

@mittalyashu
mittalyashu / fetch_data_in_react.js
Created Apr 8, 2018
Fetch Data From RSS Feed In React
View fetch_data_in_react.js
class FetchDataFromRSSFeed extends Component {
constructor() {
super();
this.state = {
recentBlogPost: {
name: '',
url: ''
}
}
}
@mittalyashu
mittalyashu / bcrypt_ext.md
Created Sep 9, 2017
How to fix this issue in Ruby on rails `cannot load such file -- bcrypt_ext`
View bcrypt_ext.md
C:\Users\Administrator>ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]

C:\Users\Administrator>gem list bcrypt

*** LOCAL GEMS ***

bcrypt (3.1.11 x64-mingw32)
View Markdown Cheatsheet.md

#Markdown Cheatsheet Markdown is a short-hand syntax for easily converting text to HTML. Below are some popular examples of Markdown formatting. For more examples reference Markdown Basics for a more detailed overview.

Links This is an example link

Code Wrap your code with 3 backticks (```) on the line before and after. If you specify the language after the first set of backticks, that'll help us with syntax highlighting.

      ```html
@mittalyashu
mittalyashu / syntax.css
Last active Oct 3, 2017
Syntax Highlighting Stylesheet | Give the syntax color to its code.
View syntax.css
/*
* Use the gist to give the color to your code you want to show on the website.
* Use this raw link to import this file to your project.
*
* @import 'https://gist.githubusercontent.com/mittalyashu/f0cfea0d91edc2f5931dff1a5f6cadd0/raw/8cba80a4f2c077a65ef4b621b898d836c49cb99c/syntax.css';
*/
.highlight { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
@mittalyashu
mittalyashu / openwithsublime.md
Last active Jun 17, 2019
Helps to open your files and folders in Sublime Text 1, 2, 3
View openwithsublime.md

NOTE: This is for windows users.

Open regedit.exe

FOR FOLDERS

Navigate to this key using the tree on the right: HKEY_CLASSES_ROOT\Directory\shell\

Create a new key in the shell key with any name like: Sublime or Open with Sublime Text or Sublime Text

You can’t perform that action at this time.