This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet
SPC q q
- quitSPC w /
- split window verticallySPC w
- - split window horizontallySPC 1
- switch to window 1SPC 2
- switch to window 2SPC w c
- delete current window
import requests | |
import logging | |
import httplib | |
# Debug logging | |
httplib.HTTPConnection.debuglevel = 1 | |
logging.basicConfig() | |
logging.getLogger().setLevel(logging.DEBUG) | |
req_log = logging.getLogger('requests.packages.urllib3') | |
req_log.setLevel(logging.DEBUG) |
This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet
SPC q q
- quitSPC w /
- split window verticallySPC w
- - split window horizontallySPC 1
- switch to window 1SPC 2
- switch to window 2SPC w c
- delete current windowimport signal | |
import functools | |
async def looping_task(loop, task_num): | |
try: | |
while True: | |
print('{0}:in looping_task'.format(task_num)) | |
await asyncio.sleep(5.0, loop=loop) | |
except asyncio.CancelledError: | |
return "{0}: I was cancelled!".format(task_num) |
There's a couple of ways, one way is
SPC /
and type in your search stringSPC x S
and search string - where x is your scope indicator (p for project, d for directory, etc..)C-c C-e
inside the helm buffer to put all your match occurences and puts them into a special buffer called the edit buffer or something like thatC-c C-c
to commit your changes.import asyncio | |
from concurrent import futures | |
import functools | |
import inspect | |
import threading | |
from grpc import _server | |
def _loop_mgr(loop: asyncio.AbstractEventLoop): |
# Comma separated list of channels | |
/set colorize_nicks.look.blacklist_channels "" | |
# Comma separated list of nicks | |
/set colorize_nicks.look.blacklist_nicks "so,root" | |
# Whether to colorize input | |
/set colorize_nicks.look.colorize_input off | |
# If off, then use lazy matching instead |
https://github.com/spieglt/cloaker - password-based file encryptor (NOTE: uses Qt)
https://github.com/str4d/rage - file encryption tool and librarary that uses the age format
https://github.com/mohanson/gameboy - gameboy emulator
https://github.com/bartwillems/lyriek - fetch the lyrics of a song playing in an mpris-compatible player
https://github.com/JakeStanger/mpd-discord-rpc - discordrpc for mpd
#!/bin/bash | |
if [ ! -f /opt/homebrew/bin/brew ]; then | |
echo "Install ARM homebrew to /opt/homebrew" | |
exit | |
fi | |
message() { | |
TIME=$(date "+%Y-%m-%dT%H:%M:%S") | |
MSG=$@ | |
echo "$TIME | $MSG" |