Categories
Linux Mastering Development Ubuntu

PHP 7.2-FPM error

Honestly this is so frustrating . I don’t know what am i doing wrong. I want to set up a virtual host/service block. When I browse www.example.com , it should show me This is a test page www.example.com ! UPDATE : I GET THIS ERROR in nginx error log file. 11:40:52 [crit] 12959#12959: *9 connect() […]

Categories
Mastering Development

Sorting a list using sorted() by passing a list as the key argument

I’ve got a list which contains all cards from a standard 52 cards deck. I’m now wondering how i could sort these cards after their values, from Aces to Kings. My Idea was to use sorted() but I’m failing to grasp how I could pass the order of the list blueprint_deck as the key for […]

Categories
Linux Mastering Development

how to query information from the /proc filesystem?

how would I begin to do this? I want to write a shell script file that would allow me to pull information from the proc filesystem. Information like PID, state of processes, etc… a short code demo to put me in the right direction would be helpful, thank you.

Categories
Game Creation Mastering Development

Unity, load scene after killing all enemies [duplicate]

and I’d like to ask, how can I create a game that loads win scene if all my enemies are killed. My enemy tags are (ShooterAI and uzAIZombie) and same as the layers. Please help it would be much appreciated, thank you

Categories
Bitcoin Cryptocurrency Mastering Development

BTC-Wallet from “Airgap.it” asks for Receipient-Adress-Prefix “1ABC”. What format is that?

I am trying to set up a Cold and a Hot Wallet. Hot Wallet = “Exodus” on my everyday mobile phone. Adressformat is Bech32 with Prefix “bc1” or legacy-Prefix “P2PKH” and adresses start with “1”. Cold Wallet = “Airgap Vault” on offline Device plus “Airgap Wallet” on everyday mobile phone. Both from “airgap.it”. I tried […]

Categories
Mastering Development

Check values in a dictionary/list

I am trying to finish coding a game for my course programming. Basically, there’s a checkerboard with different units placed on it. Let’s say my dictionary looks like this: board = {‘map’: [{‘x’: 39, ‘y’: 41}], ‘hubs’: [{‘x’: 21, ‘y’: 3, ‘structure_points’: 1000, ‘capacity’: 1500, ‘regen_rate’: 25}, {‘x’: 21, ‘y’: 38, ‘structure_points’: 1000, ‘capacity’: 1500, […]

Categories
Ask Mathematics

Computing all eta quotients of given weight and level

I have written a rather naive program for finding all holomorphic eta quotients of given weight and level (and varying character). When the level has few divisors it is very fast, but incredibly slow otherwise. For instance, if I am not mistaken there are $1224$ holomorphic eta quotients in $M_{3/2}(\Gamma_1(60))$, i.e., weight $3/2$, level (dividing) […]

Categories
Linux Mastering Development Ubuntu

Ubuntu 19.10 login screen rectangles instead of letters

i have a problem visible in the picture. When I turn on the laptop login screen is ok, the problem occurs when I log out or when I go to change the user. then I have a screen like this. Please help, thank you

Categories
Linux Mastering Development Ubuntu

Ubuntu 19.10 login screen rectangles instead of letters

i have a problem visible in the picture. When I turn on the laptop login screen is ok, the problem occurs when I log out or when I go to change the user. then I have a screen like this. Please help, thank you

Categories
Linux Mastering Development Ubuntu

Ubuntu 19.10 login screen rectangles instead of letters

i have a problem visible in the picture. When I turn on the laptop login screen is ok, the problem occurs when I log out or when I go to change the user. then I have a screen like this. Please help, thank you