Categories
Ask Games RPG Games

How does “ranged” work for effects that don’t have an attack roll?

Normally, ranged attacks have 3 range categories (short/medium/long) with different penalties to the attack roll (-0/-2/-5). Which one do you use if an effect doesn’t have an attack roll? E.g. an area attack, or a non-attack effect such as Move Object or Create?

Categories
Ask Chemistry

Ring expansion in cyclo compounds

In the following reaction, why does ring expansion not take place ? Mechanism that was the correct one : In the second step when there is a protonated carbon the ring should expand to become 6 membered as that is more stable. This should be folowed by a methyl shift from quaternary to tertiary and […]

Categories
Linux Mastering Development

`set -x` debugging my `.zshrc`

When I use set -x to debug a command it output some extra lines. % set -x +precmd_update_git_vars:1> [ -n ” ‘]’ +precmd_update_git_vars:1> [ ‘!’ -n ” ‘]’ +precmd_update_git_vars:2> update_current_git_vars +update_current_git_vars:1> unset __CURRENT_GIT_STATUS +update_current_git_vars:3> [[ python == python ]] +update_current_git_vars:4> _GIT_STATUS=+update_current_git_vars:4> python /home/ismail/zshfiles/gitstatus.py +update_current_git_vars:4> _GIT_STATUS=” +update_current_git_vars:6> __CURRENT_GIT_STATUS=( ” ) +update_current_git_vars:7> GIT_BRANCH=” +update_current_git_vars:8> GIT_AHEAD=” +update_current_git_vars:9> GIT_BEHIND=” […]

Categories
Linux Mastering Development

Optimizing SSD-HDD configuration in MBP(Mid-2012,A1278)

First and foremost, I don’t even know a single concept about Unix and Linux. I just wanted to upgrade my mid-2012 MacBook pro A1278 with SSD(Crucial MX500 500GB) as the main drive(OS) and having my HDD with a caddy as the secondary drive. My main objective is to optimize my SSD’s space for best performance […]

Categories
Linux Mastering Development

how to find specific type of file that are modified within a certain range of dates

There are many questions here that seek files modified within a certain date range. How do we use linux (Ubuntu) command line to search for a certain type (e.g. *.odt) file within a certain date range?

Categories
Linux Mastering Development

how to monitor tcp syn queue (request queue)

i’m implementing a solution against TCP syn flood attack in linux kernel 4.15 and i want to monitor the size of TCP SYN queue for debugging purposes, how can i do that ?

Categories
Linux Mastering Development

using $ arguments on the command line and providing values for them at the end

rather than write scripts for every single process I need to do, I like to just save commands in a text file and copy and paste them on the command line. Of course, some of the specifics of the commands change each time I paste and run it. Then I need to arrow thru the […]

Categories
Linux Mastering Development

evdev events not showing up in libinput or X11

Some background: I’m using a VEIKK A50 graphics tablet with a custom patched version of this driver to add button support. The tablet registers 3 evdev devices upon being plugged in – pen events come through one of them, button events come through the second and I’m assuming the third is used for the gesture […]

Categories
Linux Mastering Development

How do `cal` options work?

cal doesn’t work with any options. cal -M returns Usage: cal [general options] [-jy] [[month] year] cal [general options] [-j] [-m month] [year] ncal -C [general options] [-jy] [[month] year] ncal -C [general options] [-j] [-m month] [year] ncal [general options] [-bhJjpwySM] [-H yyyy-mm-dd] [-s country_code] [[month] year] ncal [general options] [-bhJeoSM] [year] General options: […]

Categories
Linux Mastering Development

Can I get a service to access the terminal?

I have a flask app that I wrote with Python and published with gunicorn service, but I learned that the services have no communication with the terminal, so I can’t use pexpect module. Is there a way to make the service reach the terminal? The gunicorn service file and python code are available at this Stack Overflow […]