Skip to content

Instantly share code, notes, and snippets.

View varun-raj's full-sized avatar

Varun Raj Manoharan varun-raj

View GitHub Profile
@varun-raj
varun-raj / TEST
Created June 16, 2021 10:16
TEST
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="telephone=no" name="format-detection" />
<title></title>
<style data-premailer="ignore">
@media screen and (max-width: 600px) {
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce
sudo usermod -aG docker ${USER}
su - ${USER}
sudo usermod -aG docker deploy
sudo mkdir /opt/oracle
sudo chown -R $USER:$USER /opt/oracle
cd /opt/oracle
wget https://github.com/bumpx/oracle-instantclient/raw/master/instantclient-basiclite-linux.x64-18.3.0.0.0dbru.zip
sudo apt-get install unzip
sudo apt-get install libaio1
unzip instantclient-basiclite-linux.x64-18.3.0.0.0dbru.zip
@varun-raj
varun-raj / ExtendedSearchBarRenderer.cs
Created December 28, 2018 12:48 — forked from xleon/ExtendedSearchBarRenderer.cs
Xamarin.Forms renderer to hide the "Cancel" button of a SearchBar on iOS
using System;
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
using UIKit;
using System.Diagnostics;
[assembly: ExportRenderer(typeof(SearchBar), typeof(Namespace.iOS.Renderers.ExtendedSearchBarRenderer))]
namespace Namespace.iOS.Renderers
{
@varun-raj
varun-raj / k.json
Last active October 16, 2017 09:32
{
"swagger": "2.0",
"info": {
"version": "0.2.0",
"title": "SSMS Worker API"
},
"host": "18.194.193.140:3001",
"paths": {
"/api/systemtoken": {
"post": {
{
"swagger": "2.0",
"info": {
"version": "0.1.0",
"title": "SSMS Worker API"
},
"host": "34.250.112.30:3001",
"paths": {
"/api/systemtoken": {
"post": {
var cycles = [
{
id: 1,
name: "Cycle 1",
start_date: "01/01/2017",
end_date: "02/28/2017",
},
{
id: 2,
var data = [
{
id: 1,
title: "Make significant improvements in the UI/UX Design Process Make significant improvements in the UI/UX Design Process",
start_date: "08/08/2016",
end_date: "03/09/2017",
value: 67,
term: "Short Term",
completion_percentage: 29,
color: "#770051",
@varun-raj
varun-raj / config_object.js
Last active November 17, 2019 07:54
Gantt Chart Demo
var config = {
data: data, // Your actuall data
element: "#Chart", // The element for rendering the chart
box_padding: 10, // Padding for the blocks
metrics: {type: "sprint", year: 2017, cycles: cycles}, // Type of gantt
onClick: function(data) {
console.log(data); // Onclick of each node
},
onEmptyButtonClick: function() {
console.log("Empty Clicked");
@varun-raj
varun-raj / .block
Last active July 9, 2020 04:41
Interactive Gantt Chart
border: no