Checks whether system is using dark mode or not.
Signature:
using fnShouldAppsUseDarkMode = bool (WINAPI*)(); // ordinal 132
The easiest way to should be to use [HP PC HARDWARE DIAGNOSTICS 4-IN-1 USB KEY][hp-usb-key]. You should use this option if your BIOS/UEFI does not have a "BIOS update" option.
Unfortunately HP's automatic tool only runs on Windows, but it is possible to make a USB key formatted manually by running the self-extracting executable on Wine. You cannot simply extract the executable using 7-zip because the executable needs to do some file generation.
NAS4T:/Data/user0# netstat -lnp | |
Active Internet connections (only servers) | |
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name | |
tcp 0 0 0.0.0.0:548 0.0.0.0:* LISTEN 2142/afpd | |
tcp 0 0 0.0.0.0:3689 0.0.0.0:* LISTEN 2204/mt-daapd | |
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 2056/smbd | |
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2153/lighttpd | |
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2076/vsftpd | |
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2030/sshd | |
tcp 0 0 127.0.0.1:31415 0.0.0.0:* LISTEN 2311/fbarchived |
let's suppose you don't have any drive in Seagate Central first of all you need to check if board is ok (you can pass this step an go to Phase 4. if you already know it)
(function(){ | |
var gtmContainerId = 'GTM-XXXXXX'; | |
var gaContaierId = 'UA-XXXXXXX-1'; | |
console.log('gtm check', checkGoogleTagManager(gtmContainerId)); | |
console.log('ga check', checkGoogleAnalytics(gaContaierId)); | |
// To test for only the presence of Google Tag Manager, supply a containerId of null. | |
function checkGoogleTagManager(containerId){ |
if (!window.dataLayerGet) { | |
dataLayerGet = function(key, default_value, dataLayer) { | |
function recurse(clone, old) { | |
clone = clone || {}; | |
var property; | |
for (property in old) { | |
if (old && old.hasOwnProperty(property) && old[property] !== null) { | |
if (typeof old[property] === 'object') { | |
if (old[property].hasOwnProperty('length')) { | |
clone[property] = []; |
process.env.BABEL_ENV = 'test'; | |
module.exports = function(wallaby){ | |
return { | |
files: [ | |
{pattern: 'node_modules/babel-polyfill/dist/polyfill.js', instrument: false}, | |
'test/mock/*.js', | |
'stubs/*.js', | |
'test/test-util/*.js', | |
'app/**/*.js', |
(function(){ | |
var items = [].slice.call(document.querySelectorAll('.gallery-container > div > div > div')); | |
var button = document.querySelector('.gallery__nav--next'); | |
var current = 0; | |
var count = items.length + 5; | |
var interval = setInterval(function(){ | |
button.click(); | |
console.log('clicked ', current); | |
current++; |
Use the Bulletproof Git Workflow, and before code review:
Publish a pre-release version of the package: