searleser97 / cpbooster.vim Goto Github PK
View Code? Open in Web Editor NEWVim integration plugin of cpbooster
License: GNU General Public License v3.0
Vim integration plugin of cpbooster
License: GNU General Public License v3.0
When using :Addtc
I think it should be more comfortable editing the input and expected output in vim mode
So, maybe when using the command, the plugin should create two new buffers
For example in B.problemname.cpp
Opens:
B.problemname.in2
B.problemname.ans2
submitting...
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise
*/);
^
browserType.launch: Executable doesn't exist at /home/prabhaka
r/.cache/ms-playwright/chromium-1000/chrome-linux/chrome
╔═════════════════════════════════════════════════════════════
════════════╗
║ Looks like Playwright Test or Playwright was just installed
or updated. ║
║ Please run the following command to download new browsers:
║
║
║
║ npx playwright install
║
║
║
║ <3 Playwright Team
║
╚═════════════════════════════════════════════════════════════
════════════╝
at Codeforces.<anonymous> (/usr/lib/node_modules/cpbooster
/dist/src/Submit/OnlineJudgeFactory/OnlineJudge.js:300:81)
at step (/usr/lib/node_modules/cpbooster/dist/src/Submit/O
nlineJudgeFactory/OnlineJudge.js:69:23)
at Object.next (/usr/lib/node_modules/cpbooster/dist/src/S
ubmit/OnlineJudgeFactory/OnlineJudge.js:50:53)
at /usr/lib/node_modules/cpbooster/dist/src/Submit/OnlineJ
udgeFactory/OnlineJudge.js:44:71
at __awaiter (/usr/lib/node_modules/cpbooster/dist/src/Sub
mit/OnlineJudgeFactory/OnlineJudge.js:40:12)
at Codeforces.OnlineJudge.submit (/usr/lib/node_modules/cp
booster/dist/src/Submit/OnlineJudgeFactory/OnlineJudge.js:295:
16)
at Object.submit (/usr/lib/node_modules/cpbooster/dist/src
/Submit/Submit.js:78:8)
at Object.handler (/usr/lib/node_modules/cpbooster/dist/sr
c/index.js:187:38)
at Object.runCommand (/usr/lib/node_modules/cpbooster/node
_modules/yargs/build/lib/command.js:196:48)
at Object.parseArgs [as _parseArgs] (/usr/lib/node_modules
/cpbooster/node_modules/yargs/build/lib/yargs.js:1043:55)
at Object.get [as argv] (/usr/lib/node_modules/cpbooster/n
ode_modules/yargs/build/lib/yargs.js:986:25)
at Object.<anonymous> (/usr/lib/node_modules/cpbooster/dis
t/src/index.js:214:3) {
name: 'Error'
}
Node.js v17.9.0
[Process exited 1]
I have'nt installed chromium.
I tried to cpb login codeforces
, it is giving me following errors
node:internal/process/promises:245
triggerUncaughtException(err, true /* fromPromise */);
^
browserType.launch: Failed to launch chromium because executable doesn't exist at /home/irfan/.cache/ms-playwright/chromium-857950/chrome-linux/chrome
Try re-installing playwright with "npm install playwright"
Error
at Object.captureStackTrace (/usr/lib/node_modules/cpbooster/node_modules/playwright-chromium/lib/utils/stackTrace.js:48:19)
at Connection.sendMessageToServer (/usr/lib/node_modules/cpbooster/node_modules/playwright-chromium/lib/client/connection.js:69:48)
at Proxy.<anonymous> (/usr/lib/node_modules/cpbooster/node_modules/playwright-chromium/lib/client/channelOwner.js:64:61)
at /usr/lib/node_modules/cpbooster/node_modules/playwright-chromium/lib/client/browserType.js:64:67
at BrowserType._wrapApiCall (/usr/lib/node_modules/cpbooster/node_modules/playwright-chromium/lib/client/channelOwner.js:77:34)
at BrowserType.launch (/usr/lib/node_modules/cpbooster/node_modules/playwright-chromium/lib/client/browserType.js:55:21)
at Codeforces.<anonymous> (/usr/lib/node_modules/cpbooster/dist/Submit/OnlineJudgeFactory/OnlineJudge.js:224:81)
at step (/usr/lib/node_modules/cpbooster/dist/Submit/OnlineJudgeFactory/OnlineJudge.js:69:23)
at Object.next (/usr/lib/node_modules/cpbooster/dist/Submit/OnlineJudgeFactory/OnlineJudge.js:50:53)
at /usr/lib/node_modules/cpbooster/dist/Submit/OnlineJudgeFactory/OnlineJudge.js:44:71
No problem if it doesn't support 😃 Thank you so much , this extension saved me a lot of time
There are many instances in the code where :w
is used.
It may be better to change it to :up
so another write is unnecessary (unless you explicitly want to show the status line.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.