Skip to content

Instantly share code, notes, and snippets.

Nikita Voloboev nikitavoloboev

Block or report user

Report or block nikitavoloboev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nikitavoloboev
nikitavoloboev / jxa: Return current active line in TaskPaper.js
Created Jun 4, 2019
Used it to copy the task/note into current TODO
View jxa: Return current active line in TaskPaper.js
(() => {
'use strict';
const main = () => {
const tp3Context = (editor, options) => {
const main = () =>
unlines(
concatMap(
View Unresolved promise for debugging.js
// create Promise that never resolves
await new Promise((reject, resolve) => {
// Do nothing
});
// Example: in describe() test
describe('Profile page test', async () => {
it('should render Profile page', async () => {
server.router.get('', (req, res) => {
View My 2Do tasks.md

My 2Do tasks

This is just contents of my never ending lists of tasks I tagged in 2Do with read, watch and check tags.

All lists are sorted by priority. I hope to bring all these lists closer to 0 when I get time. But until then, perhaps you will find something interesting in them.

Here are the lists I share so far.

@nikitavoloboev
nikitavoloboev / config: sVimCSS settings.css
Last active Jan 23, 2019
Only change made was the CSS on sVim-hint to make hints work with Dark Reader (https://darkreader.org/safari/)
View config: sVimCSS settings.css
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
#sVim-command {
View Karabiner JSON config.json
{
"global" : {
"check_for_updates_on_startup" : true,
"show_in_menu_bar" : true,
"show_profile_name_in_menu_bar" : false
},
"profiles" : [ {
"complex_modifications" : {
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 50,
View Rebuild launch services.sh
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user
@nikitavoloboev
nikitavoloboev / config: Focus blocked websites.txt
Last active Feb 23, 2019
Websites I have blocked with Focus. Can save as .txt and import into Focus.
View config: Focus blocked websites.txt
https://github.com/.*/.*/graphs/traffic/
https://www.reddit.com/r/apple/
https://www.reddit.com/r/linux/
https://www.youtube.com/feed/subscriptions
https://news.ycombinator.com/
https://www.reddit.com/r/lsd/
https://news.ycombinator.com/news/
https://www.reddit.com/me/m/top/
https://www.reddit.com/r/researchchemicals/
https://www.facebook.com/
You can’t perform that action at this time.