Skip to content

Instantly share code, notes, and snippets.

View PavanGangireddy's full-sized avatar

Pavan Gangireddy PavanGangireddy

View GitHub Profile
testimonialData: [
{
id: 0,
text: "At Startup School, I learned how to inculcate entrepreneur mindset in everyone. It is about taking innovations to people innovatively and creatively.",
thumbnailUrl: "https://s3-ap-southeast-1.amazonaws.com/ibhubs-media-files/startupschool/version3+Images/testimonial+pics/Pavan+Dharma_SS17HYD01-0902.jpg",
name: "Pavan Dharma",
startupName: "RooT Technologies"
},
{
id: 1,
@PavanGangireddy
PavanGangireddy / cloudSettings
Created October 11, 2017 07:23
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-10-11T07:23:27.122Z","extensionVersion":"v2.8.2"}
@PavanGangireddy
PavanGangireddy / Setup Method 1.md
Last active December 14, 2017 03:58
Regarding Editor configuration for VSCode

Setup Method 1

  • On Opening VS Code, you will find a bar on the left side with four icons, press the last icon in these (extensions pop up opens)

  • Search for extension named SettingsSync and install the one authored by Shan Khan

  • Restart VS Code

  • Press Shift + Alt + D and enter the following gistID:

{
"window.zoomLevel": 0,
"editor.renderWhitespace": "all",
"editor.formatOnSave": true,
"editor.tabCompletion": "on",
"javascript.validate.enable": false,
"javascript.format.enable": false,
"files.associations": {
"*.js": "javascriptreact",
"*.tsx": "typescriptreact",
* The below words whether they are used as a note, component name, model name, store name should be in right casing,
based on the context, across web and app projects.
Lower camelCase - Pascal Case
signin - Signin
signout - Signout
checklist - Checklist
logout - Logout
login - Login
Work in progress
Here is the curated list of points from my experience segregated for greater good over the time
1. While searching for a file in vscode
2. Donot delete node_modules using mouse clicks but use rm -rf command from command line
3. Typing keyboard should be done with out seeing it.
@PavanGangireddy
PavanGangireddy / gist:77289f466c63cde7c3966b2a1ee3621e
Created April 13, 2020 05:49
Automatically use .yvmrc, .npmrc upon entering a directory - WIP
References:
https://stackoverflow.com/questions/23556330/run-nvm-use-automatically-every-time-theres-a-nvmrc-file-on-the-directory/39519460#39519460
https://asciinema.org/a/191898
https://github.com/tophat/yvm/issues/136
https://github.com/tophat/yvm/blob/8e1f7ed3b38016abbc3e9a7759bf73a7346c983a/src/util/version.js
https://stackoverflow.com/questions/1880198/how-to-execute-shell-command-in-javascript
@PavanGangireddy
PavanGangireddy / Automatically use .yvmrc or .nvmrc upon entering a project directory
Created May 2, 2020 14:44
Automatically use .yvmrc or .nvmrc upon entering a project directory
# Problem:
- When working with multiple projects that utilize different versions of yarn, npm,
I always have to type `yvm use` in order to have `yvm set` the correct version of yarn that my project has.
# Solution:
- When I switch into a directory that already has a .nvmrc file, nvm automatically should run `nvm use`
so that I don't have to do it manually.

FAQ

Which browser should I use?

It is highly recommeded to use chrome to complete this coding practice.

Which code editor should I use for exercise? VS Code.
Steps:
- Follow Steps mentioned in Official Doc
- https://docs.flutter.dev/development/tools/vs-code
Install the below extensions:
- dart-code.flutter
- nash.awesome-flutter-snippets
- robert-brunhage.flutter-riverpod-snippets
- jeroen-meijer.pubspec-assist