Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details>
tag!
<details>
Summary Goes Here
package ec | |
import ( | |
"crypto/ecdsa" | |
"crypto/elliptic" | |
"crypto/md5" | |
"crypto/rand" | |
"crypto/x509" | |
"encoding/pem" | |
"errors" |
import asyncio | |
from functools import wraps | |
def dec(fn): | |
@wraps(fn) | |
async def wrapper(*args, **kwargs): | |
print(fn, args, kwargs) # <function foo at 0x10952d598> () {} | |
await asyncio.sleep(5) |
I've been wanting to do a serious project in Go. One thing holding me back has been a my working environment. As a huge PyCharm user, I was hoping the Go IDE plugin for IntelliJ IDEA would fit my needs. However, it never felt quite right. After a previous experiment a few years ago using Vim, I knew how powerful it could be if I put in the time to make it so. Luckily there are plugins for almost anything you need to do with Go or what you would expect form and IDE. While this is no where near comprehensive, it will get you writing code, building and testing with the power you would expect from Vim.
I'm assuming you're coming with a clean slate. For me this was OSX so I used MacVim. There is nothing in my config files that assumes this is the case.
""" | |
Add copy to clipboard from IPython! | |
To install, just copy it to your profile/startup directory, typically: | |
~/.ipython/profile_default/startup/ | |
Example usage: | |
%clip hello world | |
# will store "hello world" |
In [4]: dis.dis(try0)
19 0 LOAD_GLOBAL 0 (set)
3 LOAD_FAST 0 (x)
6 LOAD_ATTR 1 (keys)
9 CALL_FUNCTION 0
12 CALL_FUNCTION 1
15 LOAD_ATTR 2 (intersection)
18 LOAD_FAST 1 (y)
21 LOAD_ATTR 1 (keys)