Skip to content

Instantly share code, notes, and snippets.

View nik-1207's full-sized avatar
🎯
Focusing

NIKHIL MOHAN nik-1207

🎯
Focusing
View GitHub Profile
@nik-1207
nik-1207 / dev
Last active November 9, 2023 05:27
{"name":"Nik-1207","settings":"{\"settings\":\"{\\n \\\"workbench.colorTheme\\\": \\\"Visual Studio Dark\\\",\\n \\\"git.confirmSync\\\": false,\\n \\\"git.autofetch\\\": true,\\n \\\"[typescript]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"vscode.typescript-language-features\\\"\\n },\\n \\\"[typescriptreact]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"vscode.typescript-language-features\\\"\\n },\\n \\\"[javascript]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"vscode.typescript-language-features\\\"\\n },\\n \\\"[json]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"vscode.json-language-features\\\"\\n },\\n \\\"[jsonc]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"vscode.json-language-features\\\"\\n },\\n \\\"githubPullRequests.pullBranch\\\": \\\"never\\\",\\n \\\"explorer.confirmDelete\\\": false,\\n \\\"tabnine.experimentalAutoImports\\\": true,\\n \\\"editor.tokenColorCustomizations\\\": {\\n \\\"textMateRules\\\": [\\n {\\n \\\"scope\\\": [\\n
@nik-1207
nik-1207 / ts cheatsheet
Last active September 18, 2021 06:26
Cheatsheet for ts
/*Compilation */
tsc filename.ts //to compile a ts file
tsc filename.ts -w //to compile a ts file with watch flag
/*Project configuration*/
"outDir":"path" //add in tsconfig in compiler options
"rootDir":"path"//add tsconfig in ccompiler options
"include":["foldername"] before last closing parenthesis add this line
@nik-1207
nik-1207 / App.java
Last active July 15, 2020 10:31
I was building parse starter project , parse hosted on AWS. I added parse SDK following instructions on "https://github.com/parse-community/Parse-SDK-Android" Please guide me how to send objects to my parse server I tried App.java code to initialize parse and Main activity.java code to generate and send objects. Also tell where to find applicat…
package com.example.parse_starter_project;
import com.parse.Parse;
import android.app.Application;
public class App extends Application {
@Override
public void onCreate() {
super.onCreate();
Parse.initialize(new Parse.Configuration.Builder(this)