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 / submime_text3_settings_mac.txt
Last active February 8, 2021 13:35
submime text settings mac
{
"color_scheme": "Packages/ayu/ayu-dark.sublime-color-scheme",
"font_face": "Operator Mono Medium",
"font_size": 13,
"hot_exit": true,
"ignored_packages":
[
"Vintage"
],
"open_files_in_new_window": false,
@surajmandalcell
surajmandalcell / name.js
Created November 10, 2020 11:04 — forked from tkon99/name.js
Random Name Generator for Javascript
/*
(c) by Thomas Konings
Random Name Generator for Javascript
*/
function capFirst(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
function getRandomInt(min, max) {
@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