Skip to content

Instantly share code, notes, and snippets.

View abinashpanda's full-sized avatar
🏠
Working from home

Abinash Panda abinashpanda

🏠
Working from home
  • Bangalore, India
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
<link
href="https://fonts.googleapis.com/css?family=Roboto"
rel="stylesheet"
{"v":"4.5.9","fr":25,"ip":0,"op":229,"w":500,"h":500,"ddd":0,"assets":[],"layers":[{"ddd":0,"ind":0,"ty":4,"nm":"Beerglass","ks":{"o":{"a":0,"k":10},"r":{"a":0,"k":0},"p":{"a":0,"k":[379.5,270.781,0]},"a":{"a":0,"k":[8191.5,82.75,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.644,"y":0},"n":"0p833_0p833_0p644_0","t":12,"s":[{"i":[[-2.5,0],[0,0],[0.572,-5.313],[2.347,-27.261],[1.586,-18.569],[0.083,-1.081],[3.5,0],[0,0],[0.25,2.5],[2.158,25.715],[1.538,18.342],[0.188,2.154]],"o":[[0,0],[2.75,0],[-0.286,2.656],[-1.723,20.011],[-1.868,21.864],[-0.25,3.25],[0,0],[-3.75,0],[-0.092,-0.92],[-1.51,-17.996],[-2.238,-26.701],[-0.5,-5.75]],"v":[[-58.958,-82.75],[50.792,-82.75],[56.636,-76.5],[52.019,-23.758],[46.792,37.223],[43.435,76.719],[38.542,82.75],[-46.708,82.75],[-51.708,78.25],[-55.673,31.213],[-60.446,-25.724],[-64.708,-76.5]],"c":true}],"e":[{"i":[[-2.5,0],[0,0],[0.572,-5.313],[2.347,-27.261],[1.586,-18.569],[0.083
export default class App extends React.Component {
render() {
const INPUT_RANGE = [0, MOVE_STOP, TRANSFORM_STOP, 1];
const INITIAL_MENU_CONTAINER_OPACITY = 0;
const FINAL_MENU_CONTAINER_OPACITY = 1;
const INITIAL_MENU_CONTAINER_SCALE = 0.95;
const FINAL_MENU_CONTAINER_SCALE = 1;
const menuContainerOpacity = this.animationProgress.interpolate({
class FabTransition extends React.Component {
render() {
const INPUT_RANGE = [0, MOVE_STOP, TRANSFORM_STOP, 1];
const FAB_CONTAINER_PADDING = 8;
const INITIAL_FAB_CONTAINER_WIDTH = FAB_SIZE + FAB_CONTAINER_PADDING;
const INITIAL_FAB_CONTAINER_HEIGHT = FAB_SIZE + FAB_CONTAINER_PADDING;
const INITIAL_FAB_CONTAINER_POSITION_RIGHT = 16;
const INTIAL_FAB_CONTAINER_POSITION_BOTTOM = 16;
const MOVE_STOP = 0.2;
const TRANSFORM_STOP = 0.6;
const ANIMATION_DURATION = 750;
const ANIMATION_EASING = Easing.bezier(0.4, 0.0, 0.2, 1);
class FabTransition extends React.Component {
animationProgress = new Animated.Value(0);
render() {
const INITIAL_FAB_POSITION_RIGHT = 16;
import React from 'react';
import {
StyleSheet,
View,
Platform,
TouchableOpacity,
TouchableNativeFeedback,
} from 'react-native';
const FAB_SIZE = 56;
import React from 'react';
import { StyleSheet, View } from 'react-native';
import { MaterialIcons } from '@expo/vector-icons';
const FAB_SIZE = 56;
const ICON_SIZE = 24;
const Fab = () => (
<View style={styles.container}>
<MaterialIcons name="share" size={ICON_SIZE} color="#fff" />
@abinashpanda
abinashpanda / HashedMultilabelModel.cpp
Created July 14, 2014 14:47
Multi-processing Multi-Label Models
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Copyright(C) 2014 Abinash Panda
* Written(W) 2014 Abinash Panda
*/
#include <shogun/features/DotFeatures.h>
#include <shogun/features/SparseFeatures.h>
#include <shogun/lib/Hash.h>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.