Search:

Type: Posts; User: maclenin; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. [SOLVED] Re: filter returns both cat and empty string

    Indeed!

    Many thanks for the clarity!
  2. [SOLVED] filter returns both cat and empty string

    Essentially, I am trying to filter the cat from this array...

    var x = [
    {"a":"cat", "b":"old", "c":"gray"},
    {"a":"dog", "b":"young", "c":"brown"},
    {"a":"", "b":"old", "c":"white"}
    ];

    var f...
  3. Thread: sed yes

    by maclenin
    Replies
    3
    Views
    4

    [SOLVED] Re: sed yes

    sed yes, indeed!

    sed '/yes/ s/\ /_/g' filename
    This worked!

    Thank you both!

    Two handy sandbox references:
    https://regex101.com/
    https://sed.js.org/
  4. Thread: sed yes

    by maclenin
    Replies
    3
    Views
    4

    [SOLVED] sed yes

    Essentially, I would like to use sed to replace the whitespaces with underscores in the "yes" lines only.

    Changing this...

    var x = [
    {
    "yes":"a b c",
    "no":"a b c"
    },
    {
  5. Replies
    2
    Views
    3

    [xubuntu] automagic file renaming?

    Just a quick and curious query.

    I have two files, which were named (unconventionally) the following:

    a'b_c.jpg
    x_&_y.jpg
    I had used them, successfully (along with encodeURIComponent), to...
  6. Replies
    3
    Views
    4

    [xubuntu] Re: new build graphics optimization?

    Thanks for the note!

    I have fiddled with the manual settings, as you suggest (among the usual others - contrast, tint, etc) - but always feel like the little dutch boy at the dike - plugging one...
  7. Replies
    3
    Views
    4

    [xubuntu] new build graphics optimization?

    I have built a desktop:

    Motherboard: Gigabyte Z390 M
    CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
    Graphics: Intel UHD Graphics 630
    Display: Samsung TV (old, though HD compatible) connected via...
  8. [SOLVED] Re: chrom* browser lag on desktop not laptop

    Holger!

    I think you were right - it must have been the cpu.

    All now up and newly cruising via: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz

    Ye olde E8400 had run, and, essentially, without issue...
  9. [SOLVED] Re: chrom* browser lag on desktop not laptop

    I hear you re: cpu advantage.

    I guess my reply is I would expect those advantages (N5000 over E8400) to be more applicable if we were talking CAD rendering and not "basic" browser performance.
    ...
  10. [SOLVED] Re: chrom* browser lag on desktop not laptop

    Thanks for the note.

    Historically, relying on Firefox is what I have done and continue to do (not only) in response to Chrom* misbehavior.

    However, what makes this time around a bit different...
  11. [SOLVED] chrom* browser lag on desktop not laptop

    (Latest versions of) chromium and chrome browsers both run with significant lag on a desktop but without issue on a laptop.

    I am running xubuntu 18.04.4 on both machines.

    Desktop model:...
  12. Replies
    9
    Views
    10

    [SOLVED] Re: remove the symlink?

    That did it. Thanks.

    Perhaps, a couple of create / remove / unlink symlink scenarios (where a, b and c are in the current working directory):

    symlink to directory

    ln -sfr a/test b/c
    rm...
  13. Replies
    9
    Views
    10

    [SOLVED] Re: remove the symlink?

    Negative. I get the same error for both "rm" and "unlink":

    *: cannot * 'b/c': Is a directory
    However (with reference to my op), an ls -l in directory c yields (the symlink I am trying to...
  14. Replies
    9
    Views
    10

    [SOLVED] Re: remove the symlink?

    In this way?


    sudo unlink /usr/lib/x86_64-linux-gnu/sane

    Cheers!
  15. Replies
    9
    Views
    10

    [SOLVED] Re: remove the symlink?

    Thanks for the quick replies, folks!

    Here's the "live" example (while trouble-shooting scanner set up):

    libsane-epkowa* is a file
    sane is a directory

    1. created the symlink:

    sudo ln -sfr...
  16. Replies
    9
    Views
    10

    [SOLVED] remove the symlink?

    Essentially, I am trying to remove the symlink.

    a, b and c are directories

    test is a file

    1. symlink creation:
    sudo ln -sfr a/test b/c
    2. symlink removal:
    rm b/c
  17. Replies
    8
    Views
    9

    Re: Chrome freezes at random intervals

    Howdy!

    I can report the same issue - freeze / lag:

    google chrome: Version 79.0.3945.130 (Official Build) (64-bit)

    chromium: Version 79.0.3945.79 (Official Build) (64-bit)

    No problems with...
  18. Replies
    1
    Views
    2

    [all variants] citrix receiver installation guide

    Here's a brief guide to installing and running a citrix reciever in 64 bit xubuntu in chrome / chromium.

    These steps should work across all *ubuntu flavors.

    1. Download latest version of the...
  19. [xubuntu] xubuntu 18.04 on acer swift 1 sf114-32

    A quick How-to install xubuntu 18.04 as the only OS on the lovely acer swift 1 sf114-32

    1. Download the .iso

    xubuntu-18.04-desktop-amd64.iso
    2. Create a bootable usb drive (using mkusb)
    ...
  20. Replies
    15
    Views
    16

    Re: Best tutorial/guide to learn Linux

    Essentially, necessity is the mother of invention. Jump in and start using the system. As you get stuck you go looking for solutions which build your understanding.
    ...
  21. Re: Who came back to Ubuntu after installing another distro?

    There's an old Texas saying: "If it ain't broke don't fix it."

    I stray to other forums from time to time - to find additional bits and bobs - but nothing has held a candle to this place.

    I...
  22. Replies
    6
    Views
    7

    Re: object lesson in a javascript array

    Thanks for the split clarification but I think your previously suggested fruit basket is cleaner.

    The assignment ( var x = []; ) is something I use when I am creating / displaying dynamically...
  23. Replies
    6
    Views
    7

    Re: object lesson in a javascript array

    Thanks The Cog!

    I have deployed the sorting methods in the link you provided - having found the link, previously, while researching sort options.

    I added the comment about (display & sort) to...
  24. Replies
    6
    Views
    7

    Re: object lesson in a javascript array

    Indeed. I think it's an issue of mission and my (evolving) understanding of proper syntax (to accomplish the mission).

    Here's, perhaps, a more useful (display & sort) example:

    var gallery = [];...
  25. Replies
    6
    Views
    7

    object lesson in a javascript array

    Essentially, while testing the following javascript array in jsbin I've been wondering...


    var produce = [ { "fruit":"apple, banana, pear", "veg":"pea, carrot, turnip" } ];

    ...whether it is...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4