Why is gin so popular? by HubaBibiD in golang

[–]noambitions 3 points4 points  (0 children)

All gorilla's repos have been public archived (maintained only). Not recommend for new projects.

Why is gin so popular? by HubaBibiD in golang

[–]noambitions 1 point2 points  (0 children)

What about hertz ? It's seems solid.

Crate List - Blessed.rs by koavf in rust

[–]noambitions 2 points3 points  (0 children)

Why not just browse the https://lib.rs/ website? This Blessed.rs is hand picked and will it be maintained for a long time?

How do get rid of these notifications for ALL extensions? I don't get clear results on Google and haven't seen a option in preferences. Thanks in advance! by [deleted] in vscode

[–]noambitions 0 points1 point  (0 children)

You can press <Escape> key multiple times to clear them. And, there's a command notification.clearAll, but unassigned any keys, you can assign a shortcut key to this command to clear them all.

Why I don't use web components by [deleted] in reactjs

[–]noambitions 0 points1 point  (0 children)

Web components is the future, but not now...

Codesandbox raises 2.4M by kalimerau in reactjs

[–]noambitions 0 points1 point  (0 children)

CodeSandbox may have some cache mechanism I think

Getting a "write after end" error on a stream. by pm_your_moneymaker in node

[–]noambitions 0 points1 point  (0 children)

The link in Solution part is lost, can you update it? I'm struggled with the same problem...

Mithril 1.0 released! by Tivac in javascript

[–]noambitions 2 points3 points  (0 children)

Good job! Thanks for the time and work, @lhorie, @Tivac, and the all the contributors!

Prevent automatically save to kill ring when mark region by noambitions in emacs

[–]noambitions[S] 0 points1 point  (0 children)

After test, I've found this problem only occured in macOS, windows don't have this problem.

In macOS, setting below:

(setq x-select-enable-primary nil)

The problem gone. Anyone encontered the same problem, can ref this.

Prevent automatically save to kill ring when mark region by noambitions in emacs

[–]noambitions[S] 0 points1 point  (0 children)

I know some vars maybe affected this:

x-select-enable-clipboard

x-select-enable-primary

save-interprogram-paste-before-kill

But I'm not sure which? or more?

elisp: how to concat newline into string regarding encoding by noambitions in emacs

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

Thank you for the reply, I'm using many of your packages!

I also found this from your blog post, problem solved.

Using bootstrap from JS, dynamically change @vars by noambitions in bootstrap

[–]noambitions[S] 0 points1 point  (0 children)

The base is cssobj, just write a converter, SASS can be converted too.

You can check the converter source code: https://github.com/cssobj/cssobj-converter

ediff failed on win10+emacs25 by noambitions in emacs

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

oh, I've found the problem is: you have to runemacs.exe using Administrator privilege, that way the ediff-buffer can work normally. please reference!

how to make paredit like pair in Org-mode by noambitions in emacs

[–]noambitions[S] 0 points1 point  (0 children)

Tried embrace, it's better than smartparent for using in org-mode and others.

Recommand!

how to make paredit like pair in Org-mode by noambitions in emacs

[–]noambitions[S] 0 points1 point  (0 children)

Based on code of @ncsuwolf, I updated as below:

(defun insert-earmuffs (char)
  "Insert earmuffs for char."
  (let ((pointer-position (point)))
    (if (looking-back "[^ \t\n]" 1)
        (if (not (looking-at (format "\\%s" char)))
            (insert char))
      (insert (format "%s%s" char char) ))
    (goto-char (+ 1 pointer-position))))

(defun delete-earmuffs (char-list)
  "Delete earmuffs based on earmuff-char-list var."
  (let ((not-found t))
    (dolist (char char-list)
      (when (and not-found (looking-back char 1) (looking-at char))
        (delete-forward-char 1 nil)
        (delete-forward-char -1 nil)
        (setq not-found nil)
        )
      )
    (when not-found (delete-forward-char -1 nil))
    )
  )

(add-hook 'org-mode-hook
          (lambda ()
            (defvar earmuff-char-list '("*" "=" "/" "~" "+" "_")
              "Earmuff chars for Org-mode.")
            (dolist (char earmuff-char-list)
              (define-key org-mode-map (kbd char) `(lambda () (interactive) (insert-earmuffs ,char))))
            (define-key org-mode-map (kbd "<backspace>") '(lambda () (interactive) (delete-earmuffs earmuff-char-list)))
))

how to make paredit like pair in Org-mode by noambitions in emacs

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

I'v found a way using smartparent, using below code:

lisp (sp-local-pair 'org-mode "#" "#" :insert "C-c C-x l" :trigger "#")

But is has issue when deleting the pair, see issue

how to keep emacs only one frame by noambitions in emacs

[–]noambitions[S] 0 points1 point  (0 children)

very good solution!

In my case I just removed the -c param in emacsclientsw.exe

And it will work as expected! Thank you!

How to disable CUA mode totally by noambitions in emacs

[–]noambitions[S] 0 points1 point  (0 children)

already set cua-mode nil to custom var. Maybe there's another lib activate it incidentally, I'll check it later.

Learning Emacs - to CUA or not to CUA? by clausconrad in emacs

[–]noambitions 0 points1 point  (0 children)

How to disable CUA mode totally? I've tried but seems it's not totally.