Jump to content

Auser

Member
  • Posts

    9
  • Joined

  • Last visited

Awards

This user doesn't have any awards

  1. Auser

    Bash find

    myfunc() { echo "Hello" } export -f myfunc find / -type f -exec bash -c 'myfunc "$0"' {} \; var="$(myfunc)" echo "$var" This will return Hello, I know. But is there a way I can trap $var in exec part of find?
  2. Auser

    Bash array

    Can I use this command aswell? find / -type d -exec bash -c 'format "$0"' {} \; will this store results of find in array?
  3. Auser

    Bash array

    declare -a my_array my_array=() format() { my_array+=("element") } export -f format for x in 1 2 3 4 5 6 7 8 9; do format done echo ${my_array[*]} Why is there no elements on list when I try and print them out with echo. Should there be 9x "element" ?
  4. The battery doesn't seems bent or anything. I also already did test the display with mulitple test online and aida64 tools. All looks fine. I've been using this laptop for a month now and nothing gone wrong since then.
  5. Hello, So this happen a while ago. I was carrying some bags and my laptop to my car. I could not opened the trunk bc I had bags in one hand and laptop in other. I placed laptop on the roof of the car. So you can probably imagine what happened next. So my case for laptop is gray color and so it is the color of my car. So I accidentally left my laptop on the roof when I drove off. Turns out the laptop even stayed on the roof for a km before it feel off. It felt down somewhere on mainroad. The problem is that I haven't figured out I forgot my laptop on roof for next 30min. I traveled back on same road to find out where it feel off. And as expected I found it the middle of road, picked it up and drove to closest parking lot. There I was, opening the laptop bag prepared for worst. Opened the lid, no broken screen. Laptop normally waked up from sleep. Worked just fine. But there was a obivous sign that laptop wasn't lying on road untouched, it was sure got run over by atleast one car if not more. The whole pc was bent. So here is the result. When I got back home I ran some test. Aida64 as usual. Turns out the pc was thermalthrottlening at least 20%. Opened it up and found out the heatpipe had a dent. Replaced pipe and the problem was gone. Now I'm just curious if I should check for some other parts that may be hurt? Thanks
  6. Could I use an adapter just like this but with usb c on the other end?
  7. I'm already have monitor connected to hdmi port. I'm just wondering if there is a way I can connect another one to usb a/usb c connector via adapter?
  8. Hello, So I'm not really sure if this is possible. My laptop only offers one hdmi output and one usb c, but as far as I can tell this exact usb c can't carry video (it doesn't have any lighting signs next to it). But as I was searching the internet I found people that bought an usb a to vga adapter of some kind and then hooked it up to laptop. It just worked and the laptop that they were using wasn't really up to date. Now I'm confused. Can I somehow get two video output on my laptop using some kind of adapters? beside usb c and hdmi I also got one usb 3.0 and 2x usb 2.0. gpu: Nvidia geforce mx150 cpu: intel i7 8550u Thanks for all the help
  9. Hello, So I'm not really sure if this is possible. My laptop only offers one hdmi output and one usb c, but as far as I can tell this exact usb c can't carry video (it doesn't have any lighting signs next to it). But as I was searching the internet I found people that bought an usb a to vga adapter of some kind and then hooked it up to laptop. It just worked and the laptop that they were using wasn't really up to date. Now I'm confused. Can I somehow get two video output on my laptop using some kind of adapters? beside usb c and hdmi I also got one usb 3.0 and 2x usb 2.0. gpu: Nvidia geforce mx150 cpu: intel i7 8550u Thanks for all the help
×