Theme Development – SVG in list style image breaks when adding fill

I'm trying to add a custom bullet with CSS list-style-image, Here is the attribute:

ul {
    list-style-image:url("data:image/svg+xml;utf8,");
}

For convenience, this is the SVG file embedded in the list-style-image:



    

The problem is when I try to add one fill ascribe seems to break the whole thing, because the SVG is no longer displayed as a sphere (default) ul Circle ball shows). I tried to use both fill='#f00'. style='#f00' and stroke='#f00', All of them break the SVG.

Any idea what the problem might be?

Auto Fill – How do I delete an incorrect email address from the auto-fill Android?

Auto-fill in my phone will show some stale addresses in the suggestions when I need to enter my email address in certain apps.
Is there a way to delete these suggestions?

One such place where these email suggestions appear is in the Chrome settings, where you create a new address for automatically filling in forms. Go to Settings, Addresses and more, Add, scroll down and click on the Email box. Your e-mail addresses should be displayed.

8 – How can I fill an image field with the JSON: API?

I tried to upload image files to an image stored with the JSON API. I follow the instructions on the page:
https://www.drupal.org/node/3024331

However, I get an error message (answer 500). Below is my Python code. What have I done wrong? Really appreciate some help here. I use JSON API version: 8.x-2.4.

data = open("test.png","rb").read()
data = bytearray(data)

 header = {'X-CSRF-Token': auth('head')('X-CSRF-Token'),
          "Content-Type": 'application/octet-stream',
          "Accept": "application/vnd.api+json",
          "Content-Disposition": 'file; filename="test.png"'}

pst = requests.post('http://example.com/jsonapi/node/cell/field_image', 
                         data=data, headers=header, cookies=auth('cookie'))

pandas – How to fill in the missing values ​​of a column in which both the first and the last value are missing?

I've tried to fill the missing values ​​with bfill / ffill when using ffill, the first line is missing and when i use bfill, the last values ​​are missing. How can I fill all missing values ​​with bfill / ffill?
thank you in advance

pd.DataFrame((('Eagle River','NaN','light'),
         ('Ybor','Red','oval'),
          ('Holyoke','blue','oval'),
         ('Abilene','NaN','disk')),columns=('City','Colors','Shape'))

forms – Fill dynamic drop-down menu text in a description with cf7

I already know how to dynamically insert the title of a page into a CF7 form, but I need to be able to dynamically populate a drop-down menu with content from text on the same page. Is that possible? and how?

The form is used to record a course registration. So I have the post_title so I know which course to ask for, but the courses have several different start dates and I want them to be completed automatically according to the course page.

javascript – Automatically fill in field based on your ID

I have been trying for days to solve a problem that I have in a sharepoint list. I'm new to Javascript, so I can not do many complex things, and I think that's why I still can not get an answer.

So I have a sharepoint list where I have the login of the person who submits the form with the formula = [ME], and then wants to automatically fill in the line manager field with the line manager's e-mail. This email is in another list named "LineManagers Email," to which all email addresses of supervisors are assigned.
I search the web for ways to do that, but I can only search for answers through search engines. This is not possible because I can not give the person submitting the form the opportunity to choose their ID.

Let me know if you can help me.

Thank you very much

Javascript – Fill in fields when you click "Save" in the custom list

I have an SP 2013 Custom List with 2 automatically generated numbers. Currently, they are queried and filled out when the input values ​​for the first two fields are selected. The form is great for a single user, but I'd like to include concurrent users wherever possible. Concurrent users can create duplicate tracking numbers.

I tried to run the queries and fill in the 2 fields, each representing part of the tracking number (calculated field) in the PreSaveAction function. This function populates the fields in the new article form, but the values ​​are not stored in the list item on the AllItems page.

Any ideas on how to do this job? Here is my code:

// Query item ID for most recent item with the selected associated tracking number
var collListItems;
function QueryExistingLastID() {
    var rvID = $("input:text(title='Associated Tracking Number')").val();
    var clientContext = new SP.ClientContext();
    var TrackerList = clientContext.get_web().get_lists().getByTitle('Tracker');
    var query = new SP.CamlQuery();
    query.set_viewXml("1" + rvID + "");
    collListItems = TrackerList.getItems(query);
    clientContext.load(collListItems);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.ExistingQuerySucceed), Function.createDelegate(this, this.ExistingQueryFailed));
}

// Populate subject number by adding 1 to the previous subject number for the selected associated tracking number
function ExistingQuerySucceed(sender, args) {
    var listItemEnumerator = collListItems.getEnumerator();
    while (listItemEnumerator.moveNext()) {
        var oListItem = listItemEnumerator.get_current();       
    }
    if ($("select(id^='Status')").val() == "Existing")
    {
    $("input(id^='Subject_x0020_Num')").val(oListItem.get_item("Subject_x0020_Num")+1);
    }
}

function ExistingQueryFailed(sender, args) {
    // Alert error message if list item above fails to load
    alert('Request failed. nError: ' + args.get_message() + 'nStackTrace: ' + args.get_stackTrace());
}

// Query last list item where Status = "New"
var collListItem;
function QueryLastNewItem() {
    var clientContext = new SP.ClientContext();
    var TrackerList = clientContext.get_web().get_lists().getByTitle('Tracker');
    var query = new SP.CamlQuery();
    query.set_viewXml("1New");
    collListItem = TrackerList.getItems(query);
    clientContext.load(collListItem);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));        
}

// Populate new tracking number by adding 1 to the most recent tracking number
function onQuerySucceeded(sender, args) {
    var listItemEnumerator = collListItem.getEnumerator();
    while (listItemEnumerator.moveNext()) {
        var oListItem = listItemEnumerator.get_current();       
    }
    if ($("select(id^='Status')").val() == "New")
        {
        $("input(id^='Tracking_x0020_Numbe')").val(oListItem.get_item('Tracking_x0020_Numbe')+1);
        }
} 

function onQueryFailed(sender, args) {
    // Alert error message if list item above fails to load
    alert('Request failed. nError: ' + args.get_message() + 'nStackTrace: ' + args.get_stackTrace());
}

// Validate that an appropriate Associated Tracking Number has been selected if the first field says existing
function PreSaveAction() {
    var q = document.getElementById('Status$DropDownChoice');
    var question = q.options(q.selectedIndex).text;

    var rvtracking = $("input:text(title='Associated Tracking Number')").val();
    var re_rvtracking = /^RVFUF(0-9){2,2}-(0-9){4,4}$/;

    if((!re_rvtracking.test(rvtracking)) && question == "Existing")
    {
    $(".ms-metadata:contains('You must search and select the associated tracking number from the drop down options.')").css("color", "FireBrick");
    return false;
    }

    else
    {
    $(".ms-metadata:contains('You must search and select the associated tracking number from the drop down options.')").css("color", "DimGray");
    // Run the queries and populate the fields as indicated above
    QueryLastNewItem();
    QueryExistingLastID();
    return true;
    }
}