Skip to content

Instantly share code, notes, and snippets.

View vishrayne's full-sized avatar

Vishnu Ravi vishrayne

View GitHub Profile
@vishrayne
vishrayne / README-Template.md
Created July 22, 2020 06:51 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@vishrayne
vishrayne / kb.json
Last active November 11, 2018 15:06
vscode custom keyboard binding
[
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
@vishrayne
vishrayne / CubicBezierInterpolator.java
Last active August 29, 2015 14:27 — forked from chris95x8/CubicBezierInterpolator.java
Bunch of interpolators for awesome animations in Android!
import android.graphics.PointF;
import android.view.animation.Interpolator;
/**
* From https://github.com/codesoup/android-cubic-bezier-interpolator
* Derived from: https://github.com/rdallasgray/bez
*/
public class CubicBezierInterpolator implements Interpolator {
package com.materialdesign.chris.materialdesignexperimenting;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.view.ViewAnimationUtils;
Sample uses dartpad as the REPL/IDE. See Dart tour example -- see https://dartpad.dartlang.org/c736f05fd84997783114
@vishrayne
vishrayne / gist:7314659
Created November 5, 2013 06:10
nginx conf
nginx -V
************
nginx version: nginx/1.4.2
built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-cc-opt=-Wno-error --add-module=/usr/local/rvm/gems/ruby-2.0.0-p247/gems/passenger-4.0.10/ext/nginx --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --with-http_stub_status_module --http-log-path=/var/log/nginx/access.log --with-http_realip_module --add-module=/usr/local/nginx/headers-more-nginx-module-0.18rc1
**************
nginx.conf
***********