Categories
User Help Web Pro

password on the way OUT of a site

Is there a way to set up a password need in order to get OUT of a website. Think of kids going into a site and needing a password to get out – to keep them in one place safely…

Categories
Ask Chemistry

Peak broadness and artifact peaks in intact antibody MS?

I am having an issue where the MS for my antibody (intact/nonreduced, deglycosylated by PNGase) shows multiple clusters of what appear to be ghost peaks after deconvolution, and the main peak is extremely broad and appears to show a ton of different adducts. I’m reasonably confident this shouldn’t be the case, as the reduced chains […]

Categories
Cryptocurrency Ethereum Mastering Development

saving balance and release on determinate date

I have this contract: struct campaing { string img; string tittle; string description; uint amount; address creator; uint256 date; } struct donation { uint campaignID; address creator; address donator; uint amount; uint256 date; mapping (address => uint) public accountbalance; function donate(uint _campaingID, address _campaingCreator, uint _amount) public { } I’m stuck here, what do I […]

Categories
Linux Mastering Development

Unable to mount and read data due to unsupported optional features, wrong fs type, bad option, bad superblock, etc

I’m trying to either recover the data or repair the disk(s) from a 2 disk RAID 1 setup. While migrating the data from the RAID (/dev/sdd1) to another pair of disks, the machine locked up during the night and I power cycled it in the morning. I tried to use gparted to fix the “warning […]

Categories
Linux Mastering Development

How to create private software modules based on tools(ruby/shell scripts) in unix?

I am trying to create private software modules using the tools which are ruby/shell script files so that I can load the script files as modules with the “module load programname/1.0” command also I need to push the modules into a CI pipeline using TMK file. Could someone help me with the steps? I am […]

Categories
Linux Mastering Development

Difference between apt-get -f install and apt-get –fix-broken install

What really, is the difference between apt-get -f install and apt-get –fix-broken install I get similar results when running both commands but I’m not really sure if they work the same. My questions are: What really is the difference between the two and if none, what is the purpose of having both commands in Linux? […]

Categories
Linux Mastering Development

netcat keeps hanging after input

I am using netcat as follows: printf “message is set2” | nc -q 0 localhost 8001 This sends the message as expected and the server receives it successfully, however, netcat hangs, as if to expect more input. How can I get netcat to just send the message immediately and then return? FYI I am using […]

Categories
Linux Mastering Development

awk/sed: unable to properly remove the last 5 characters from timestamps

I have a test file barcforex.txt with 3 lines: “20200424090011.047Z”,”New”,”0232917586″,”USD”,8393000000.0000,”EUR” “20200424120025.308Z”,”New”,”0132910586″,”INR”,8393000000.0000,”USD” “20200425120025.027Z”,”New”,”0132910587″,”USD”,110000000.0000,”INR” I want to extract the first field (timestamps) and chop off the last 5 characters (from . to Z), so that the output looks like this: “20200424090011” “20200424120025” “20200425120025” I nearly succeeded with this attempt: awk -F’,’ ‘{ print $1 }’ barcforex.txt | […]

Categories
Linux Mastering Development

Where is Plasmashell started?

Plasmashell does not start automatically anymore. I have to run killall plasmashell and plasmashell & every time I start my computer. I would like to know what program or systemd service is responsable for starting plasmashell or in which script plasmashell is started so I can troubleshoot this problem. Operating System: Manjaro Linux KDE Plasma […]

Categories
Linux Mastering Development

How do I configure 4 monitors with xrandr?

I have four monitors that I would like to arrange as follows: [CARD0 MONITOR1] [CARD1 MONITOR1] [CARD1 MONITOR2] [CARD0 MONITOR2] The output from xrandr is as follows: % xrandr Screen 0: minimum 8 x 8, current 5120 x 1024, maximum 8192 x 8192 GPU-0.DVI-I-0 connected 1280×1024+0+0 (normal left inverted right x axis y axis) 340mm […]