Где блекджек, где мои шлюхи? Ничерта не работает! Войти !bnw Сегодня Клубы
УНЯНЯ. У нас есть немножечко инфы об этом пользователе. Мы знаем, что он понаписал, порекомендовал и даже и то и другое сразу. А ещё у нас есть RSS.
Теги: Клубы:

A short story about Lisp, technology, and human progress

https://www.murilopereira.com/how-to-open-a-file-in-emacs/

emacs

#9KW8U6 (4) / @ninesigns / 1201 день назад

Накидал елиспца чтобы на лету подмонтировать cryfs и открывать оттуда файлики

https://gist.github.com/4DA/a9ce5f23081a03808e4f4ab836c2ee93

Через hydra можно юзать например так:

(defhydra hydra-org (:color blue)
("l" (lambda () (interactive)
(cryfs-open "/home/user/Private/file.org"
"/home/user/Private"
"/home/user/Syncthing/cryfs-encrypted")) "open log"))

#KTI4DH (0) / @ninesigns / 1446 дней назад

How To Take Smart Notes With Org-mode

Jethro Kuan
https://blog.jethro.dev/posts/how_to_take_smart_notes_org/
https://github.com/jethrokuan/org-roam

emacs #orgmode

#GXGI0I (0) / @ninesigns / 1507 дней назад
#!/usr/bin/emacs --script

(require 'dom)

(defun corona ()
  (with-current-buffer (url-retrieve-synchronously "https://www.worldometers.info/coronavirus/" t)
    (goto-char url-http-end-of-headers)
    (setq cur-dom (libxml-parse-html-region (point) (point-max)))
    (setq texts (dom-texts cur-dom))
    (string-match "Coronavirus Cases: +\\([0-9,]+\\)" texts)
    (setq cases (match-string 1 texts))
    (string-match "Deaths: +\\([0-9,]+\\)" texts)
    (setq deaths (match-string 1 texts))
    (princ (format "%s / %s" deaths cases))))

(corona)
#G1JVOW (5) / @ninesigns / 1507 дней назад

раз: sudo apt install perf libssl-dev
два: git clone https://github.com/zevlg/telega.el && mkdir build && cd build && cmake ../ && sudo make install
три: M-x package-list-packages -> telega
четыре: M-x telega
...
охуительно: https://tinystash.undef.im/il/6DHV537A8YA8TezcUnSHhDwUUUR2jMbgMgZ18TVg9p7MPanF7cpCy8DC3BhHtdjYmC.jpg

#I04VIQ (6) / @ninesigns / 1641 день назад

Why bother with Emacs? Part 1
https://www.youtube.com/watch?v=EsAkPl3On3E

#IAUVD2 (3) / @ninesigns / 1968 дней назад

Дано:
файл YAML
вида
```

Items:

Item1:
X: value_x

Y: value_y

X: value_x

Y: value_y

...
```

требуется над каждым value_x произвести арифметическое действие и тут же записать в результат.

в emacs делается следующим образом:
M-x regexp Y: (.*) → Y: \,(- #1 0.13)

Последняя скобка - это elisp-выражение, прибавляющее к match число 0.13
#1 - первый match, переведенный в числовой вид

Жду демонстрации такого же в ваших редакторах.

#LA2ALG (54+1) / @ninesigns / 2034 дня назад

раз: https://github.com/BurntSushi/ripgrep
два: https://github.com/cosmicexplorer/helm-rg
три: ```
(custom-set-variables
'(helm-rg-default-directory (quote git-root)))

(global-set-key (kbd "X-x")
(lambda() (interactive) (setq current-prefix-arg '(4))
(call-interactively 'helm-rg)))

(global-set-key (kbd "x-X") 'helm-rg)
```

По X-x будет РЕЗКО искать из текущего каталога, по X-X будет искать по всей рабочей копии. С большими кодовыми базами прирост скорости ОхУИТЕЛЬНЫЙ.

#T9J22T (9) / @ninesigns / 2100 дней назад

Ура, emacs-26 теперь с нескучным скролом.

Highlights of this release include:
- Limited form of concurrency with Lisp threads
- Support for optional display of line numbers in the buffer
- Emacs now uses double buffering to reduce flicker on the X Window
System
- Flymake has been completely redesigned
- TRAMP has a new connection method for Google Drive
- New single-line horizontal scrolling mode
- A systemd user unit file is provided
- Support for 24-bit colors on capable text terminals

#711GXM (4) / @ninesigns / 2152 дня назад

Нашел охуенный пакет https://github.com/wasamasa/eyebrowse
Можно выкидывать к хуям elscreen или perspeen

#MM6OHA (0+1) / @ninesigns / 2220 дней назад

Спасибо мелкософту за его language server protocol,
cquery достаточно быстро парсит крупные проекты типа UE4
https://github.com/cquery-project/cquery

Естественно работает нестабильно, но прыгает по коду и ищет референсы намного быстрее и качественнее, чем rtags.

#A93T4N (2) / @ninesigns / 2248 дней назад

Поддержите самый охуенный тул по работе с git evar, чтобы автор мог год хуярить в него фичи.
С magit я практически перестал пердолиться в консольку при работе с git.

https://www.kickstarter.com/projects/1681258897/its-magit-the-magical-git-client?ref=hero_thanks

CHF 51,188 pledged of CHF 55,000 goal
1,315 backers
11 days to go

#8X5V5T (36) / @ninesigns / 2403 дня назад

Короче copy-pastные ошибки заебали, хочу мод в емаксе, который подсвечивает похожести в скопипащеных строках, может уже есть такое?

#NKD460 (27) / @ninesigns / 2411 дней назад

Нассыте кто-нибудь автору в ебло в коментариях плиз.
https://habrahabr.ru/post/331134/

#0525KX (5+1) / @ninesigns / 2497 дней назад

org + mind mapping по типу the brain.
https://www.youtube.com/watch?v=3gwdXkIHxjA

#5MTIVK (1) / @ninesigns / 2566 дней назад

Короче палю годноту. Добавляет в мой(и твой) любимый редактор сразу ВОРКСПЕЙСЫ и ТАБЫ.
То есть замена, elscreen + perspective. Список буферов, если чо локален для каждого воркспейса.
https://github.com/seudut/perspeen

Есть еще отдельано helm-perspeen, но там баг с созданием воркспейсов.

#FIKL5P (12) / @ninesigns / 2593 дня назад

Подумываю сделать pornhub-mode для любимого текстового редактора. Благо теперь можно встраивать и скриптовать любую webkit-парашу.
Какие подводные камни?

хуйта #emacs

#75157T (8) / @ninesigns / 2735 дней назад

Заметил, что регулярно провожу полчаса наедине c emacs, настраивая его и обновляя пакеты. Что бы это могло значить?
https://pp.vk.me/c836531/v836531168/9057/9m70vv1M1e4.jpg

#MTGW7T (32+1) / @ninesigns / 2738 дней назад

Щас понял чего мне не хватало в емаксе - переключалку буферов наподобие виндового M-Tab, которая не маркирует временно просматриваемое окно посещенным.

https://www.emacswiki.org/emacs/iflipb

#MIQ459 (7) / @ninesigns / 2758 дней назад

If you are a newcomer and look at Emacs what you see at first glance on the outside is basically total crap. The default behavior of Emacs distinguishes itself by the complete lack of sanity. Emacs key-bindings are neither ergonomic nor do they make any sense in any way. They are barely consistent across modes, only if you are lucky. They are the way they are because they are old. And old people don't like change. However my experience was, the more I learned the more crap appeared. One layer of crap after the other. At first everything could somehow be fixed with a lot of configuration and scripts. I needed several hundred lines of Lisp code in my init.el just to be able to work normally.
But then the lowest emacs layer of crap appears which can not be fixed. It includes issues like lack of multithreading, elisp being the least capable and at the same time by far slowest lisp dialect. Stuff like the lack of ability to move the cursor off screen. Inherent jumpiness while scrolling which can not be fixed and really strains my eyes. And don't even try to look at the C source, it is the worst historically grown ifdef hell you will ever experience.
And finally there is the community which lacks disposition to unify or work together. It is more like a community of loners where each of his own produces personal "modes" which are inconsistent to use and most of the time conflict which each other. The most important reason for this might be lisp itself. It is inherently hard to read other peoples lisp code. So everybody writes his own.

#OQG3M9 (9+1) / @ninesigns / 2763 дня назад
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

Цоперайт © 2010-2016 @stiletto.