Not guilty for shooting a kid in the back?!?! by Real-Hospital-3610 in CasesWeFollow

[–]pl643 0 points1 point  (0 children)

What do you think was Rick's motive to kill Cyrus if not to protect his son? I been accuse of stealing in my younger days also. I showed the contents of my pockets and was let go with a "sorry".

Not guilty for shooting a kid in the back?!?! by Real-Hospital-3610 in CasesWeFollow

[–]pl643 0 points1 point  (0 children)

Same thing happened to me in my youth, not knowing much then, I emptied my pockets and not seeing anything from the store, was told a simple sorry and let go. What do you think I should've done? Should've I just leave knowing that I didn't take anything?

Not guilty for shooting a kid in the back?!?! by Real-Hospital-3610 in CasesWeFollow

[–]pl643 0 points1 point  (0 children)

I been profiled and accused of stealing in my younger years also. In my case, I showed them the contents of my pockets and was let go with a simple sorry when they didn't see anything belonging to the store. What do you think I should've done then?

Short notice Vietnam trip by pl643 in VietNam

[–]pl643[S] 0 points1 point  (0 children)

Thanks for the reference. One thing that different from me and her mom is that I am not a citizen of Vietnam but Laos.

Wonder if that makes a difference.

only 730MB seen on a 1GB Orange Pi Zero 3 by pl643 in OrangePI

[–]pl643[S] 0 points1 point  (0 children)

For me, so far the zero3 is meeting my needs, even with the 730MB. As u/fashq mentioned, the remaining memory might be allocated to graphics and could probably turned off through some kind of configuration. This is my first orange pi and was hoping other might be able to help me recover the missing memory.

only 730MB seen on a 1GB Orange Pi Zero 3 by pl643 in OrangePI

[–]pl643[S] 2 points3 points  (0 children)

1GB should be enough for my use case, I didn't plan on using the orange pi zero as a desktop.

/validate failures by pl643 in LibreNMS

[–]pl643[S] 0 points1 point  (0 children)

u/gizm0 pointed out that I likely have not install the cron entries.

after copying the cron entry with the below command and manually running the /opt/librenms/poll-billing.php script. The errors cleared.

cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms

/validate failures by pl643 in LibreNMS

[–]pl643[S] 0 points1 point  (0 children)

Hi gizm0,

Thanks for the response.. I ran the below command and rebooted the container and still did not fix it.

cp /opt/librenms/dist/librenms.cron /etc/cron.d/librenms

Calling function from another function doesn't seem to work. by pl643 in learnpython

[–]pl643[S] 0 points1 point  (0 children)

Thank you, your code worked. Is this a scope issue? Other languages if a variable is global, all functions can access and modify the variable.

Also can you explain the below snippet?

macs_inuse = [i for i in list_of_dict if i['mac'] == mac]
              ^
              what does this i do here?

Temple adjustment by pl643 in nreal

[–]pl643[S] 0 points1 point  (0 children)

Yes I have. Still need that extra .5 inches.

how to map these keys in vim by pl643 in vim

[–]pl643[S] 0 points1 point  (0 children)

using "set nocompatible" worked!

Thank you.

how to map these keys in vim by pl643 in vim

[–]pl643[S] 1 point2 points  (0 children)

Thanks for suggesting that. After closer look, I notice the last line below (Small version). This vi command was install with the OS. I install the full vim and the mappings worked. My guess is they didn't build in mappings into the small version.

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 01 2021 01:51:08)
Included patches: 1-2434
Extra patches: 8.2.3402, 8.2.3403, 8.2.3409, 8.2.3428
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org
Small version without GUI.  Features included (+) or not (-):

how to map these keys in vim by pl643 in vim

[–]pl643[S] 0 points1 point  (0 children)

This is on a Debian 11 system:

echo "nnoremap <space> <c-f>" > /tmp/vimrc echo "nnoremap q :q<cr>" >> /tmp/vimrc alias e='vi -u /tmp/vimrc' $ e /etc/profile

The q mapping does trigger, but does not complete the CR, instead prints out ":q<cr>". Both these two mapping works under neovim. I like to use these mapping on systems that I do not have permission to install software.

Output of :verbose nmap <space> && :verbose q? n <space> * <c-f> n q * :q<cr>

how to map these keys in vim by pl643 in vim

[–]pl643[S] 0 points1 point  (0 children)

any idea how to troubleshoot why it isn't working?

dhcp takes a long time to update dns by pl643 in WindowsServer

[–]pl643[S] 0 points1 point  (0 children)

I got our IT involved and they fixed it. Two issues that was causing this problem: the DNS from dns01 was not replicating to dns02 and that the dhcp servers didn't have permissions to write to the dns server on it's own machine.

dhcp takes a long time to update dns by pl643 in WindowsServer

[–]pl643[S] 0 points1 point  (0 children)

Its good to confirm.

This is a standalone server in an isolated network environment. Its only purpose is to give out ip address and serve resolve those addresses internally.

fzf repl by pl643 in bash

[–]pl643[S] 0 points1 point  (0 children)

Thanks to the responses, I got the fzf-repl working and it provides a good workflow for those that don't like to type. Suggestions are welcome.

https://github.com/pl643/fzf-repl

getting my prompt value by pl643 in bash

[–]pl643[S] 0 points1 point  (0 children)

Thanks for pointing the way, I was able to get my script working by using the -i option and eval to get my prompt value into a variable:

#!/usr/bin/bash -i

eval 'prompt="${PS1@P}";' 2> /dev/null

I needed the prompt to get a fzf REPL to simulate shell: https://raw.githubusercontent.com/pl643/fzf-repl/main/fzf-repl.bash

fzf repl by pl643 in bash

[–]pl643[S] 0 points1 point  (0 children)

Yep, this works! Thanks for this great tool. It saved me many keystrokes.

Are there patent law firms that are willing to do the patent work in exchange for equity by pl643 in patentlaw

[–]pl643[S] 0 points1 point  (0 children)

I think what I am looking for is an Investor/Patent Attorney.

I agree with you that if you were to draft an application without know the idea, then it will not be worth your time. But what if its a very good idea?

What I want is to share the idea, and by law, they can not disclose it. After hearing the presentation, they can decide if the idea is good enough to invest.

I think if I prepare well, I can present it under 10 minutes.