Skip Navigation

User banner
Posts
4
Comments
491
Joined
1 yr. ago

  • This one knows many things. You may find moonsugar Elsweyr.

  • In the northern hemisphere the the hardcore drugs usually come from the south.

  • You could write a simple python script using datetime and pyperclip. Datetime would supply the date format and pyperclip to copy that to your clipboard. You could setup a key binding to call the script then [Ctrl + v] to paste.

    I believe all linix distros have python installed OTB.

    There are probably a bash solution but my bash is rubbish.

    Edit:

    The bash solution that has been provided is the best option IMO. I just thought I should provide the code for my solution so you have options. This python script is easily extendable / customizable. All this depends in you installing the python module pyperclip. datetime should be part if the standard python library so you dont have to install it.

    installing pyperclip with pip.

    pip install pyperclip

    The script:

     
        
    #!/usr/bin/env python3
    """A simple script to copy a formatted datetime string to the users clipboard"""
    
    import datetime
    import pyperclip
    
    def clipboard_timestamp(initials) -> None:
        """Function to create a formatted timestamp string to users clipboard.
    
        Arguments:
           initials: Uses the provided string during formatting of the timestamp."""
    
        time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
        pyperclip.copy(f"{initials} {time}")
    
    if __name__ == "__main__":
    
        clipboard_timestamp('ABC')
    
    
      

    The above script also adds the hours minutes and seconds to the timestamp. If not needed remove the %H:%M:%S. Dont forget to edit anything that you want like the 'ABC' near the end.

    Save script somewhere. I usually save personal scripts to ~/.local/bin so they are out of the way. I used the name clipboard_timestamp.py Doesn't really matter as long as you remember the name. Next you have 2 options. You can make the script executable using chmod a+x clipboard_timestamp.py. If you dont want to take this step you will have to tell the shortcut that python is executing the script by prefacing the script's full path with python like so python ~/.local/bin/clipboard_timestamp.py If you made the script executable you just use ~/.local/bin/clipboard_timestamp.py.

    I use KDE but your system should be similar-ish. in your desktop's setting's search for keyboard and you should see something that says something like shortcuts. Add New -> Command or Script. Point this to your newly saved python script /.local/bin/clipboard_timestamp.py. Then you choose the keystroke combination.

  • I was loyal to samsung till I bought the S9 and couldn't throw a custom rom on it. So I reluctantly bought a pixel and put grapheneOS on it the second i bought it. Hands down the best android experience i have ever had. I have complete control over what the apps do, what sensors and directory's they have access to and whether they have google services or not. Sanboxing is great. Buffer overflow protection, security focused updates regularly.

    I wish fairphone's hardware was up to the security standards of gOS. I really wanted one of those but im extremely happy with the pixel overall.

  • There isn't a functioning part of our government that the regressives wont destroy for private profit.

  • They have ran on "we're not insert fascist here!" since Hilary. They don't want another Obama and they are scared as hell of another Bernie.

    DNC is a business masquerading as a political party at this point. It's not that they haven't learned it's that they are corrupt and don't give a fuck about anything besides keeping the gravy train going through donations when they aren't in power and feigning representation whilst feeding the same monsters as the republicans when the do have power. They are betting that if things get bad enough as they always do people will come crawling back to put the next right winger dem in charge. Ever lunging to the right lock step behind the republicans.

    I don't see myself ever voting for another dem that's not left of Bernie and the DNC will never bring that kind of candidate.

    There is no choice but to form a new party at this point.

  • Permanently Deleted

    Jump
  • Tax cuts you'll never see.

  • Maybe because russia has been taking offensive actions against the US and its allies. They helped install agent Krasnov as president FFS.

  • Maybe more appropriate now than ever.

  • I want to post to Hexbear’s DIY community – as far as I can tell, it’s the biggest one by far. However, Hexbear is not federated with Beehaw. That means, I’d have to create a seperate account for Hexbear. Correct?

    Yes that's correct. If an instance wants to separate itself from another the only way is to have an account with an instance that is federated with the one you want to post on.

    Do you 🫵 make an account for every instance that you’re interested in, which is not federated with Beehaw?

    If you want to that's an option. It might be the best option as federation between instances can change in the future. Sometimes it might be a better to help the other communities grow by giving them the content. It's up to you.

    Is there a way to see which instances are federated with Beehaw? The /search/ page is helpful, but I have to search manually, whereas I’d like an overview type of thing.

    https://defed.xyz/

    Do you use an app on Android? I like Thunder, you?

    Thats up to you what you like best

    Welcome to lemmy! Glad you found us. Make yourself at home. And it was a great first post!

  • Its amazing what happens when you install a puppet to the highest office in other countries.

  • Spite, that's what your enemy's want. Don't give them the fucking satisfaction!

  • Permanently Deleted

    Jump
  • You might want to file a bug report so they can grab some info from you that could help an updater get pushed sooner and help others.

    Very glad you got up and running. Hopefully they will get a better update pushed out soon.

  • Imagine the power of your own personal cat army.

  • Permanently Deleted

    Jump
  • Hay if the restore works might hold off on doing an update for a few days just too see if kubuntu had pushed a bad update. If they did they did they should fix it pretty quickly when they get a bunch of people with broken systems.

  • Permanently Deleted

    Jump