Skip to content

Instantly share code, notes, and snippets.

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

Prateek Rathore AndroConsis

🏠
Working from home
View GitHub Profile
@AndroConsis
AndroConsis / gist:b17d1d94deb87478a1284337b4f24de0
Created July 20, 2024 19:09
Implementing a SharePoint File Picker Modal in React using Ant Design
import { useMsal } from '@azure/msal-react';
import { Breadcrumb, Divider, Layout, List, Modal, Space, Typography } from 'antd';
import React, { useEffect, useState } from 'react';
import { Loader } from '../../../components';
import axios from 'axios';
import FolderOutlined from "@ant-design/icons/FolderOutlined";
import InfoCircleOutlined from "@ant-design/icons/InfoCircleOutlined";
import { filterSharepointFilesByType } from '../../../utils/util';
const { Text, Link } = Typography;
Systrace command>
move into android-sdk/platform-tools/systrace
run
$ systrace.py --time=10 -o trace.html sched gfx view -a <package.name />
@AndroConsis
AndroConsis / inshorts.js
Created August 31, 2018 11:41
Inshorts App Animation
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from "react";
import {
StyleSheet,
View,