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
:root { | |
--nord0: #2E3440; | |
--nord1: #3B4252; | |
--nord2: #434C5E; | |
--nord3: #4C566A; | |
--nord4: #D8DEE9; | |
--nord5: #E5E9F0; | |
--nord6: #ECEFF4; | |
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
html.simplify.darkTheme .zA .a4W .at[style*="#ddd"] { | |
background-color: #3B4252 !important; | |
} | |
html.simplify.boldHighlight.darkTheme { | |
--color-focused: #5E81AC; | |
} | |
html.simplify.darkTheme .yO.x7, | |
html.simplify.darkTheme .x7 { | |
background: #434C5E; | |
} |
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 java.util.concurrent.TimeUnit; | |
/** | |
* Simple Java Program to show how to execute threads in a particular order. You | |
* can enforce ordering or execution sequence using Thread.join() method in | |
* Java. * * @author Javin Paul | |
*/ | |
public class JoinDemo { |
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
Stream.of(true, false) | |
.map(b2 -> Stream.of(true, false) | |
.map(b3 -> List.of(b2, b3)) | |
.collect(Collectors.toList())) | |
.flatMap(Collection::stream) | |
.collect(Collectors.toList()); | |
// [[true, true], [true, false], [false, true], [false, false]] | |
Stream.of(true, false) |
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
" Move visual selection | |
vnoremap J :m '>+1<cr>gv=gv | |
vnoremap K :m '<-2<cr>gv=gv |
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
term_.prefs_.set('font-family', '"Iosevka Nerd", monospace'); | |
term_.prefs_.set('user-css', 'https://cdn.jsdelivr.net/gh/gchiam/[email protected]/css/iosevka/iosevka-light-nerd-font.css'); |
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
/* Extracted from https://www.youtube.com/watch?v=xF0rupA848E */ | |
class Resource { | |
public Resource() { | |
System.out.println("created..."); | |
} | |
public Resource op1() { | |
System.out.println("op1..."); | |
return this; |
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
MAPPING = { | |
'{': '}', | |
'(': ')', | |
'[': ']', | |
} | |
def is_open(c): | |
return c in MAPPING | |
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
@font-face { | |
font-family: "Iosevka Nerd"; | |
font-weight: normal; | |
font-style: normal; | |
src: url("https://cdn.jsdelivr.net/gh/ryanoasis/[email protected]/patched-fonts/Iosevka/Extra-Light/complete/Iosevka%20Term%20Extralight%20Nerd%20Font%20Complete%20Mono.ttf") format('truetype'); | |
} | |
@font-face { | |
font-family: "Iosevka Nerd"; | |
font-weight: normal; | |
font-style: italic; |
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
@font-face { | |
font-family: "Fura Code Nerd"; | |
font-weight: normal; | |
src: url("https://cdn.jsdelivr.net/gh/ryanoasis/[email protected]/patched-fonts/FiraCode/Light/complete/Fura%20Code%20Light%20Nerd%20Font%20Complete%20Mono.otf") format('opentype'); | |
} | |
@font-face { | |
font-family: "Fura Code Nerd"; | |
font-weight: bold; | |
src: url("https://cdn.jsdelivr.net/gh/ryanoasis/[email protected]/patched-fonts/FiraCode/Medium/complete/Fura%20Code%20Medium%20Nerd%20Font%20Complete%20Mono.otf?raw=true") format('opentype'); | |
} |
NewerOlder