- https://fishshell.com/ - my default shell, i use theme bobthefish
- https://www.sublimetext.com/ - my default editor
- Material Theme
- Operator font
- Packages: Emmet, Hayaku, SidebarEnhancements, JS Snippets, GSAP Snippets
- Sublime snippet for comments
- Sublime icon
- https://code.visualstudio.com/ - trying to switch, but not yet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File file = new ClassPathResource("logo.png").getFile(); | |
HTTPRequestMultipartBody multipartBody = new HTTPRequestMultipartBody.Builder() | |
.addPart("name", request.getName()) | |
.addPart("file", request.getFile(), request.getFile().getContentType(), request.getFile().getOriginalFilename()) | |
.addPart("file1", file, null , request.getFile().getOriginalFilename()) | |
.build(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dev.varaprasadh.app; | |
import org.springframework.http.MediaType; | |
import org.springframework.web.multipart.MultipartFile; | |
import java.io.ByteArrayOutputStream; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.ObjectOutputStream; | |
import java.math.BigInteger; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ((i=1;i<10000;i++)) | |
do | |
echo 'Thanks Geetha!!! 🤣🤣🤣' | |
sleep 0.25 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ((i=1;i<10000;i++)) | |
do | |
echo 'Hi Swathi!!! 🤣🤣🤣' | |
sleep 0.25 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution { | |
public Node connect(Node root) { | |
if(root == null) return null; | |
Queue<Node> queue = new LinkedList(); | |
queue.add(root); | |
while(queue.size()>0){ | |
int size = queue.size(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Ticket numbers usually consist of an even number of digits. A ticket number is considered lucky if the sum of the first half of the digits is equal to the sum of the second half. | |
Given a ticket number n, determine if it's lucky or not. | |
Example | |
For n = 1230, the output should be | |
isLucky(n) = true; | |
For n = 239017, the output should be |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { ReactElement } from 'react' | |
import { render } from 'react-dom'; | |
interface Props { | |
} | |
function NewTab({}: Props): ReactElement { | |
return ( | |
<div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "3.0.0", | |
"manifest_version": 2, | |
"name": "cat space", | |
"description": "world of cats!", | |
"icons": { | |
"128": "./images/icon.png", | |
"48": "./images/icon.png", | |
"16": "./images/icon.png" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cats", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"dependencies": { | |
"react": "^17.0.2", | |
"react-dom": "^17.0.2", | |
"react-outside-click-handler": "^1.3.0", | |
"styled-components": "^5.3.0" |
NewerOlder