annoyance   1450

« earlier    

savehistory function | R Documentation
The "Example" section is jacked up, and I can't tell what that's supposed to look like; try (answer from Hadley Wickham) instead.

Maybe the version of R that we have on the cluster didn't build against the readline library or something, and *that's* why up/down arrows don't recall the history.
r  history  repl  annoyance  maybesolution 
17 hours ago by kme
r - Saving and loading history automatically - Stack Overflow
In my ~/.profile I have:
<code class="language-bash">export R_HISTFILE=~/.Rhistory</code>

In my ~/.Rprofile I have:
<code class="language-R">if (interactive()) {
.Last <- function() try(savehistory("~/.Rhistory"))

and that works for me (although it doesn't work very well if you have multiple R sessions open). I also have
<code class="language-bash">alias R='R --no-save --no-restore-data --quiet'</code>

in my profile which eliminates the questions on close.
r  repl  history  configfile  annoyance  solution  fuckina 
17 hours ago by kme
Docker and Locales
Like, in my case, Vim wasn't displaying UTF-8 encoded symbols (like "»") correctly.

Here's his working Dockerfile recipe:
<code>FROM ubuntu:13.10

# Set the locale
RUN locale-gen en_US.UTF-8
docker  locale  characterencoding  errormessage  annoyance  solution 
5 days ago by kme
systemctl failed to get Dbus connection: No connection to service manager
It seems like a hot ticket, but this doesn't work if 'systemctl' depends on D-Bus being running. It's a total chicken-and-egg problem then. This is the case in the official Docker image for CentOS 7.

<code class="language-bash">sudo systemctl start dbus.service</code>
centos7  centos  docker  systemctl  systemd  dbus  annoyance 
5 days ago by kme
Force flushing of output to a file while bash script is still running - Stack Overflow
I found a solution to this here. Using the OP's example you basically run
<code class="language-bash">stdbuf -oL /homedir/MyScript &> some_log.log</code>

and then the buffer gets flushed after each line of output. I often combine this with nohup to run long jobs on a remote machine.
<code class="language-bash">stdbuf -oL nohup /homedir/MyScript &> some_log.log</code>

This way your process doesn't get cancelled when you log out.
bash  shellscripting  buffering  annoyance  workaround  solution 
10 days ago by kme
debugging - How can I debug git/git-shell related problems? - Stack Overflow
<code class="language-bash">GIT_CURL_VERBOSE=1 GIT_TRACE=1 git pull origin master</code>
git  curl  debugging  https  troubleshooting  annoyance 
14 days ago by kme
Big gap between icons · Issue #1 · mdh34/elementary-indicators |
Try setting the padding to '0 2px' in your theme -> apps.css

In my case I use :
<code class="language-css">.composited-indicator {
padding: 0 2px;

Then set your theme to something else and then back again to make sure the changes are refreshed(or restart/log out)
elementaryos  juno  panelindicator  appindicators  annoyance  solution 
4 weeks ago by kme
Question #216282 : Questions : elementary OS |
All the gtk apps had their icons in the panel. Turns out the sni-qt package was missing. They are back now.
elementaryos  qt  panel  indicators  appindicators  annoyance  maybesolution 
4 weeks ago by kme
Unwanted context menu behaviour after update to Firefox 61.0 - Right clicks are automatically double clicking : firefox |
After some trial-and-error I was able to fix the issue in about:config by toggling ui.context_menus.after_mouseup to true. The default is false. I believe this may have something to do with the fact that I'd previously toggled dom.event.contextmenu.enabled to false to always allow for the context menu, even if a site disables it.
firefox  nightly  contextmenu  annoyance  solution 
4 weeks ago by kme
Firefox context menu on right click release. : firefox |
See also:
After some trial-and-error I was able to fix the issue in about:config by toggling ui.context_menus.after_mouseup to true. The default is false. I believe this may have something to do with the fact that I'd previously toggled dom.event.contextmenu.enabled to false to always allow for the context menu, even if a site disables it.
firefox  nightly  contextmenu  annoyance 
4 weeks ago by kme
How to display system tray icons in elementary OS Juno? - elementary OS Stack Exchange |
The necessary 'indicator-application' package seems to be in the repositories for Juno; all that was probably actually required is
$ sudo nano /etc/xdg/autostart/indicator-application.desktop

find the line


and add Pantheon

elementaryos  juno  indicator  icons  appindicator  panelindicators  annoyance  movein  sortof  solution 
4 weeks ago by kme
How do I change login background in elementary OS Freya or Loki? - elementary OS Stack Exchange |
Just copy your wallpaper to /usr/share/backgrounds (you're going to need root privileges to do so) and then select your wallpaper from System Settings -Desktop - Wallpaper.
elementaryos  greeter  lockscreen  background  wallpaper  annoyance  solution 
4 weeks ago by kme

« earlier    

related tags

16.04  adayinthelife  addon  almost  amo  anchor  animatedgifs  animation  apikey  appindicator  appindicators  apple  apt-get  apt  array  arrays  autocompletion  autoconf  awesomebar  ayfkm  background  bash  bashcompletion  bioinformatics  bookmarks  bookmarksbar  braces  brackets  browser  bsd  buffering  bug  build  calendar  calendaragent  centos  centos6  centos7  characterencoding  chat  checksums  citrix  cleaning  client  colloboration  commandline  commitmessage  compiler  configfile  configsetting  configuration  containerization  contextmenu  copywriting  crlf  cscope  csv  curl  customization  dammitbrain  database  dataintegrity  dba  dbus  debian  debugging  dependencyhell  devel  devtools  dns  dnsmasq  docker  dos2unix  dyld  dynamiclinker  eclipse  elementaryos  email  encoding  eolcharacter  erromessage  errormessage  essential  etherpad  explained  extension  fileio  filesystem  firefox  fix  fixeditself  flask-admin  flask  foss  fuckina  gem  gif  git  gitconfig  gitforwindows  gitignore  googlecalendar  gotcha  graphics  greeter  grep  gui  hardware  hashes  headache  highlight  history  hosting  hotplug  html  htmlcollection  htmlrendering  https  icons  idiom  ihadthisproblem  imagemagick  images  imports  indicator  indicators  inputrc  interruptions  ios  ios6  ipod  ipodtouch  iterator  itunes  javascript  juno  keyboard  keychain  khaaaaaaan  language  ld  lib  libmysqlclient  library  likechrome  lineend  linux  linuxmint  locale  lockscreen  luna  lxml  mac  macbook  macos  markdown  markdownhere  maybesolution  mediawiki  menubar  microsoft  mint  mixedcontent  mixedcontentwarnings  module  mount  movein  multimedia  mustache  mysql  mysql55  mysqlworkbench  needshelp  networking  newbie  nightly  node  nodejs  nonprintable  npapi  npm  opensource  osx  outlook  outlook2019  packagemanagement  packaging  panel  panelindicator  panelindicators  pcre  performance  perl  perl5lib  permissions  photos  php  php56  pinboard  pip  pipes  pitfall  plugin  plugins  plusaddressing  popup  ppapi  processmanagement  programming  proxy  pydev  python  qt  r  rant  readline  realtime  reference  remotedesktop  repair  repl  resumedownload  reverseproxy  rewrites  rshiny  ruby  rubygems  screensaver  scroll  search  sed  sha1sums  shebang  shell  shellscripting  shiny  sierra  slow  software  softwarecarpentry  solution  sortof  sql  sqlalchemy  sqlitebrowser  sqllite  ssh  ssl  sync  synchronization  syntax  sysadmin  systemctl  systemd  tabcompletion  tabdelimited  templates  textprocessing  thunderbird  timeout  tipsandtricks  tmux  toolchain  toosmart  troubleshooting  tui  typeglob  ubuntu  ui  unix  uploads  url  user_experience  user_interface  vi  video  vim  virtualbox  virtualization  wallpaper  watchthisspace  web  webapp  webdesign  webdevel  webextension  wherefrom  whereis  windows  workaround  yakshaving  yum 

Copy this bookmark: