- Create a buffer only with
`git`
- Press
Ctrl+H
to openFind and Replace
- Set Find to
(?<!\*)`([^\n*`]+?)`(?!\*)
- Set Replace to
**`\1`**
- Find to
((?:[^*]))`([^\n*`]+?)`(?!\*)
- Replace to
\1**`\2`**
npm install -g copy-github-labels-cli
```python | |
@classmethod | |
def is_applicable(cls, settings): | |
try: | |
view = inspect.currentframe().f_back.f_locals['view'] | |
``` | |
https://github.com/SublimeText/LaTeXTools/blob/5bbec63a11e44feb1ff550a16c486fef68a3eaac/st_preview/preview_math.py#L531 |
import mmap
import time
import sys
import json
# https://docs.python.org/3.9/library/mmap.html
# https://blog.askesis.pl/post/2019/02/mmap.html
memory = mmap.mmap( -1, 20, access=mmap.ACCESS_WRITE )
Continuing the post from: https://forum.sublimetext.com/t/how-to-replace-dots-with-slashes-when-using-file-regex/45764
I managed to do it as described on the first post. I just need to patch exec.py
to allow it to copy the new settings to the output view, and create these new settings on my project build:
My.sublime-project
{
"folders":
[
{ "path": ".", },
```sh | |
#!/bin/bash | |
val1=`vmstat -f 1 | cut -d 'f' -f1 | tr -d " \t\n\r"` | |
while true | |
do | |
val2=`vmstat -f 1 | cut -d 'f' -f1 | tr -d " \t\n\r"` | |
result=$(($val2 - $val1)) | |
echo $result new forks |
import sublime
import sublime_plugin
class MaxPaneEvents(sublime_plugin.EventListener):
def on_selection_modified(self, view):
print( 'I am on_selection_modified...', view.id() )
sudo apt-get install recordmydesktop
sudo recordmydesktop --fps 2 --no-sound --on-the-fly-encoding --compress-cache --no-frame --v_quality 10
sudo chown -R $USER:$USER .
#!/bin/bash | |
outversions=" | |
Things 17.16 I am not 12.23.1 interested | |
36.35.17 | |
35.34.16 | |
24.23.5 | |
19.18 | |
3. |