After having read this post, I just upgraded to Jupyter/Python 3.4 so widgets would actually appear when using Nbviewer. Alas, it does not seem to work. Actually, none of the interactive widgets from the examples will display on nbviewer - except the beat frequencies one.
Any ideas why this might not work?
Any alternative suggestions to how to make it work are very welcome. Here is a link to the bit of code I am trying to get to display sliders in nbviewer, and here is the github link.
Thanks!
Related
Somewhat self explanatory. No matter what dataset I run, which libraries I have, etc. I keep having this happen when I run the theme assist add in for R:
This is at least semi-visible but often I can't see anything when I'm making bar graphs and such, so if there is a quick fix to this issue I would greatly appreciate it.
I figured out an answer. I tried repeatedly to just use the "ctrl +" command in the actual theme assistant window to no avail.
What I did after was exit out of the theme assistant altogether and then minimized the screen several times with "ctrl -" in the script area. It is now far more visible, though at the expense of the script looking super tiny.
Now it is far more visible!
Hopefully this is helpful if anybody else runs into this problem. Took me longer than it should have to figure this out, but didn't seem to have any clear answers elsewhere.
I am using R blogdown with the hugo-academic theme and love Yihui's work (and naturally the theme).
I inserted acidemicons in a post using the icon package (https://github.com/ropenscilabs/icon), e.g.,
- [Mendeley `r icon::ai("mendeley")`](https://www.mendeley.com)
Unfortunately, this somehow clashes with the icons in the share header (only the envelope/email icon shows up and the remaining do not, i.e., twitter, facebook and linkedin). In other posts with no icon::ai() calls the header is fine.
Here is the post with the call (note the share icons at the top right are greyed out)
https://racinejs.netlify.com/post/academic-networks-public-profiles/
Here is a post without (note the share icons at the top right are well formed)
https://racinejs.netlify.com/post/github-education-and-private-repositories/
So, I am guessing there is an alternate way to include the academicons in the R blogdown/R markdown post that does not rely on the icon package, but my unfamiliarity with this framework is working against me. I have been unable to dig up any other way of successfully doing this hence my post.
The GitHub repository for the site can be found at https://github.com/JeffreyRacine/static-hugo-site in case this is helpful.
So, if by chance you know the proper way to do this I would be most grateful.
Thanks in advance for your efforts and suggestions!
In case this helps others, after all that some experimenting and looking at the theme code revealed that
<i class="ai ai-mendeley"></i>
is all that is needed and resolves the issue.
I have a problem that I couldn't find a solution to (maybe I'm just a horrible google user).
Anyways: I use oh-my-zsh with a custom theme and one or two plugins, but nothing too fancy. Whenever I double-press tab to bring up the completion suggestions, e.g. when using cd, my prompt's automatically colored blue (see attached image).
I have tried deactivating my theme and some stuff in ~/.oh-my-zsh/lib/completion.sh, but I couldn't find anything that helps. I just want my regular green even though I double tab.
Any help?
This answer to a related question seems to address your issue (I have not tested it myself):
https://unix.stackexchange.com/questions/16243/is-there-a-way-to-set-coloring-for-cd-tab-complete/16245#16245
I have only been able to find 1 add-on for autosaving/draft-save.
The problem is that if the browser crashes while you are editing content of a page, or created a new page, that changes will be lost. And it's not always, that one will remember to save manually.
The add-on I found and installed is: plone.app.drafts
I installed it using buildout, and activated it in the add-on. Though it doesn't seem to be working for me. Has anyone managed to make it work? To test it I crashed the browser (and also just closed the browser while editing), and according to the documentation for this add-on, the saved content should be in portal_drafts. But there is nothing there.
I followed this document.
Stackoverflow has the best auto save future EVER. It would be nice with such, but just a normal auto save will do fine.
Are there other plone fans out there that have managed to overcome this hurdle? Like found a nice add-on to help out?
do you want to auto-save input in richtextfields (tinymce) or all fields?
for tinymce there is a plugin you could try to add:
https://pypi.python.org/pypi/zopyx.tinymceplugins.tinyautosave/1.0.1
I was googling to find a solution for this forever, I was so close but still can't find the problem...
The closest solution I found was at this site But:
I want exactly the opposite of what this guy posted: Automatic line break in js SyntaxHighlighter
He wants instead of horizontal bar to break the code down, but what do I want is instead of breaking the code down, to display a horizontal bar.
I've used SH on multiple projects and never actually had this issue till now.
I've installed it in wordpress as a plugin in a custom theme, I modified the theme css file(s) and the syntax highlighter's file(s) (.css), but still nothing's going on.
Here's a screenshot
If you have any suggestion what the problem might be, please tell me - any help is appreciated.
I think what you are looking for is a combination of overflow and white-space css properties.
pre {overflow:scroll;}
.pre-wrap {white-space:pre-wrap;}
Please see the footle here