SVG icon in PWA manifest.json – how to set it for all sizes?
“sizes”: “any” https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes
“sizes”: “any” https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes
ImageMagick has a recipe for this in their documentation, see FavIcon Web Page Link Thumbnail Essentially you run the following: convert image.png -bordercolor white -border 0 \ \( -clone 0 -resize 16×16 \) \ \( -clone 0 -resize 32×32 \) \ \( -clone 0 -resize 48×48 \) \ \( -clone 0 -resize 64×64 \) \ … Read more
I finally found the correct code for the Icon.js file : import L from ‘leaflet’; const iconPerson = new L.Icon({ iconUrl: require(‘../img/marker-pin-person.svg’), iconRetinaUrl: require(‘../img/marker-pin-person.svg’), iconAnchor: null, popupAnchor: null, shadowUrl: null, shadowSize: null, shadowAnchor: null, iconSize: new L.Point(60, 75), className: ‘leaflet-div-icon’ }); export { iconPerson };
As the icons listed on the website are slightly outdated, here is a forked list of the icons, maintained and updated by Jossef Harush Kadouri Material Design Icons DX (MDIDX) The old Material.io link now redirects to the Icons page on Google Fonts. There is also another icon font by Google that supports variable fonts … Read more
That icon means that the session was aborted by the client, Fiddler, or the Server (see the documentation). In the modern versions of Fiddler, right-click the session and choose Properties. In the list of flags, there will be an X-Aborted-When flag which shows the state of the session at the time that the abort occurred.
The issue of adding tooltips to any HTML-Output (not only FontAwesome) is an entire book on its own. 😉 The default way would be to use the title-attribute: <div id=”welcomeText” title=”So nice to see you!”> <p>Welcome Harriet</p> </div> or <i class=”fa fa-cog” title=”Do you like my fa-cog icon?”></i> But since most people (including me) do … Read more
You can set a badge on your browser action with setBadgeText: chrome.browserAction.setBadgeText({text: “10+”}); // We have 10+ unread items. Note that if the text you pass is longer than 4 characters, it will be truncated to the first 4 characters. Edit: Mar 2021 According to the new Manifest V3, the APIs have been changed. According … Read more
Here is a shot of my VS2012 install that almost looks like the familiar 2010 we are all used to. It makes me feel normal again! Here is exactly how I did this, step-by-step: 1) Close all instances of Visual Studio 2) Download vsip and extract it to a temp directory. (as of 1/3/2013 the … Read more
For Android Studio 0.4.0 and later, click “File > New > Image Asset“.
When working with the Subversion repository, remote changes (those on the repository) are incoming changes (remote → local), while local changes are outgoing changes (local → remote). In views that compare the local and remote copies, incoming changes are denoted with a blue, left-facing arrow, while outgoing changes are denoted with a gray, right-facing arrow. … Read more