workaround   1821

« earlier    

pyopenssl: object has no attribute 'SSL_ST_INIT' · Issue #13 · brocaar/loraserver-setup
A: [...] There is an issue with a dependency that changed lately, because of this 'module ' object has no attribute 'SSL_ST_INIT' error is returned. For now I recommend the following commands: [...]
forumthread  issue  workaround  ssl  python  python.pip  unix  linux  ubuntu  github  2017 
7 days ago by ezequiel
sh - Check if a file exists with wildcard in shell script - Stack Overflow |
You can do the following:
<code class="language-bash">
set -- xorg-x11-fonts*
if [ -f "$1" ]; then
printf "BLAH"

This works with sh and derivates: ksh and bash. It doesn't create any sub-shell. $(..)and `...` commands create a sub-shell : they fork a process, and they are inefficient. Of course it works with several files, and this solution can be the fastest, or second to the fastest one.

It works too when there's no matches. There isn't need to use nullglob as one of the comentatators say. $1 will contain the origintal test name, therefore the test -f $1 won't success, because the $1 file doesn't exist.
bash  glob  wildcard  pitfall  gotcha  workaround  solution 
7 days ago by kme
Powerline Escape Fix [] []
Last week I wrote about Powerline Alternatives, and there was also a Hacker News thread about vim-airline where one of the posters had this useful tip about Powerline:

The delay in leaving insert mode used to drive me nuts in vim-powerline. I posted an issue and the author pointed me to this helpful Vim config snippet as a workaround (original link gone as the vim-powerline issue tracker has been removed, so reposting as a gist):
2013  archived.version  issue  workaround  terminal  keyboard  plugin  performance  vim 
7 days ago by ezequiel
isis | wednesday reads n' things
. It turns out Amazon is now using .kfx, which is not easily convertible, and the solution recommended by mobileread forums was to make sure my virtual Kindle is set to not automatically update to the latest version, uninstall the current Kindle-on-PC program, delete all the files in My Kindle Content, then find, download, and install an older version (1.17) which still uses .azw. It was a pain, but I did it, and now I can buy Amazon books again and convert them to read on my preferred reader, r...
kindle  azw  mobi  kfw  drm  workaround 
12 days ago by jesse_the_k
CRAN - Package httpuv
There's no binary for httpuv-1.4.5 for R 3.3.3. So if you have a too-old RStudio on Windows, you won't be able to use shiny-1.2.0 (latest as of November 2018).

Workaround: install Windows / R 3.3.x (binary) from
r  shiny  rshiny  dependencyhell  ihadthisproblem  workaround  solution  annoyance 
13 days ago by kme
install - Error in R: (Package which is only available in source form, and may need compilation of C/C++/Fortran) - Stack Overflow
There were two good ideas here: 1) using Rtools (; and 2) using binaries from

What I ended up doing to solve this problem (shiny-1.2.0 w/ R 3.3.3 on Windows required httpuv-1.4.5, but only 1.4.1 was available as a binary for R 3.3.x on CRAN), was to download the Windows binary shiny_1.0.5zip from the URL in #2 above.

install.packages("", repos =NULL)
r  rstudio  shiny  packagemanagement  errormessage  sortof  workaround  solution 
13 days ago by kme
[RFC] Add support for accepting a completion · wincent/YouCompleteMe@dfe7b81
This has come up before in a somewhat polemical thread here:


The argument against adding this feature was basically:

> The keys can be remapped, but this is how it works. There is no accept
> key because it is unnecessary. I am not willing to change YCM to force
> the user to add unnecessary key presses just because "that's how other
> editors work".
issue  patches  github  vim  plugin  workaround  forumthread  links  opensource  development  tool 
20 days ago by ezequiel
How do I compile Readline support into Ruby - Stack Overflow |
This is *NOT* work for me. I ended up using 'libedit' instead, after much exasperation, trials, and tribulations.
ruby  readline  compiler  build  toolchain  fromsource  headache  workaround  solution 
20 days ago by kme
Editline Library (libedit) - Port of NetBSD Command Line Editor Library |
ncurses is required for libedit (which is required when you can't get Ruby 2.5.something to build with readline).

In order to build libedit successfully, you either need to have your ncurses headers in the $PREFIX/include directory, or explicitly give CFLAGS *and* CPPFLAGS a '-I/path/to/your/include/ncurses', because ncurses itself puts its headers in a 'ncurses' subdirectory.

The 'CPPFLAGS' one was surprise to me, but if you don't you get this error message while './configure' runs:
<code>checking ncurses.h presence... no
configure: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ncurses.h: proceeding with the compiler's result</code>
build  toolchain  headache  annoyance  workaround  solution  errormessage  lib 
20 days ago by kme
How to pass password to mysql command line - Unix & Linux Stack Exchange |
It doesn't look like you can send a password to 'mysql' on stdin, even though that's where it seems to be expecting it from with the '-p' (no password) option.

So I ended up using the '--defaults-file' option.
mysql  cli  dba  commandline  pipes  subprocess  python  workaround  solution 
28 days ago by kme
Index of /bin/linux/ubuntu |
Some people have reported difficulties using this approach. The issue is usually related to a firewall blocking port 11371. If the first gpg command fails, you may want to try (thanks to Mischan Toosarani for the tip):
<code class="language-bash">
gpg --keyserver hkp:// --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9

and then feed it to apt-key with
<code class="language-bash">
gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | sudo apt-key add -

Another alternative approach is to search for the key at and copy the key to a plain text file, say key.txt. Then, feed the key to apt-key with
<code class="language-bash">
sudo apt-key add key.txt
r  installation  ubuntu  packages  keyserver  errormessage  workaround  solution 
4 weeks ago by kme
gnu make - makefile: concatenate text with infix operator - Stack Overflow |

Louis is correct: there's no magical way of doing this. But if, instead of trying to remove the last item or treat it specially, you instead treat the first item specially, the work is much simpler to understand (I think); you can create a function combine that takes two arguments: the first is the text to put between the words and the second is a space-separated list of words to combine:
<code class="language-makefile">combine = $(word 1,$2) $(foreach W,$(wordlist 2,$(words $2),$2),$1 $W)</code>

Now you can use it like this:
<code class="language-makefile">$(call combine,-o,$(EXCLUDE_LIST))</code>

to get output like:
<code class="language-">$(BASE_DIR)/aaa* -o $(BASE_DIR)/bbb*</code>
devel  build  toolchain  makefile  stringfunctions  workaround  solution 
5 weeks ago by kme
macos - Case-insensitive ls sorting in Mac OSX - Ask Different |
I needed sort's '-V' (version string sort) option, and here's how I got that:
Install the GNU Coreutils package:

sudo port install coreutils
sorting  textprocessing  bsd  mac  osx  shellscripting  workaround  solution 
5 weeks ago by kme

« earlier    

related tags

1015px  2005  2009  2012  2013  2014  2015  2016  2017  2018  4.2  a  ajax  alias  already  alternative  amazon  annoyance  ansi  apache  api  apple  arch  archived.version  article  as  atom  audio  automatically  aws  axis  azw  backdoor  bash  benchmark  blogpost  broadcast  browser  bsd  bug  build  but  carryover  centos  chrome  cli  closure  cloudinit  codecs  codingstandards  colour  commandline  comments  compatibility  compile  compiler  configfile  configini  configuration  connection  container  containers  cops  cors  css  csv  dba  debian  debug  defined  dependencyhell  detached  devel  development  devops  digital  disappear  dns  docker  doctor  documentation  domain  drm  drupal7  dss  dynamic  editor  eee  elb  email  encryption  error  errormessage  es6  eventlistener  example  exceptions  extension  fails  failure  faq  fileformats  filesystem  firefox  fix  flask-admin  flask-sqlalchemy  folder  fonts  for  foreground  forum  forumthread  from  fromsource  frontend  fronting  fuckina  gae  gamepad  gaming  generisk  git  github  glob  gnome  go  golang  google  gopath  gotcha  goto  gui  guide  hack  hackfix  hardwaresupport  have  headache  hotplug  howto  html  i3  idea  ihadthisproblem  images  in  index  indexing  inifile  inner  inputoutput  inputrc  install  installation  intellij-idea  intellij  internet  iphone  is  issue  iteration  java  javascript  jinja  jinja2  jm  join  joystick  kernelmodule  kext  key  keybinding  keyboard  keys  keyserver  kfw  kindle  lang:en  laravel  laravel5  ldap  lib  links  linux  loader  long  loop  lts  lvm  mac  macbook  macos  macosx  maintainable  makefile  markdown  markdownhere  marketing  max_allowed_packet  maybesolution  mdadm  merge  method  mint  mix  mobi  mode  module  mount  multicast  multipath.conf  mysql  n/a  neovim  networking  nginx  node.js  nodejs  nomachine  npm  nvm  nx  objectivec  of  old.reddit  opengl  opensource  openssh  order  osx  outer  outlook  packagemanagement  packages  parse  patch  patches  pc  performance  permission  permissions  pg  pipes  pitfall  plugin  plugins  popups  postgres  powermanagement  primarykey  problem  project  proxy  psql  public  pull  pycharm  python.pip  python  python2.7  qt  query  quirk  r  raid  range  rap  readline  reddit  redirect  reference  registry  remote  remotedesktop  remove  report:  request  research  resolution  response  rhev  rhv-h  rockbox  rshiny  rstudio  ruby  running  safari  screen  scripting  scroll  security  selector  sentry  server  serviceworker  setup  shell  shellscripting  shiny  signal  soap  solution  sonar  sonarqube  sorting  sortof  sound  sql  sqlalchemy  ssh  ssl  stackexchange  stackoverflow  stash  stops  stringfunctions  styling  sub  subprocess  subquery  suddenly  suds  support  svg  swift  swift3  swift4  syntaxhighlighting  sysadmin  tabdelimited  table  tcp/ip  tcp  term  terminal  textprocessing  textui  themes  thunderbird  tip  tips  tmux  tolearn  tool  toolchain  tools  toread  totry  tounderstand  travisci  trick  troubleshoot  ubuntu.xenial  ubuntu  udev  udp  ui  unicode  unifi  unix  upcoming...  upcoming  usb  use  version  viewer  vikeybindings  vim  virtualbox  virtualization  vpn  web  webdevel  webmaster  webpack  wikientry  wildcard  win10  win10home  windows  windows10  with  x11  x2go  xml  xorg  xterm  zeep   

Copy this bookmark: