Skip to content

Instantly share code, notes, and snippets.

View surajmandalcell's full-sized avatar
🏃‍♂️
Working

Suraj Mandal surajmandalcell

🏃‍♂️
Working
View GitHub Profile
@surajmandalcell
surajmandalcell / firebaseStorageUppload.jsx
Created September 28, 2020 04:50
Firebase storage upload
// Copied from https://github.com/lyhd/reactjs/blob/react-firebase-file-upload/src/index.js
import React, { useState } from "react";
import { render } from "react-dom";
import { storage } from "./firebase";
const ReactFirebaseFileUpload = () => {
const [image, setImage] = useState(null);
const [url, setUrl] = useState("");
const [progress, setProgress] = useState(0);
@surajmandalcell
surajmandalcell / gist:30a162fa7a1f2dfd04315e6b25d1e4f2
Last active April 30, 2020 16:58
List of free courses during covid-19
1. Google Courses: https://learndigital.withgoogle.com/d...
2. UX Design Masterclass: https://uxdesignmasterclass.com ( Code: CARE )
3. Pluralsight: https://app.pluralsight.com
4. Open Learn: https://www.open.edu/openlearn
5. Great Learning: https://www.greatlearning.in/academy

Healthcare

Overall Flow :

https://dribbble.com/shots/11180824-Healthcare-Mobile-App-for-Doctors-and-Patients

(Not great but as it includes mostly login/signup screens) https://dribbble.com/shots/9223937-Doctors-Booking-App-UI/attachments/1267493?mode=media
@surajmandalcell
surajmandalcell / fixFontsMac.txt
Created December 15, 2019 23:42
Fix mac OS font smoothing for non HiDPI monitors
defaults write -g CGFontRenderingFontSmoothingDisabled -bool FALSE
defaults write com.microsoft.VSCode.helper CGFontRenderingFontSmoothingDisabled -bool NO
import React, { createContext, useState } from 'react';
import store from "../../Config/Store";
import fire from "../../Config/Fire";
export const QueryContext = createContext(0);
export const RowContext = createContext(0);
export const DataContext = createContext(0);
fire.auth().onAuthStateChanged(function (user) {
if (user) {
@surajmandalcell
surajmandalcell / reactContextAPI_Example.js
Last active October 29, 2019 04:28
React context api example using hooks (function based components)
// https://youtu.be/6uBgda52yEo
import React, {useState, setState } from 'react';
import { render } from 'react-dom';
export const FruitContext = React.createContext('Apple');
const Index = () => {
const [fruit, setFruit] = useState('Apple');
{"lastUpload":"2021-10-28T07:31:51.114Z","extensionVersion":"v3.4.3"}
@surajmandalcell
surajmandalcell / Activate Office 2019 for macOS VoL.md
Created August 4, 2019 18:22 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@surajmandalcell
surajmandalcell / AdobeFixAMD
Created July 20, 2019 20:34 — forked from XLNCs/AdobeFixAMD
To fix adobe products crashes on AMD hackintosh
___ADOBE CRASH FIX BY XLNC___
USAGE : Open terminal and run the below commands as required.
Photoshop crash fix :-
#PS2018
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x5A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' /Applications/Adobe\ Photoshop\ CC\ 2018/Adobe\ Photoshop\ CC\ 2018.app/Contents/Required/Plug-ins/Extensions/MMXCore.plugin/Contents/MacOS/MMXCore
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x5A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' /Applications/Adobe\ Photoshop\ CC\ 2018/Adobe\ Photoshop\ CC\ 2018.app/Contents/Required/Plug-ins/Extensions/FastCore.plugin/Contents/MacOS/FastCore
#PS2019
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x6A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' /Applications/Adobe\ Photoshop\ CC\ 2019/Adobe\ Photoshop\ CC\ 2019.app/Contents/Required/Plug-ins/Extensions/MMXCore.plugin/Contents/MacOS/MMXCore

Set > about:config?filter=ui.key.menuAccessKeyFocuses to 'false' to disable alt key show menubar action