recentpopularlog in

ezequiel : 2010   102

« earlier  
apt - How do I find the reverse dependency of a package? - Ask Ubuntu
Q: I was wondering if it was possible to check what package another package is a dependency of. [...]

A: You can use apt-cache rdepends --installed jetty to see what depends on jetty. [...]
2010  2019  apt  packagemanager  cli  tool  example  sysadmin  forumthread  stackexchange  links  linux  debian  ubuntu  mint 
5 weeks ago by ezequiel
less - Colors in Man Pages - Unix & Linux Stack Exchange
Q: When I look at a man page in my 'console' (not an xterm) I see some coloration, but I don't get this in my xterm's (e.g. konsole) is there any way I can enable this? hopefully a fairly simple solution? [...]

A: I do the following so that less and man (which uses less) will have color: [...]
xterm  terminal  colour  configuration  howto  tips  example  forumthread  stackexchange  2010  linux  unix  manpage 
6 weeks ago by ezequiel
Successful unbricking of DG834 DG834G (v4) modems - Netgear
Q: Hi.. thought I'd share my experiences with successfully unbricking these Netgear modems

The usual symptoms are the flashing red/green power light and sometimes the default landing page of the Upgrade Firmware page. [...]
forumthread  2010  2014  router  hacking  firmware  links  issue  workaround 
6 weeks ago by ezequiel
How to Keep Alive SSH Sessions
Many NAT firewalls time out idle sessions after a certain period of time to keep their trunks clean. Sometimes the interval between session drops is 24 hours, but on many commodity firewalls, connections are killed after as little as 300 seconds. To avoid having your SSH sessions become unresponsive after e.g. 5 minutes, do the following: [...]
2010  ssh  configuration  tips  example  networking  linux  unix  windows  macosx  remote  blogpost 
11 weeks ago by ezequiel
FutureRecords
Cafe 80s, Cafe 90s, FutureDanceWeekendMixes,

* TopGunMix (2019)
* The Café 80s Yearmix 1980 (2014) [...] 1987 (2019)
* FutureDanceWeekendMixes (2013.01-2019.09)
* FutureDanceMix Spring (2016-2019)
* SummerDanceMegaMix (2015)
* DanceDanceMegaMix (2011)
* Café 90s Megamixes
* Café 80s Megamixes
* Café 70s Megamixes
* SummerMegaMixes (2012)
* RomanticMegaMixes (2013-2015)
* Other Mixes
music  free  downloads  mp3  audio  1980  1990  2000  2010  2019 
november 2019 by ezequiel
Event-driven scripting and automation – IBM Developer
Vim’s editing functions behave as if they are event-driven. For performance reasons, the actual implementation is more complex than that, with much of the event handling optimized away or handled several layers below the event loop itself, but you can still think of the editor as a simple while loop responding to a series of editing events. [...]

Other parts:
https://developer.ibm.com/articles/l-vim-script-1/
https://developer.ibm.com/tutorials/l-vim-script-2/
https://developer.ibm.com/tutorials/l-vim-script-3/
https://developer.ibm.com/tutorials/l-vim-script-4/
https://developer.ibm.com/tutorials/l-vim-script-5/
vim  tutorial  scripting  automation  guide  example  configuration  tool  ibm  article  development  2010 
october 2019 by ezequiel
stack trace info in errorInfo in Tcl - Stack Overflow
Q: [...] The problem is : in non-interactive mode when I want to catch this error and then puts the errorInfo to get a stack trace, it'll merely display the terse info. How can I get the detailed stack trace like above?
debug  internals  tcl  forumthread  stackexchange  2010  example  tips 
october 2019 by ezequiel
Errors management [tcl-lang.org]
08-Feb-2010 - Error treatment in programming always seems to be an underestimated topic, often untold by and to newbies, while it's a useful thing that might be naturally taught along with the basics in a programming language. Only after some two years of studying Tcl/Tk I was able to find some information about this subject and develop myself a very basic and limited idea of how applications can avoid being crashed by bugs or misuse, so I would like to discuss some error management techniques with the experienced folks, while building up a tutorial from this discussion (something highly useful by aspiring Tclers like me). And, please, treat the errors you find...
tcl  programming  tips  howto  forumthread  example  links  2010  2018 
october 2019 by ezequiel
How to play backups of ALL PS2 CD-ROM games.
Q: I have only tested this on a 79001 slim with some paper stuffed into the tray sensor. [...]
2010  forumthread  vg.plat.ps2  tips  example  backup  cd 
july 2019 by ezequiel
PCSX2: Not possible to run BIOS/Game
A: You just have to put the BIOS folder in the root of PCSX2
(example - C:\program files (x86)\pcsx2 0.9.7\bios)
then it should work!!
so have I sloved this problem..))))
2010  forumthread  issue  workaround  vg.plat.ps2  emulator  bios  linux  ubuntu  debian  windows  tips 
july 2019 by ezequiel
"Launch App" in ESR gui?
A: [...] Like Berion implied, this allows uLaunchELF (aka: uLE) or other homebrews started from uLE to access an ESR-patched DVD-R disc (aka: PS2DVDV disc) as if you were using a normal DVD-ROM disc on a modchipped PS2. [...]
2010  forumthread  vg.plat.ps2  patches  backup  dvd  cd  gui 
july 2019 by ezequiel
How to start/stop iptables on Ubuntu? - Server Fault
Q: How can I start/stop the iptables service on Ubuntu?
I have tried:
service iptables stop
but it is giving "unrecognized service".
Why is it doing so? Is there any other method?
(me: several links and answers describing several methods to store firewall rules, for example: 'ufw', 'netfilter-persistent', etc.)
2010  iptables  tips  example  links  networking  security  ubuntu  debian  firewall  sysadmin  configuration  linux  stackexchange  forumthread 
may 2019 by ezequiel
How do I delete a Git branch locally and remotely? - Stack Overflow
Q: Steps for deleting a branch:
For deleting the remote branch:
[...]
For deleting the local branch, you have three ways: [...]
git  forumthread  2010  stackexchange  tips  example  remote 
may 2019 by ezequiel
JavaScript case insensitive string comparison - Stack Overflow
Q: How do I perform case insensitive string comparison in JavaScript?
2010  forumthread  stackexchange  javascript  example  tips  node.js 
may 2019 by ezequiel
How to use git-bundle for keeping development in sync? - Stack Overflow
Q: I need to keep my development trees in sync on different computers, with no network connection between them. [...]
git  cli  example  tips  forumthread  stackexchange  2010  linux  unix  windows  macosx 
april 2019 by ezequiel
Efficient Python array with 100 million zeros? - Stack Overflow
Q: What is an efficient way to initialize and access elements of a large array in Python?

I want to create an array in Python with 100 million entries, unsigned 4-byte integers, initialized to zero. I want fast array access, preferably with contiguous memory. [...]
2010  forumthread  stackexchange  python  tips  example  memory  performance 
april 2019 by ezequiel
python - Filter dict to contain only certain keys? - Stack Overflow
Q: I've got a dict that has a whole bunch of entries. I'm only interested in a select few of them. Is there an easy way to prune all the other ones out?
2010  2017  python  example  tips  programming  forumthread  stackexchange 
february 2019 by ezequiel
How to import other Python files? - Stack Overflow
How do I import other files in Python?

1. How exactly can I import a specific python file like import file.py?
2. How can I import a folder instead of a specific file?
3. I want to load a Python file dynamically at runtime, based on user input.
4. I want to know how to load just one specific part from the file.
2010  python  tips  example  forumthread  stackexchange  programming 
december 2018 by ezequiel
changing vim's vertsplit character to │ - Stack Overflow
Q: [...] How would one, on windows xp's cmd, gvim 7.2 change vertsplit character, so that instead of default | it is │ (so that it makes a full, and not an splitted line) ? [...]
2010  forumthread  vim  configuration  fonts  tips  gui 
december 2018 by ezequiel
The Oroborus Project
Oroborus basically is a really minimalistic window manager, which is about 75kb small on a PowerPC machine and about 63kb on an x86 machine. "Minimalistic" means that the Oroborus window manager doesn't provide some things other window managers provide. So you will need some external tools also provided by this project.
xquartz  windowmanager  oldversion  2005  opensource  macosx  2010  tools  x11  links 
august 2018 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 
august 2018 by ezequiel
"Interview With An Applicant" - Sketch Comedy - YouTube
Sketch comedy "Interview With An Applicant"
Starring:
Jill Butterfield as The Applicant
funny  comedy  english  2010  video  youtube 
july 2018 by ezequiel
git checkout - Git: can't undo local changes (error: path ... is unmerged) - Stack Overflow
Q: I have following working tree state
[...]
The same file in both sections, new and modified? What should I do?
2010  forumthread  stackexchange  cli  git  example  tips 
march 2018 by ezequiel
ubuntu - Force software based opengl rendering - Super User
Q: How may I force an application to use software based opengl rendering on Ubuntu?
opengl  fix  workaround  ubuntu  2010  forumthread  stackexchange  issue  sharedlibraries  sysadmin  example  tips 
february 2018 by ezequiel
python - Store output of subprocess.Popen call in a string - Stack Overflow
Q: I'm trying to make a system call in Python and store the output to a string that I can manipulate in the Python program. [...]
2010  python  stackexchange  forumthread  example  multitasking  linux  unix  windows  macosx  tips  links 
january 2018 by ezequiel
What are the calling conventions for UNIX & Linux system calls on i386 and x86-64 - Stack Overflow
Q: Following links explain x86-32 system call conventions for both UNIX (BSD flavor) & Linux: [...]
But what are the x86-64 system call conventions on both UNIX & Linux?
linux  abi  links  gcc  c++  x86  amd64  assembly  tips  example  bsd  unix  kernel  stackexchange  forumthread  2010 
november 2017 by ezequiel
c++ - GCC ABI compatibility - Stack Overflow
Q: As far as I've understood, it is not possible to link libraries that use different versions of GCC's Application Binary Interface (ABI). Are there ABI changes to every version of GCC? Is it possible to link a library built with 4.3.1 if I use, say, GCC 4.3.2? Is there a matrix of some sort that lists all the ways I can combine GCC versions?
forumthread  stackexchange  2010  gcc  c++  compatibility  windows  linux  abi  compiler  links 
november 2017 by ezequiel
linux - pipe only stderr through a filter - Stack Overflow
Q: Is there any way, in bash, to pipe stderr through a filter before unifying it with stdout? That is, I want: [...]
2010  forumthread  stackexchange  tips  example  bash  shell  unix  posix  scripting 
july 2017 by ezequiel
Git commit date - Stack Overflow
Q: Other than parsing git log for the date string, is there a Git native way to report the date of a certain commit?
2010  forumthread  stackexchange  git  tips  example  cli 
july 2017 by ezequiel
git - Show the original branch for a commit - Stack Overflow
Q: I've used git-blame to find a particular commit. Now I want to find the branch that it originally came from. (From there, I'll use the branch name to find the particular ticket) [...]
2010  stackexchange  forumthread  cli  git  example  tips  development  tool 
may 2017 by ezequiel
Finding what branch a git commit came from - Stack Overflow
Q: Is there any way to find out what branch a commit comes from given its sha1? [...]
git  cli  example  tips  forumthread  stackexchange  2010  tool  development 
may 2017 by ezequiel
ioloop.add_handler raises IOError only if ioloop._poll is select.epoll · Issue #104 · tornadoweb/tornado
I'm trying to serve a large file during a GET request asynchronously. The following code works with os.popen("cat myfile"), but doesn't work with open("myfile") unless select.poll or ioloop._Select is used. If tornado.ioloop._poll == select.epoll, then I get an IOError (see below)
tornado.python  issue  github  concurrency  2010  forumthread 
april 2017 by ezequiel
python - How to print the full traceback without halting the program? - Stack Overflow
Q: Some other answer have already pointed out the traceback module.
Please notice that with print_exc, in some corner cases, you will not obtain what you would expect. In Python 2.x: [...]
2010  forumthread  stackexchange  logging  debug  python  tips  links  howto  example 
march 2017 by ezequiel
debugging - How to force python's VM to print a stack trace? - Stack Overflow
Q: I'm dealing with a python-written server that locks up, and stops working, including logging. I wonder if there's a python equivalent to java's "kill -3" signal that at least prints the current stacktrace.
2010  stackexchange  forumthread  python  debug  tips  example  links  dump  unix  linux 
march 2017 by ezequiel
class - Organizing Python classes in modules and/or packages - Stack Overflow
Q: [...] But I fear that the files become pretty large, if I put all related classes into a single module file. What is the Python best practise here? Is one class per file unusual?
2010  forumthread  stackexchange  python  library  design  tips  example  links  bestpractice 
march 2017 by ezequiel
How does Python's super() work with multiple inheritance? - Stack Overflow
Q: I'm pretty much new in Python object oriented programming and I have trouble understanding the super() function (new style classes) especially when it comes to multiple inheritance. [...]
python  forumthread  stackexchange  2010  example  tips  ood  internals 
february 2017 by ezequiel
How to delete a Git branch both locally and remotely? - Stack Overflow
Q: I want to delete a branch both locally and on my remote project fork on GitHub. [...]
git  remote  cli  example  howto  tips  scm  forumthread  stackexchange  2010 
february 2017 by ezequiel
bash - How to pipe stderr, and not stdout? - Stack Overflow
Q: I have a program that writes information to stdout and stderr, and I need to grep through what's coming to stderr, while disregarding stdout. [...]
2010  forumthread  stackexchange  bash  shell  unix  linux  tips  example  cli 
january 2017 by ezequiel
backup - Is "git push --mirror" sufficient for backing up my repository? - Stack Overflow
Q: I'm a solo developer, working in a local Git repository. For backups, I want to send an exact copy of that repository off to another server. [...]
2010  forumthread  stackexchange  git  backup  example  tips  cli 
january 2017 by ezequiel
Git: Oops. I Forgot To Add Those New Files Before Committing | ThoughtStream.new :derick_bailey
I do this pretty regularly… working away, adding files, finish something up and commit. Only after I commit do I realize that I forgot to add the new files to git. [...]
git  tips  cli  example  tool  blogpost  2010 
december 2016 by ezequiel
Make debugging easier with custom pretty-printers - RethinkDB
One of the best features in Gdb 7.0+ is the ability to write pretty-printers in Python. Instead of printing a vector and seeing this: [...]
2010  blogpost  gdb  debugger  example  tips  python  scripting 
november 2016 by ezequiel
Syncing Mac OS X's NTP Client Via The Command Line - Ars Technica OpenForum
Q: Just curious, for those of you who use ntp servers on your network, how do you instruct your Mac OS X clients to sync their time/date with the ntp server? [...]
ntp  issue  workaround  tips  cli  example  configuration  sysadmin  macosx  2010  forumthread 
october 2016 by ezequiel
View list of embedded fonts in PDF file with Preview - Super User
Q: [...] OS X's Preview can also display metadata, albeit a more limited subset (under Tools > Show Inspector). However, you can't see embedded font information with Preview.
Is there a way in OS X (preferably with Preview, and not with Acrobat) to see what fonts are embedded in a PDF file?
pdf  forumthread  2010  stackexchange  macosx  cli  unix  tips  example  links  fonts  fileformats 
october 2016 by ezequiel
javascript - How do I disable right click on my web page? - Stack Overflow
Q: Can I disable right click on my web page without using Javascript? I ask this because most browsers allow user to disable Javascript. [...]
forumthread  stackexchange  javascript  browser  scripting  tips  howto  2010  links 
september 2016 by ezequiel
Hosting an ePub requires a web server MIME type change - Gordon Meyer
Note to self: Most web servers aren't configured to properly serve up an .epub file. [...]
blogpost  apache  configuration  mime  epub  tips  sysadmin  unix  linux  webserver  2010 
september 2016 by ezequiel
gobeProductive [archive.org]
All this with one powerful, easy-to-use program...   GoBeProductive.
officeapp  2010  archived.version  software  commercialsoftware  beos 
september 2016 by ezequiel
The Day MESSI Started The Best Player Ever Debate ● Lionel Messi vs Arsenal FC [06/04/2010] ||HD|| - YouTube
(me: Messi scores 4 goals in the 2nd leg of the first round of the knock-out stages, against Arsenal, in the Camp Nou)
(me: short highlights and post-match analysis from Sky Sports)
2010  messi  fcbarcelona  football  sports  video  youtube  english 
september 2016 by ezequiel
Lionel Messi vs Arsenal Home 09-10 English Commentary (UCL) 720p - YouTube
(me: Messi scores 4 goals in the 2nd leg of the first round of the knock-out stages, against Arsenal, in the Camp Nou)
2010  messi  fcbarcelona  football  sports  video  youtube 
september 2016 by ezequiel
Lionel Messi vs Arsenal 4-1 Highlights UCL 2009/10 (Home) HD 720p English Commentary - YouTube
(me: Messi scores 4 goals in the 2nd leg of the first round of the knock-out stages, against Arsenal, in the Camp Nou)
2010  messi  fcbarcelona  football  sports  video  youtube 
september 2016 by ezequiel
Creating Cross Browser HTML5 Forms Now, Using modernizr, webforms2 and html5Forms
Calendars, colour swatches, sliding widgets, client side validation: this is the nirvana that the HTML5 forms module promises. Some would say “So what? I’ve seen this on the web for years!”, and they’d be right. There have been some really brilliant people coding some really interesting widget and validation frameworks, so why should we change?
html  html5  compatibility  library  howto  guide  links  tips  webapp  javascript  2010  blogpost  development  tutorial  example 
september 2016 by ezequiel
How to get the FreeBsd system information? | The FreeBSD Forums
Q: How to get the FreeBsd system hardware and software basic information using terminal command with guest login?
freebsd  sysadmin  tips  howto  cli  example  2010  forumthread 
august 2016 by ezequiel
productivity - What is your most productive shortcut with Vim? - Stack Overflow
Q: I've heard a lot about Vim, both pros and cons. It really seems you should be (as a developer) faster with Vim than with any other editor. I'm using Vim to do some basic stuff and I'm at best 10 times less productive with Vim. [...]
editing  editor  tutorial  tips  links  forumthread  stackexchange  2010 
august 2016 by ezequiel
How to have multiple versions of Ruby AND Rails, and their combinations on Windows? - Stack Overflow
Q: Since Windows doesn't support rvm (Ruby version Manager), how do we have
* Ruby 1.8.7, Rails 2.3.8;
* Ruby 1.8.7, Rails 3.0.0;
* Ruby 1.9.2, Rails 3.0.0;
on the same PC? Virtual machines can be used but it is kind of troublesome.
windows  ruby  automation  configuration  howto  tips  forumthread  stackexchange  links  example  2010 
july 2016 by ezequiel
Is html case sensitive? - Stack Overflow
Q: This is a pretty basic question, but is html case sensitive?
html  html5  standards  links  forumthread  stackexchange  2010 
july 2016 by ezequiel
Javascript fastest way to duplicate an Array - slice vs for loop - Stack Overflow
Q: In order to duplicate an Array in Javascript, does anyone know (and maybe tested) if it's faster to use: [...]
javascript  performance  links  browser  tips  example  2010  forumthread  stackexchange 
july 2016 by ezequiel
7 Of The Best Ubuntu Terminal (Fixed Width) Fonts ~ Web Upd8: Ubuntu / Linux blog
You asked for it so here it is: a post with 7 of the best Ubuntu terminal (fixed width or monospace) fonts. I say 'Ubuntu' because the installation instruction for most of these fonts are for Ubuntu.
ubuntu  debian  ttf  x11  fonts  tips  screenshots  font  comparison  terminal  editor  2010 
july 2016 by ezequiel
bash - What is the difference between PS1 and PROMPT_COMMAND - Stack Overflow
Q: While taking a look at this awesome thread I noticed that some examples use 'PS1' and some use 'PROMPT_COMMAND' (and some use both) when setting the prompt in a bash shell. What is the difference between the two? An SO search and even a bit of broader google searching aren't getting me results, so even a link to the right place to look for the answer would be appreciated. Thanks!
bash  configuration  example  links  cli  forumthread  stackexchange  unix  linux  macosx  cygwin  2010 
july 2016 by ezequiel
files - In Bash, are wildcard expansions guaranteed to be in order? - Server Fault
Q: Is the expansion of a wildcard in Bash guaranteed to be in alphabetical order? [...]
forumthread  stackexchange  2010  shell  bash  scripting  compatibility  unix  linux  macosx  cygwin  links  tips 
july 2016 by ezequiel
Filenames and Pathnames in Shell (bash, dash, ash, ksh, and so on): How to do it Correctly
Many Bourne shell scripts (as run by bash, dash, ash, ksh, and so on) do not handle filenames and pathnames correctly on Unix-like/POSIX systems. Some shell programming books teach it wrongly, and even the POSIX standard sometimes gets it wrong. Thus, many shell scripts are buggy, leading to surprising failures and in some cases security vulnerabilities (see the “Secure Programming for Linux and Unix HOWTO” section on filenames, CERT’s “Secure Coding” item MSC09-C, CWE 78, CWE 73, CWE 116, and the CWE/SANS Top 25 Most Dangerous Programming Errors). This is a real problem, because on Unix-like systems (e.g., Unix, Linux, or POSIX) shells are universally available and widely used for lots of basic tasks.
bash  dash  scripting  shell  example  tips  howto  guide  article  2010  2015  links  compatibility  unix  linux  macosx  cygwin  ksh 
july 2016 by ezequiel
HOWTO: Detect bash from shell script - Stack Overflow
Q: [...] What is the most reliable way to detect the current shell across Linux, Cygwin, OS X?
What I know is $BASH, but I am wondering the chances it could fail.
bash  shell  scripting  example  tips  forumthread  stackexchange  unix  linux  cygwin  macosx  2010 
july 2016 by ezequiel
user interface - A pretty and feature rich git GUI for Linux - Stack Overflow
Q: I was checking out for a rich GUI for Git on Linux. Of late I have started using it a lot and find that even though command-line is very useful, I would still want a GUI at my disposal since I am not still very much aware with the advanced features. [...]
git  gui  tool  development  forumthread  stackexchange  2010  links  software  reviews  screenshots  comparison 
july 2016 by ezequiel
Vim's Omnicompletion with Python just doesn't work - Stack Overflow
I've searched around for an hour, both on Stack Overflow and elsewhere. Alas! Please help. Vim's omnicompletion just doesn't work. [...]
(me: he's talking about autocompletion for Python)
python  vim  ctags  issue  forumthread  stackexchange  tool  development  configuration  tips  2010 
may 2016 by ezequiel
Python Unit Testing: Automatically Running the Debugger when a test fails - Stack Overflow
Q: Is there a way to automatically start the debugger at the point at which a unittest fails? [...]
python  forumthread  stackexchange  tips  howto  example  tool  debugger  2010  2015 
april 2016 by ezequiel
Find the parent branch of a git branch - Stack Overflow
Q: [...] What I want to be able to do on my remote repo using hooks, is for pushes to feature to be refused unless commit f is a direct decendant of develop HEAD. i.e. the commit tree looks like this because feature has been git rebase on d. [...]
forumthread  stackexchange  example  tips  2010  git  scm  script  scripting  cli  links 
march 2016 by ezequiel
Ruby require path - Stack Overflow
Q: I have a Ruby code with different classes in a few files. In one file, I start the execution. This file requires my other files.
* Is this a good way to start a ruby code? [...]
ruby  issue  2010  forumthread  stackexchange  tips 
february 2016 by ezequiel
A successful Git branching model » nvie.com
In this post I present the development model that I’ve introduced for some of my projects (both at work and private) about a year ago, and which has turned out to be very successful. I’ve been meaning to write about it for a while now, but I’ve never really found the time to do so thoroughly, until now. I won’t talk about any of the projects’ details, merely about the branching strategy and release management.
git  development  scm  bestpractice  2010  tips  tool  blogpost 
february 2016 by ezequiel
performance - Why do people say that Ruby is slow? - Stack Overflow
Q: I like Ruby on Rails and I use it for all my web development projects. A few years ago there was a lot of talk about Rails being a memory hog and about how it didn't scale very well but these suggestions were put to bed by Gregg Pollack here.
Lately though, I've been hearing people saying that Ruby itself is slow. [...]
ruby  performance  comparison  forumthread  stackexchange  development  language  2010 
january 2016 by ezequiel
How to detect virtualization (on Linux)
Frequently, our customers want to install our software in a virtual machine. This can be OK, but frequently they hit a CPU, memory, or IO limit caused by running in a constrained virtual environment. When this happens, we really like to know if they're running under virtualization when we try to support them. Here's some tricks to detect, from a shell, if the system is virtualized.
virtualisation  shell  cli  linux  tips  sourcecode  example  howto  cpu  2010 
january 2016 by ezequiel
c++ - What is the copy-and-swap idiom? - Stack Overflow
Q: What is this idiom and when should it be used? Which problems does it solve? Does the idiom change when C++11 is used?
c++  exception  forumthread  stackexchange  programming  bestpractice  example  2010 
november 2015 by ezequiel
c++ - What is The Rule of Three? - Stack Overflow
Q: What does copying an object mean? What are the copy constructor and the copy assignment operator? When do I need to declare them myself? How can I prevent my objects from being copied?
c++  exception  forumthread  stackexchange  programming  bestpractice  example  2010 
november 2015 by ezequiel
Preserve bash history in multiple terminal windows - Unix & Linux Stack Exchange
Q: I consistently have more than one terminal open. Anywhere from two to ten, doing various bits and bobs. Now let's say I restart and open up another set of terminals. Some remember certain things, some forget.
I want a history that:
* Remembers everything from every terminal
* Is instantly accessible from every terminal (eg if I ls in one, switch to another already-running terminal and then press up, ls shows up)
* Doesn't forget random things if there are spaces at the front of the command.
Anything I can do to make bash work more like that?
bash  shell  tips  forumthread  stackexchange  2010  howto  configuration  cli  linux  unix  script  scripting  example 
september 2015 by ezequiel
Call-stack for exceptions in C++ - Stack Overflow
Q: Today, in my C++ multi-platform code, [...] I have the complete call stack, which helps me to trace the exception's cause. Is it a good practice, or are there better ways to get the call stack for the exception?
exception  stackexchange  forumthread  c++  tips  programming  2010 
august 2015 by ezequiel
« earlier      
per page:    204080120160

Copy this bookmark:





to read