How to run Mono on Ubuntu 18.04?

I have installed mono from Terminal

enter image description here

How am I going to run it?

My MacBook Has Run Out of Memory

My MacBook Air 2017 13" has run out of memory. I restarted my computer, opened ONE safari page( and got these results.

(macOS Catalina version 10.15.2)

Any recommendations?


alias – How can I run this bash script Need to add two comment together

alias git-repo="xdg-open" + "git config --get remote.origin.url | sed -e 's/:///g'| sed -e 's/ssh/////g'| sed -e 's/git@/https:///g'"

I want to open the link in browser I can get the link with the second section of this script but i just need to add xdg-open like a prefix

postgresql – Error CREATE DATABASE cannot run inside a transaction block

I am trying to create a database from a Java application running in Micronaut framework using jOOQ.

The code


with a PostgreSQL datasource fails with:

org.jooq.exception.DataAccessException: SQL (do $$ begin create database “mydb”; exception when sqlstate ’42P07′ then null; end $$); ERROR: CREATE DATABASE cannot run inside a transaction block

Is there a simple way to turn transactions off within jOOQ just for this statement?

regex – On Windows 10, is there a way to cause a specified script to run on file open attempt based on rulest?

So for a basic example, I could configure it at the drive-level that double-clicking a .zip file will extract it to a new folder in the same directory, then I could configure it so that if the file is located in %CURRENT_USER%/Downloads, it will instead extract it to a new folder in %CURRENT_USER%/ExtractedFolders/ naming the new folder “..-<the file’s name>”.

If I’m working on a java project, I could set it so that if I attempt to open Main.class and the calling app is Windows Explorer, it will instead recompile all the files and then run the compiled result, will if I click on any other .class file, it will attempt to compile that file alone.

How would I go about doing this?

applications – What can I use to run a packet capture on an unrooted phone that I can call through Java

What can I use to run a packet capture on an unrooted phone that I can call through Java. Specifically I want to be able to run the packet capture command using Runtime.getRuntime().exec(command).

I set up termshark using termux but I am unable to access that through Java. I also have tcpdump on my emulator but when I try to run the tcpdump command I get a permission denied error. Are there any alternatives to do this?

unity – What is the right approach for using foot ik for characters in slopes(Specially when in walk or run)?

i use unity but this question applies for any third person controller or enemy controller.

i need to use foot ik on slopes(any condition and any kind of slope) to place foot on right places. as i considered some important third person games, it seems they only use ik when character is idle and not moving otherwise no ik is applying and leg animations run purely.

i use the same approach and result looks good enough but im looking for applying when character is walking or running.

as i looked, some people disable ik when leg is going up and enable it when its coming down. some other do a raycast from foot bone to the ground to check foot need ik on little distance to ground. but all of these are prototypes and has flaws. can you give me a good approach that works best in all conditions?

python – How to run a flask project with custome domain names

I am new to flask and am practicing on it but I have a problem
I have a flask object with name api that I set api.config("SERVER_NAME")="callofvoid.void:5000"
and a hosts file in path my_api/etc/hosts
but when I run my code in path my_api/
I get this error:

 * Environment: development
 * Debug mode: on
Traceback (most recent call last):
  File "/storage/emulated/0/pythonfiles/my_api/", line 59, in <module>
  File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/flask/", line 990, in run
    run_simple(host, port, self, **options)
  File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/werkzeug/", line 1030, in run_simple
socket.gaierror: (Errno 7) No address associated with hostname```

**Note: I run my code offline in Termux **
would you please help me to run code with costume domain in local?

time complexity – Does the O(n) algorithm always run faster than the O(n^3) algorithm? Why?

$O(f(n))$ means: There is a constant c > 0, and an integer $n_0$, so that for every $n > n_0$ the time is less than $c cdot f(n)$.

Note that the integer $n_0$ could be very, very large. And the constant c could be very, very large. If $n ≤ n_0$ then we know nothing whatsoever about the time; the $O(n)$ algorithm could be slower than the $O(n^3)$ algorithm until n is really large. And the constants could be very different. You could have an algorithm that takes $n$ years, and another that takes $n^3$ nanoseconds.

Just for fun, try to figure out for which n the O(n) algorithm is faster, and how long it runs when it runs faster. For example with n = 1,000,000 the first algorithm takes a million years, the second takes $10^{18}$ nanoseconds = $10^9$ seconds < 32 years.

Debian server unable to run Certbot

root@vps434142:~# certbot
Traceback (most recent call last):
File “/usr/bin/certbot”, line 6, in
from pkg_resources import load_entry_point
File “/usr/local/lib/python3.6/site-packages/pkg_resources/”, line 3017, in
File “/usr/local/lib/python3.6/site-packages/pkg_resources/”, line 3003, in _call_aside
f(*args, **kwargs)
File “/usr/local/lib/python3.6/site-packages/pkg_resources/”, line 3030, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/local/lib/python3.6/site-packages/pkg_resources/”, line 659, in _build_master
File “/usr/local/lib/python3.6/site-packages/pkg_resources/”, line 967, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/local/lib/python3.6/site-packages/pkg_resources/”, line 853, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘certbot==0.28.0’ distribution was not found and is required by the application