forumthread   983

« earlier    

How to prevent commands to show up in bash history? - Stack Overflow
Q: Sometimes, when I run commands like rm -rf XYZ, I don't want this to be recorded in bash history, because I might accidentally run the same command again by reverse-i-search. Is there a good way to prevent this from happening?
2011  bash  unix  linux  cygwin  tips  example  configuration  cli  stackexchange  forumthread 
5 weeks ago by ezequiel
Excluding some of the commands from being getting stored in bash history - Unix & Linux Stack Exchange
Q: Is there any way to exclude commands like rm -rf, svn revert from being getting stored in bash history? Actually I, by mistake, have issued them a number of times even though I have no intent to do, just because I am doing things quickly and it happened. Hence results in lost of lots of work I have did so far.
2012  bash  unix  linux  cygwin  tips  example  configuration  cli  stackexchange  forumthread 
5 weeks ago by ezequiel
linux - Have tmux wait until I SSH in, to complete rest of Tmuxinator script - Unix & Linux Stack Exchange
A: Some notes of wait-for
So the basic usage of wait-for isn't too complicated if you think of it as analogous to threading concurrency primitives
It's not really connected to other tmux functionality, just a convenient implementation of IPC.
wait-for event_name is like waiting for an event wait-for -S event_name is a means of signalling an event [...]
2014  forumthread  stackexchange  tmux  tips  example  scripting  unix  linux 
5 weeks ago by ezequiel
Make tmux block until program completes - Unix & Linux Stack Exchange
A: tmux 1.8 introduced the wait-for command that can help do what you want:
[...]
The “channel” name (p12346-neww-done in the example above) can be anything you like (as long as it is the same in both places; if you anticipate multiple potentially simultaneous invocations, then you will probably also want to use a unique value for each invocation). [...]
tmux  2014  forumthread  stackexchange  scripting  example  tips  unix  linux 
5 weeks ago by ezequiel
home directory - Path for fonts? - Ask Ubuntu
Q: I searched already for this question and got a page on here where someone answered with "go to home/username/.fonts" or somesuch. I ran into a couple problems: [...]

(me: look into '/etc/fonts/fonts.conf', '/etc/fonts/conf.d/50-user.conf', '/etc/fonts/conf.d/*.conf' (look for '<dir>' entries))
2014  forumthread  stackexchange  ubuntu  debian  configuration  fonts  linux  tips  example 
6 weeks ago by ezequiel
How do I check the version of NeoVim in vimscript? - Vi and Vim Stack Exchange
Q: I can check vim's version by using v:version, and I can check if I am running in nvim by doing has('nvim'). Is there a variable like v:version in neovim to let me know the nvim version, like 0.1.4 or 0.1.6?
2016  forumthread  stackexchange  neovim  scripting  tips  example  compatibility  howto 
7 weeks ago by ezequiel
autocmd - Suppress output from a vim autocomand - Vi and Vim Stack Exchange
Q: I have an autocommand defined in my vimrc:

au BufWritePost * !./make.sh
The script make.sh compiles a .tex file 3 times and I don't want the output to be displayed.

Is there a way to suppress the output? [...]
2015  forumthread  stackexchange  vim  scripting  issue  workaround  example  tips 
7 weeks ago by ezequiel
How do I define a vim function on a single line? - Super User
A: [...] One option would be to use exe:

exe ":function! SomeFunc() \n return 0 \n endfunction"

The \n characters are interpreted as newlines by the double-quoted strings. This does mean you should be careful to escape any special sequences. [...]
2014  forumthread  stackexchange  vim  scripting  tips  example  issue  workaround 
7 weeks ago by ezequiel
The endless litany of tmux and nvim color problems : neovim
A: [...] If your terminfo database doesn't have any entry for the terminal type tmux-256color, try to build a more complete one in your home directory: [...]
tmux  terminal  colour  configuration  tips  example  cli  links  linux  unix  posix  bsd  macosx  forumthread  reddit 
7 weeks ago by ezequiel
exception handling - Try-catch in Vimscript - Stack Overflow
Q: I am trying to catch an error (E490) in Vim like this:
:try | foldopen! | catch | | endtry
[...]
I would like to open all folds if any are present. [...]
2011  forumthread  stackexchange  vim  scripting  example  tips 
7 weeks ago by ezequiel
rebase - Change first commit of project with Git? - Stack Overflow
Q: I want to change something in the first commit of my project with out losing all subsequent commits. Is there any way to do this? [...]
2010  forumthread  stackexchange  cli  git  tips  example  unix  linux  windows  macosx 
8 weeks ago by ezequiel
Ubuntu virtual terminal cursor style resetting - Super User
Q: I am running Ubuntu 14.04 and using one of the virtual terminals (TTY[1-6], accessible via Ctrl-Alt-F[1-6]); I want to permanently change the appearance of my cursor from the apparent default, a blinking underline, to a blinking box. I can change it temporarily, but it is consistently resetting when certain applications are run. [...]
(me: good explanation in the "accepted answer"; quoted excerpt from tmux(1) man page provided the only command that worked to fix tmux after neovim left the terminal in a "garbage-writing" state: printf '\033[0 q')
2016  forumthread  stackexchange  textui  terminal  configuration  issue  workaround  links  unix  linux  xterm  tmux  neovim  tips  example  debian  ubuntu  mint 
8 weeks ago by ezequiel
tmux status-bar corrupted after catting a binary file, how to reset? - Unix & Linux Stack Exchange
Q: I accidentally screw up my tmux terminal after cating a binary file. Now my tmux is messed up. Detaching and re-attaching doesn't help, nor does a redraw (C-b r). Running reset only redraws the active pane, not the rest [...]
2012  tmux  issue  workaround  terminal  tips  forumthread  stackexchange  linux  unix  xterm  textui 
8 weeks ago by ezequiel
My gamepad(arcade stick) not work only in linux : linux4noobs [reddit]
Q: Hi guys, i buyed a pxn arcade stick this one i can play without problems on all my devices, but on linux(antergos kde and kernel 4.16) the arcade is dead, no leds(only macro button led work) or anything else works. [...]
hardwaresupport  linux  sysadmin  issue  workaround  2018  forumthread  reddit  kernelmodule  gaming  usb  udev 
8 weeks ago by ezequiel
linux - How to make iptables rules expire? - Server Fault
Q: Someone told me this is possible, but I can't find anything on google or man pages.
I need to ban IPs for a certain amount of time, and then have then unbanned automatically.
2011  forumthread  stackexchange  firewall  linux  cli  example  sysadmin  network  security  script 
9 weeks ago by ezequiel
opengl - Disable graphic accelleration on CentOS 7 - Mesa Libraries - Stack Overflow
Q: I have finally successfully compiled a Qt app (C++) using OpenGL on a CentOS 7 machine. The application was originally developed for Windows.
I have an OpenGL scene that is showing a black screen. It works if I compile the project with the Windows version of Qt in a Windows environment. [...]
2017  forumthread  stackexchange  compatibility  opengl  linux  unix  xorg  x11  issue  workaround  shell  tips  qt 
10 weeks ago by ezequiel
Sansa Fuze+ Firmware 02.37.01 - SanDisk Forums
SanDisk has just released  firmware version 02.37.01 for the Sansa Fuze+. Download links and the release notes are available below.
sansa  sansa.fuze+  firmware  downloads  links  forumthread  hardwaresupport  audio  2011 
10 weeks ago by ezequiel
Sansa Fuze+ Firmware 02.38.06 - SanDisk Forums
[...] SanDisk has just released  firmware version 02.38.06 for the Sansa Fuze+. Download links and the release notes are available below. [...]
sansa  sansa.fuze+  firmware  downloads  links  forumthread  hardwaresupport  audio  2017 
10 weeks ago by ezequiel

« earlier    

related tags

2005  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  abi  adobe  air  amazon.aws  amazon.boto  amazon.s3  amd64  api  apparmor  apple  assembly  audio  bash  bitcoin.cash  bitcoin  booting  browser  bsd  build  c++  cli  codingstandards  colour  comparison  compatibility  compiler  compression  configuration  cpu  crypto.blockchain  cryptocurrency  ctags  customize  cygwin  database  debian  desktop  development  downloads  encoding  encryption  english  example  faq  fileformats  filesystem  finances  firewall  firmware  fix  fonts  gaming  gcc  gimp  git  github  gnome  gnu  gui  guide  harddisk  hardwaresupport  howto  info  install  installation  issue  javascript  json  kernel  kernelmodule  laptop  library  links  linux  logging  mac  macosx  mint  monero  mount  multitasking  neovim  network  networking  node.js  nvidia  onvif  opengl  openssl  packagemanager  partition  pdf  performance  playingcards  posix  powermanagement  process  python.pip  python  qt  reddit  sansa.clip+  sansa.fuze+  sansa  scratch  screenshots  script  scripting  security  sharedlibraries  shell  software  ssl  stackexchange  sysadmin  terminal  textprocessing  textui  themes  time  tips  tls  tmux  tool  tools  ubuntu.precise  ubuntu.trusty  ubuntu.xenial  ubuntu  udev  ui  unicode  unix  usb  vim  virtualbox  vpn  webcam  windows  wine  winecompatible  workaround  x11  x2go  x86  xfce  xorg  xrdp  xterm 

Copy this bookmark:



description:


tags: