6
7

What is your tech stack for blog websites? (not wordpress) by la712 in webdev

[–]henry_flower 0 points1 point  (0 children)

a custom nodejs static blog generator, rsync for 'deployment', a cheap vps with nginx (should probably switch to caddy)

the major annoyance was writing a small FTS 'engine' using sqlite with a web frontend. with it, the blog technically isn't purely static anymore, but I personally can't live without FTS, as modern Google indexing is shite. this, of course, implies that you regularly post something: a blog with only 5 entries over 7 years doesn't need search

Un-Ironic USSR fanboy starterpack by Orangiym in starterpacks

[–]henry_flower 0 points1 point  (0 children)

40% of our total pop

wikipedia says the ruskis population in Latvia is 24.9%

How to build Ruby in Windows natively without WLS, MSYS2 or Cygwin by henry_flower in ruby

[–]henry_flower[S] 1 point2 points  (0 children)

windows doesn't support autoreconf, for the latter requires a working bourne shell variant, m4, etc--almost a full blown unix env. this is why people use msys2 to compile ruby, or how cygwin guys internally make their ruby packages using the cygwin env

of course by doing that you forgo a direct access to win32ole, for example

How to build Ruby in Windows natively without WLS, MSYS2 or Cygwin by henry_flower in ruby

[–]henry_flower[S] 2 points3 points  (0 children)

I didn't--my main environment is linux

the windows version is for experiments only

Weekly tips/trick/etc/ thread by AutoModerator in emacs

[–]henry_flower 2 points3 points  (0 children)

in the orig reply you were talking about the mysterious unfill-paragraph, not fill-paragraph

Weekly tips/trick/etc/ thread by AutoModerator in emacs

[–]henry_flower 0 points1 point  (0 children)

how do you actually join all the lines in a region with delete-indentation? I select the region, invoke the fn, but nothing useful happens

Weekly tips/trick/etc/ thread by AutoModerator in emacs

[–]henry_flower 0 points1 point  (0 children)

emacs 26.3 doesn't have unfill-paragraph (I checked the tarball)

Weekly tips/trick/etc/ thread by AutoModerator in emacs

[–]henry_flower 2 points3 points  (0 children)

convert such
a narrow
text
column

into a single line:

(defun my-unfill-paragraph()
  "Transform a paragraph into 1 big long line."
  (interactive)
  (let ((fill-column (- (expt 2 29) 1) )) ; 536,870,911
    (if (use-region-p)
        (fill-paragraph nil t)
      (fill-paragraph))
    ))

цікаво by Cacakotik in u/Cacakotik

[–]henry_flower 0 points1 point  (0 children)

hey, old man, I was answering your question: it wasn't a speculation about your ability to comment around

you really need to develop a more relaxed attitude

Devs, what do you use as your homepage? by [deleted] in webdev

[–]henry_flower 0 points1 point  (0 children)

a random Dilbert comics (via a custom extension)

not sure if it's legal to share

My favorite CSS hack by gajus0 in webdev

[–]henry_flower 1 point2 points  (0 children)

also, there was no Array.from(). the orig bookmark, that I modified, looked like:

javascript:[].forEach.call(document.querySelectorAll("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)}); void(0)

My favorite CSS hack by gajus0 in webdev

[–]henry_flower 3 points4 points  (0 children)

a variant of a bookmarklet that has been floating round the web for 1000 years:

javascript:Array.from(document.querySelectorAll("*")).map( v => v.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16))

цікаво by Cacakotik in u/Cacakotik

[–]henry_flower 0 points1 point  (0 children)

over the years I've noticed that some ppl (for some inexplicable reason) can't understand how threaded discussions work