cd /Library/Preferences
sudo rm com.sophos.sav.plist
cd /Library/Application\ Support/Sophos/cloud/Installer.app/Contents/MacOS/tools/
sudo ./InstallationDeployer —force_remove
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
Using auto-generated UTM tagged URLs within Google AdWords along with auto-tagging for Google Analytics
You want to use Google AdWords' auto-tagging for a deep integration with Google Analytics, but you need to use UTM parameters with your other analytics and marketing systems, but don't want to manually tag all of your ads.
Within AdWords, you can use ValueTrack and custom parameters along with a tracking template to automatically generate a tagged URL with all of the information you need. A tracking template which populates the query string with campaignid, adgroupid and keywork looks like this:
{lpurl}?campaignid={campaignid}&adgroupid={adgroupid}&term={keyword}
| name | punctuation |
|---|---|
| description | Converts straight quotes to typographic quotes, normalizes hyphens/dashes and ellipsis in prose copy. Use when editing marketing copy, blog posts, landing pages, docs, or when the user asks to fix quotation marks, dashes, or ellipsis. |
Convert straight quotes, hyphens/dashes, and ellipsis to correct typographic characters in prose. Do not change code blocks, inline code, commands, or file paths unless explicitly requested.
To embed the contents of an SVG file into your site using NextJS with the new Rust-based compiler (Turbopack), perform the following steps:
- Install
@svg/webpack:
$ npm install --save-dev @svgr/webpack- Add to your webpack config in
next.config.jswith the following options. This will remove the width and height from the SVG but keep the viewBox for correct scaling.
| import PropTypes from 'prop-types'; | |
| import { useState, useEffect, useContext, createContext } from 'react'; | |
| import { useRouter } from 'next/router'; | |
| import merge from 'deepmerge'; | |
| import usePrevious from 'hooks/usePrevious'; | |
| const useProvideSegment = () => { | |
| const [location, setLocation] = useState(); | |
| const router = useRouter(); |
| <script type="application/ld+json"> | |
| { | |
| "@context": "http://schema.org", | |
| "@type": "Organization", | |
| "@id": "#organization", | |
| "name": "Outlyer", | |
| "url": "https://www.outlyer.com/", | |
| "sameAs": [ | |
| "https://github.com/outlyerapp", | |
| "https://twitter.com/outlyer", |
| var cookieVal = document.cookie, | |
| testVal = "mixpanel", | |
| localStorageKey = "mixpanel-cookie", | |
| canWriteCookie = false; | |
| // Test cookie | |
| document.cookie = testVal; | |
| canWriteCookies = document.cookie === testVal; | |
| // Restore cookie |
| const Sitemapper = require('sitemapper'); | |
| (async () => { | |
| const mapper = new Sitemapper(); | |
| const sitemap = await mapper.fetch(`https://www.example.com/sitemap.xml`); | |
| console.log(sitemap); | |
| })(); |