This file contains hidden or 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
| { | |
| "servers":[ | |
| "context7":{ | |
| "type":"http", | |
| "url":"https://mcp.context7.com/mcp" | |
| }, | |
| "sequentialthinking":{ | |
| "command":"npx", | |
| "args":[ | |
| "-y", |
This file contains hidden or 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
| CompileDaemon -build="go build -o main" -command=./main |
This file contains hidden or 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
| let numbers = vec![1, 2, 3, 4, 5]; | |
| let sum: i32 = numbers.iter().sum(); | |
| println!("Sum: {}", sum); // Prints: Sum: 15 |
This file contains hidden or 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
| let owned_str = String::from("42"); | |
| let num: i32 = owned_str.parse().unwrap(); |
This file contains hidden or 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
| let chars = vec!['a', 'b', 'c']; | |
| for (idx, char) in chars.into_iter().enumerate() { | |
| println!("Index: {}, Char: {}", idx, char); | |
| } |
This file contains hidden or 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
| const toggleBreaks = true; | |
| const leftBars = 15; | |
| const rightBars = 15; | |
| const volumeThresh = 20; | |
| const highUsePivot = pivotHigh(leftBars, rightBars, 1); | |
| const lowUsePivot = pivotLow(leftBars, rightBars, 1); | |
| const r1 = plot(highUsePivot, { | |
| color: hasChanged(highUsePivot) ? null : '#FF0000', |
This file contains hidden or 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 re | |
| import scrapy | |
| from icecream import ic | |
| from scrapy.http import HtmlResponse | |
| class QuoteSpider(scrapy.Spider): | |
| name = 'quote' | |
| start_urls = ["https://www.imnepal.com/quotes-about-love-nepali/%d/" % i for i in range(1, 9)] |
This file contains hidden or 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
| sudo addgroup --system docker | |
| sudo adduser $USER docker | |
| newgrp docker | |
| sudo snap disable docker | |
| sudo snap enable docker |
This file contains hidden or 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
| pm.test("Set token environment variable", function () { | |
| var response = pm.response.json(); | |
| var token = response['data']['token']; | |
| postman.setEnvironmentVariable('token', token); | |
| }); |
This file contains hidden or 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: flake8 | |
| -- Files to Watch | |
| File Type: Python | |
| Scope: Project Files | |
| -- Tools to Run on Changes | |
| Program: $PyInterpreterDirectory$\python | |
| Arguments: -m flake8 $FilePath$ --config=setup.cfg --ignore=E133 --format='%(path)s:%(row)d,%(col)d:%(code)s:%(text)s:https://lintlyci.github.io/Flake8Rules/rules/%(code)s.html' | |
| Output paths to refresh: $FilePath$ |
NewerOlder