Readit News logoReadit News
velut commented on Firefox address bar   wiki.tilde.institute/w/fi... · Posted by u/todsacerdoti
MetallicCloud · 2 years ago
Is there a good way to hide the top tabs without getting into barely supported config files?

I like TST, but I gave up on it because I could never get the top tabs hidden correctly, and all the information I could find on the internet was different levels of out of date.

velut · 2 years ago
I don't think so. I use Sidebery and their recommended approach is to edit userChrome.css. It's not too bad and works well. See https://github.com/mbnuqw/sidebery/wiki/Firefox-Styles-Snipp....
velut commented on Firefox address bar   wiki.tilde.institute/w/fi... · Posted by u/todsacerdoti
bmacho · 2 years ago
Where? What is a search box?
velut · 2 years ago
The search input provided by a website. You can try with the one in the footer of Hacker News and it works. See https://imgur.com/oxqMw6D
velut commented on Firefox address bar   wiki.tilde.institute/w/fi... · Posted by u/todsacerdoti
bmacho · 2 years ago
I don't have that. Where? Algolia and google search boxes(? the input fields?) don't show anything like that.

edit: also if I modify a keyword for my opensearch/xml search engines in about:preferences#search , it won't show up as a regular bookmark. Also I can't even see the URL for those search engines.

velut · 2 years ago
Right click inside a search box. There should be the option "Add a Keyword for this search".
velut commented on Firefox address bar   wiki.tilde.institute/w/fi... · Posted by u/todsacerdoti
rascul · 2 years ago
I use this often. I just wish there was a way to escape the keyword. Like for example if I wanted to do a web search for "hn firefox address bar" I have to click the correct search engine with my mouse. Maybe there's a method I'm not aware of.
velut · 2 years ago
You can press Ctrl+K or type a `?` before the search query and Firefox will use your default search engine without expanding the bookmark macro.
velut commented on Firefox address bar   wiki.tilde.institute/w/fi... · Posted by u/todsacerdoti
perihelions · 2 years ago
The killer feature is that you can extend this with your own macros. E.g. if you want the address bar to recognize "hn " as a prefix keyword, and redirect "hn firefox address bar" to, say, Algolia — you simply create a bookmark with "Keyword": "hn" and "URL": "https://hn.algolia.com/?q=%s" (not actually a URL, don't click on it) – %s indicating where the macro parameter substitutes. Then "hn firefox address bar" macroexpands to

https://hn.algolia.com/?q=firefox%20address%20bar

velut · 2 years ago
This is one of my favorite features that I use daily.

I use the URL "https://www.google.com/search?q=site:ycombinator.com+%s" to search content from HN, and "https://www.google.com/search?q=site:reddit.com+%s" to search on Reddit. I also have "https://www.npmjs.com/package/%s" to directly go to a package page on npm.

velut commented on Companies must stop using Google Analytics   imy.se/en/news/companies-... · Posted by u/pseudotrash
onionisafruit · 2 years ago
Do you know a static host that makes logs available? I happen to be looking to do something like this right now, but I would rather not run my own web server for my simple static blog.
velut · 2 years ago
I recently deployed a static website on Bunny.net using their object storage and their CDN and they make available logs in this format https://docs.bunny.net/docs/cdn-log-format.
velut commented on Show HN: Gridify.it – Svelte app to add grids to images and pixel art   gridify.it... · Posted by u/velut
velut · 2 years ago
Hi,

This is a simple web app that I created to add grids and stylize images and pixel art, for an example see [1].

I used Sveltekit for the website, DaisyUI/Tailwind for the styling, Superforms to handle user inputs and custom code using the canvas API for rendering images.

You can check out the repository at: https://github.com/velut/gridify.it.

[1]: https://www.gridify.it/examples/06.jpg

velut commented on Sunsetting Atom   github.blog/2022-06-08-su... · Posted by u/ewired
spartanatreyu · 4 years ago
I commonly watch dev talks and walkthroughs on youtube at greater than 2x speed because the talkers make an effort to talk slowly for non native English speakers.

Just pop open the console with F12, enter the following and hit enter:

$('video').playbackRate = 2.5

Change `2.5` to whatever number you wish.

Press up in the console to bring back your last command faster with the cursor at the end so you just delete the number, type a new number and hit enter.

velut · 4 years ago
I made a website that uses bookmarklets just for that.

https://www.videospeedup.com/

velut commented on Typejuice: Docs generator for .d.ts files inspired by godoc   github.com/galvez/typejui... · Posted by u/jgalvez
eat_veggies · 4 years ago
this is cool! are there any examples hosted anywhere? (the screenshot looks promising) -- and do you think it's fast enough to run the parser/generator on a cloudflare worker or something? part of what makes godoc so nice is that you can just aim godoc.org (or pkg.go.dev) at the url of your repo and you don't have to generate or host it yourself
velut · 4 years ago
Hi,

I'm the author of the website mentioned by zebracanevra that does just that.

When a user requests the documentation for a package hosted on npm, a lambda function (Vercel/AWS) runs the analysis process using the TypeScript compiler.

The TS compiler is slow though and this process can take several seconds to finish for packages of medium and larger sizes (you can see the exact time at the bottom of a generated documentation page).

u/velut

KarmaCake day30April 30, 2019
About
GitHub: https://github.com/velut/
View Original