mongodb – mongo user can not connect from bash on localhost

In mongo shell, I ran the following commands:

use mydatabase
db.createUser( { user: "john", pwd: "mongopass", roles: ( "readWrite", "dbAdmin" ) });

Mongo reported a success response. So then from terminal, I typed mongo --username john --password, and when prompted for password, I typed mongopass. But the result I got was:

connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Error: Authentication failed. :
connect@src/mongo/shell/mongo.js:374:17
@(connect):2:6
exception: connect failed
exiting with code 1

How do I login to mongodb with a username and password?

vBulletin Connect 5.6.4 Nulled | NulledTeam UnderGround

vBulletin 5.6.4 is now available for Download.​

Thu 15 Oct ’20, 10:49am

vBulletin 5.6.4 Updates and Changes​

vBulletin 5.6.4 is now available for download. vBulletin Cloud customers will be updated automatically in the upcoming days.

Front End Changes​

Lightbox​

The attachment system now uses the Lightbox display for all image content uploaded to the server. If the user has permission to view image thumbnails…

wi fi – some apps can’t connect wifi without vpn

My phone (xiaomi redmi 6 miui 11) suddenly can’t connect to some apps without VPN. I can use chrome and other google apps, whatsapp, instagram, twitter with or without VPN. But I can’t connect to internet without using VPN to these apps: games, discord, line and webtoon.
My computer and other phones are just working fine with the wifi.

I have tried “reset network settings” and “factory reset”. But the problem is still there.
The wifi that I connected to has this settings: (Proxy: none), (IP settings: DHCP)

What should I do?
Is this maybe because my phone got port blocking?

ssh tunnel – I can’t connect to reverse SSH from another device

New to all this stuff, sorry if it seems basic. I have a Raspberry Pi creating a reverse SSH tunnel (over the Internet) to another RPi that I use as a server.

Tunnel creation : ssh -i /home/pi/.ssh/id_rsa -p 45000 -N -R 2500:localhost:22 user@IP -o "ServerAliveInterval 5" -o "ServerAliveCountMax 2" -o "ExitOnForwardFailure yes"

Server command : ssh -p 2500 user@localhost

This works fine, but now I want to do the same with a more “official” server.

So I copied the SSH key to another RPi (to know if it is possible to connect from another device before trying with the server), updated the NAT rules of the router to redirect the tunnel to the second RPi IP, and tried to connect. But it didn’t work. (No firewall set up)

To be clear, with this diagram :

A ===========> router <----------- B
                but
A ===========> router <-----X----- C 

ssh is installed (which ssh(d) => /usr/bin/ssh(d)), and the service is launched.

Here is the verbose :

debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "localhost" port 2500
debug2: ssh_connect_direct
debug1: Connecting to localhost (::1) port 2500.
debug1: connect to address ::1 port 2500: Connection refused
debug1: Connecting to localhost (127.0.0.1) port 2500.
debug1: connect to address 127.0.0.1 port 2500: Connection refused
ssh: connect to host localhost port 2500: Connection refused

/etc/ssh/ssh_config are the same in both RPi.
All the policies from iptables are set to ACCEPT (remote and local).
Logs from remote RPi doesn’t contain any information from connection attempts. (Seems logic as the ssh connection is not even set …)

Already tried to set -L 0.0.0.0:... but no results neither. (From this and this ServerFault topics, probably misunderstood the concepts)

Do you have any idea to connect to the tunnel with the second RPi ? Is it even possible without being on the same network ?

Thank you in advance for your responses !

App Windows – PLAXIS MoDeTo CONNECT Edition V20 Update 4 | NulledTeam UnderGround

PLAXIS MoDeTo CONNECT Edition V20 Update 4 | 1.6 Gb
The PLAXIS development team is pleased to announce the availability of PLAXIS MoDeTo CONNECT Edition V20 Update 4 is a software package intended for the design of monopiles asfoundation elements for offshore wind turbines under lateral loading conditions.

New in PLAXIS MoDeTo CONNECT Edition V20 Update 4 – Release: September 2020
New and improved features
————————–
* improved regeneration for the design verification model, for cases where only the workload values are changed
* input tables in soil and calibration modes now accommodate copying and pasting of values
* improved visualization of the step changes at layer transactions on shaft depth variation function charts
* added functionality to import multiple soil reaction curves files in analysis mode
* improved algorithm for simplification of the curves that are exported to SACS
* added support for exporting pile base curves to SACS
Fixed issues
————————–
* fixed issue with loading projects that contained the number symbol (#) in the name
* fixed the initial mobilization value for the NGI-ADP model in over-consolidated clay (K0 > 1)

PLAXIS MoDeTo (Monopile Design Tool) is a PLAXIS-based specific tool providing anenhanced design methodology for monopile foundations under lateral loading. Monopiledesign can be performed efficiently by using one-dimensional (1D) finite element (FE)analyses of a laterally loaded pile. The adopted design methodology is based on the PIleSoil Analysis (PISA) joint industry research project.The monopile is modelled by means of the Timoshenko beam theory whereas the soilreaction is modelled using calibrated or user-defined soil reaction curves. The calibrationof the soil reactions is based on three-dimensional (3D) finite element calculations usingPLAXIS 3D. In addition to the 1D design analysis, the design tool facilitates thegeneration and calculation of the PLAXIS 3D models, and the derivation of the soilreactions based on the calculation results. A real installation site can be represented withfinite element models in PLAXIS 3D and a site-specific 1D model can be calibrated andused for the design of monopile foundations.
Plaxis 3D Geotechnical Analysis SIG PLAXIS Modeling Monopile Foundations in 3D and 1D

Bentley Systems is a software development company that supports the professional needs of those responsible for creating and managing the world’s infrastructure.
Product: PLAXIS MoDeTo (Monopile Design Tool)
Version: CONNECT Edition V20 Update 4 (20.04.00.790)
Supported Architectures: x64
Website Home Page : www.plaxis.com
Language: english
System Requirements: PC *
Size: 1.6 Gb

System requirements – PLAXIS
Operating System requirements
Supported: Windows 7 Professional 64-bit, Windows 8 Professional 64-bit, Windows 10 Pro 64-bit
Recommended: Windows 10 Professional 64-bit (all with latest service packs applied)
Internet Connection
For the Subscription Entitlement Service (SES) Licensing used in all PLAXIS CONNECT Edition software an internet connection is required.
Graphics card
Required: GPU with 256 MB OpenGL 1.3
Bentley strongly recommends avoiding simple onboard graphics chips in favour of a discrete GPU from the nVidia GeForce or Quadro range with at least 128-bit bus and 1 GB of RAM, or equivalent solution from ATI/AMD.
Processor
Required: dual core CPU
Recommended: quad core CPU
Hard Disk
At least 2 GB free space on the partition where the Windows TEMP directory resides, and 2 GB free space on the partition where projects are saved. Large projects may require significantly more space on both partitions.
For best performance, ensure that the TEMP directory and the project directory reside on the same partition.
Random Access Memory (RAM)
Recommended for PLAXIS 2D: at least 4 GB. Large projects may require more.
Recommended for PLAXIS 3D: at least 8 GB. Large projects may require more.
Video modes
Required: 1024 x 768 pixels, 32-bit colour palette
Recommended: 1920 x 1080 pixels, 32-bit colour palette

Recommend Download Link Hight Speed | Please Say Thanks Keep Topic Live

 

Is there a way to connect an external microphone to android, while using internal speakers and charging the phone?

I want to improve the microphone sound quality while using internal speakers. I also want to be able to charge phone while on the call. Is there a way to do it?

So far I only saw solutions that would require headphones to also be connected to the device.

virtual machines – Cannot connect self-hosted Linux VM to Azure DevOps

I am trying to set up a docker deployment process with Azure DevOps using a self-hosted Linux VM as a deployment target. It seems that I must install the AzurePipelines agent on the target Linux VM first, however it always stalls at the “Connect” stage. Since I am doing this for the first time, I suspect that I have missed some crucial step in the process.

What I have done so far:

  • created an Azure DevOps project with a build pipeline that successfully pushes a docker image to AzureCR

  • created an admin user on a (3rd party hosted) Linux VM VM (have tried CentOS 7 64bit and Ubuntu 18.04 LTS 64bit — same result)

  • created an Environment in DevOps Pipelines

  • tried to add a resource to the new environment by copying the provided script to an SSH command prompt on the VM. –> download and unpacking successful, but ends with error:

     ./config.sh: Zeile 86:  4947 Speicherzugriffsfehler  ./bin/Agent.Listener configure "$@"
     sudo: ./svc.sh: Befehl nicht gefunden
     sudo: ./svc.sh: Befehl nicht gefunden
    
  • manually run ~/azagent$ sudo bin/installdependencies.sh –> finished successfully

  • manually run ~/azagent$ sudo ./config.sh –> following output, after that it stalls and does nothing; no VM appears in Azure Pipelines environment resources:


  ___                      ______ _            _ _
 / _                      | ___ (_)          | (_)
/ /_ _____   _ _ __ ___  | |_/ /_ _ __   ___| |_ _ __   ___  ___
|  _  |_  / | | | '__/ _  |  __/| | '_  / _  | | '_  / _ / __|
| | | |/ /| |_| | | |  __/ | |   | | |_) |  __/ | | | | |  __/__ 
_| |_/___|__,_|_|  ___| _|   |_| .__/ ___|_|_|_| |_|___||___/
                                   | |
        agent v2.175.2             |_|          (commit 5c4925c)


>> Endbenutzer-Lizenzbestimmungen:

Für das Erstellen von Quellen aus einem TFVC-Repository muss die Zustimmung zu den Team Explorer Everywhere-Endbenutzer-Lizenzbestimmungen erfolgen. Dieser Schritt ist für das Erstellen von Quellen aus Git-Repositorys nicht erforderlich.

Eine Kopie der Team Explorer Everywhere-Endbenutzer-Lizenzbestimmungen finden Sie hier:
  /home/admin/azagent/externals/tee/license.html

Geben Sie (J/N) Den Team Explorer Everywhere-Lizenzbedingungen jetzt zustimmen? ein (Drücken Sie die EINGABETASTE, um N). > J

>> Verbinden:

Server-URL eingeben > https://dev.azure.com/(~~~~~)
Geben Sie Authentifizierungstyp ein (Drücken Sie die EINGABETASTE, um PAT). >
Persönliches Zugriffstoken eingeben > ****************************************************

Of course, I have inserted a proper name in the URL instead of (~~~~~).

On a side note, I was able to supply the very same VM with a managed identity by installing the Azure CLI as described in this article, but this does not solve my problem; it just rules out connectivity problems.

What am I missing?

bitcoin core – bitcoincore connect

I have a problem with bitcoin node is that when I want to get out of the full node bitcoin server.

I ran this method and it does not work

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getnewaddress", "params": []]' -H 'content-type : text / plain; ' http: // ip server for node: 8332 /

postgresql – psycopg2 connect error: cannot pass more than 100 arguments to a function?

I am trying to pass json object as a parameter to my stored procedure. I tried many things and solved couple of error atlast I am stuck with the error :
Error :
psycopg2 connect error: cannot pass more than 100 arguments to a function
LINE 1: SELECT * FROM insert_usr_details_in_all_tables(‘{‘,'”‘,’N’,’…

i tried json.dumps, json.loads etc but unfortunately nothing is working for me if i am executing the postgresql from scripts with same input it works fine. below is my stored procedure..

CREATE OR REPLACE PROCEDURE public.insert_usr_details_in_all_tables (jsonobject json)
LANGUAGE 'plpgsql'
AS $BODY$
DECLARE
skill_s  Text() := '{}';
    selectedSkill TEXT;
    edu TEXT;
    email TEXT;
    phone TEXT;
    usr_name TEXT;
    clg TEXT;
    lstEmployer TEXT;
    gendr TEXT;
    skill_row_count  INTEGER;
    usr_id INTEGER;
    skl_id INTEGER;
    intEmailExist INTEGER;
    expen DECIMAL;
BEGIN

    -- Getting name
    SELECT jsonobject->'Name' into usr_name;
    
    -- Getting education
    SELECT jsonobject->'Education' into edu;
    
    -- Getting phone number
    SELECT jsonobject->'phone_number' into phone;
    
    -- Getting experience
    SELECT (jsonobject->>'Exp')::DECIMAL INTO expen;
    
    --Getting college
    SELECT jsonobject->'College' into clg;
    
    
    -- Getting last employer
    SELECT jsonobject->'CurrentEmployer' into lstEmployer;
    
    --Getting gender
    SELECT jsonobject->'Gender' into gendr;
    
    -- Getting Email
    SELECT json_array_length(jsonobject->'Email') into intEmailExist;
    IF intEmailExist > 0 THEN 
        email:=array(SELECT json_array_elements_text(jsonobject->'Email'));
    END IF;
    
    -- Insert user details in 'Extractor_usr_details' table.
    INSERT INTO public."Extractor_usr_details"(name, phone_number, email, exp, education, college, "currentEmployer", gender)VALUES ( usr_name, phone, email, expen, edu, clg, lstEmployer, gendr) returning "id" into usr_id;
    
    skill_s := array(SELECT json_array_elements_text(jsonObject->'Skills'));
    FOREACH selectedSkill IN ARRAY skill_s LOOP
        INSERT INTO public."Extractor_skills" (skill) SELECT selectedSkill WHERE NOT EXISTS (SELECT id FROM public."Extractor_skills" WHERE skill = selectedSkill)RETURNING id into skl_id;
        INSERT INTO public."Extractor_usr_skills" (skill_id, user_id) SELECT skl_id, usr_id WHERE NOT EXISTS (SELECT id FROM public."Extractor_usr_skills" WHERE skill_id = skl_id AND user_id = usr_id);
    END LOOP;
    COMMIT;
END;
$BODY$;

and here is my python code to call the procedure..

try:
        # declare a new PostgreSQL connection object
        conn = connect(
            dbname="postgres",
            user="postgres",
            host="localhost",
            password="demo",
            port= '5432'
            # attempt to connect for 3 seconds then raise exception
        )
        cur = conn.cursor()
        cur.callproc('insert_usr_details_in_all_tables', json.dumps(jsonObject))


    except (Exception) as err:
        print("npsycopg2 connect error:", err)
        conn = None
        cur = None

vBulletin 5 Connect

I have a vBulletin 5 Connect license for sale.

Fixed price: $90

Payment with paypal.

Message me if interested.

Print-screen of license in attachment.

View attachment 258944