browser addons – Any utility to display ajax request/response over the website page without having to visit the network console?

Browser network tab can be used to inspect the request/response of ajax calls to backend servers.

Is there a way to display the same data in a div on the page instead of having to go to the network tab always?

I’m solution for client side solutions as I do not have control over the actual website code.

Note: Question is in reference to any website, I do not have access to modify the server side code that delivers the client side JS.

Image showing the data I’m interested to display directly on the page instead of going to ‘Inspect Element’ -> ‘Network Tab’

Below image just shows the ‘request’ tab, but i’m intereseted to display both request and response for last ajax call made to the backend.

Sample YT browser ajax request

disk utility – Can you only partition a hard drive once?

disk utility – Can you only partition a hard drive once? – Ask Different

macos – Can’t boot mac or fix it with disk utility

macos – Can’t boot mac or fix it with disk utility – Ask Different

disk utility – How to use internal HDD as a file sharing drive if I boot from external SSD on mac mini?

I’m running Mojave 10.14.6 on mac mini late 2014.

It has internal hdd drive. I bought an external ssd to speed things up and run everything from it, and use internal hdd as a data storagetime machine

I installed OS on ssd and am running the mac from it, but I can’t seem to erase the internal hdd drive. When trying to partition it in Disk utility I’m getting an error

The volume “osx” on disk1s1 couldn’t be unmounted because it is in use by process 82 (securityd)

After this error happened, disk utility shows that hdd has two partitions, 500gb each (that’s how I set it up on ‘partitioning’ step), but I can see only the partition that was there before, no new partition that I added. Might sound confusing – please see the screenshots here.

Now, I’m very sure that I run OS from external SSD, so I don’t understand why any process would use internal hdd and what should I do from now on.

So the question is, how do I use internal hdd as a data storage drive, and erase the OS from it?

disk utility – How can you verify when a drive was last formatted?

I’m trying to determine the date a drive on a MacBook was last formatted. I used to be able check the inode birth time of the root volume, but it appears a recent MacOS update may have changed this behaviour because I’m now seeing Jan 1 2020 anytime I check via

stat -f "Access (atime): %Sa%nModify (mtime): %Sm%nChange (ctime): %Sc%nBirth  (Btime): %SB" /
Access (atime): Jan  1 03:00:00 2020
Modify (mtime): Jan  1 03:00:00 2020
Change (ctime): Jan  1 03:00:00 2020
Birth  (Btime): Jan  1 03:00:00 2020

I’m aware I can simply check the software installation dates, but that doesn’t necessarily indicate if the drive was actually formatted or not.

disk utility – macOS Utilities doesn’t recognize internal ssd (but normal usage is working fine)

If my suspicion is correct, your Mac boots to an older version of macOS Recovery and Disk Utility of that older version doesn’t know APFS, so it just hides the partition.

First, make sure that ViewShow All Devices is selected in Disk Utility. With this enabled, all drives should be visible – regardless if Disk Utility knows how to handle the filesystem. This should at least allow you to format the drive.

You may also try Internet Recovery. If you’re starting your Mac with the keys R held down until the Apple logo, it should boot into the latest macOS Recovery compatible with your Mac. From there, you should see all partitions and be able to reinstall the most recent compatible version of macOS.

dnd 5e – Is this Enhanced Eyebite balanced vs other spells of comparable level and utility?

I consider Eyebite a cool, but mechanically underwhelming spell for its level. I want to turn it into a balanced option. This question does not depend on if the original version is weak or not, I want to know if my new version achieves my outlined goals.

The classes to consider as users of the spell are: Bard, Sorcerer, and especially Warlock, who needs to choose it as an Arcanum, the only and unchangeable 6th level spell they’ll have.

The other spells to consider as comparison points specifically are: Hold Monster (similar effect on target at 5th level already, for Bard and Sorcerer up-castable to 6th level for 2 targets) and then as actual 6th level aternatives, Mass Suggestion and Mental Prison (in XGtE so paywalled link), which also can be used to take enemies out of a fight, and for which Mass Suggestion has great utility use as well. I don’t needs a comparison against the original version of Eyebite. You can also compare it to other spells up to level 6, if you think they’re relevant for the same role.

The goal of the homebrew is to make Eyebite an equal contender, when the character reaches the point where they can choose these spells.

Does this Enhanced Eyebite, description below, meet the above goal?

Enhanced Eyebite

Level: 6th
Casting Time: 1 Action
Range/Area: Self
Components: V, S
Duration: Concentration, 1 hour
Attack/Save: WIS Save

For the spell’s duration, your eyes become an inky void imbued with
dread power. One creature of your choice within 90 feet of you
that you can see must succeed on a Wisdom saving throw or be affected
by one of the following effects of your choice for the duration. On
each of your turns until the spell ends, you can use your action to
target another creature. If you target a creature again after it
has succeeded on a saving throw against this casting of Eyebite, the
creature has advantage on its saving throws

Asleep. The target falls unconscious. It wakes up if it takes any
damage or if another creature uses its action to shake the sleeper

Panicked. The target is frightened of you. On each of its turns, the
frightened creature must take the Dash action and move away from you
by the safest and shortest available route, unless there is nowhere to
move. If the target moves to a place at least 90 feet away from
you where it can no longer see you, this effect ends.

Sickened. The target has disadvantage on attack rolls and ability
checks. At the end of each of its turns, it can make another Wisdom
saving throw. If it succeeds, the effect ends. If it fails, it takes
2d8 points of necrotic damage.

When cast at higher levels: The distance needed for Panicked effect to
end increases by 10 feet for each level above 6th. The damage done by
Sickened effect increases by 1d8 for each level above 6th.

Notes: Changes to the original are highlighted for the benefit of those who know the original spell, even though comparison to the original is not what I’m asking. The duration is increased to give this spell more utility, and ability to last for several encounters. The range is increased to match Hold Monster. The damage is added to the Sickened effect, so it wouldn’t be strictly inferior to Panicked, which also gives the same disadvantages with different and arguable much stronger conditions to end the effect. Scaling with level is added to keep the spell competitive at higher character levels. The ability to target the same creature again is given so the spell doesn’t become useless if all enemies succeed at their saving throw, but disadvantage is given so that in most situation it’d still be better to do something else than keep spamming Eyebite at disadvantage.

javascript – Command Line Utility to Delete Files/Directories

Delete files and directories from the command line.


  1. git clone
  2. node main.mjs

Command Line Arguments

  1. -d: Specify the directory to search in. If no directory is specified, the home directory is used.
  2. -e: Specify the directories to exclude from the search.
  3. -y: Skip the confirmation when deleting the file/directory.
  4. -r: Search recursively for files/directories.

Example Usage

Command: node main.mjs node_modules package-lock.json -d ../local_chat/ -r -e .git public env

This command will search for node_modules and package-lock.json in the local_chat directory recursively, and then delete them after confirming from the user. The program will exclude .git, public, and env directories from the search.


import fs from 'fs/promises';
import readLine from 'readline';
import os from 'os';
import path from 'path';

// TODO List the directory supplied by the user. Done.
// TODO If node_modules directory is found, notify the user. Done.
// TODO Parse the command line arguments. Done.
// TODO Add option to recursively search directories. Done.
// TODO Prompt the user before deleting the directory. Done.
// TODO Add support for removing any directory or file. Done.
// TODO Add support for removing multiple directories or files. Done.
// TODO Add list of file/directory names to exclude from search. Done.

const rl = readLine.createInterface({
  input: process.stdin,
  output: process.stdout

function parseArgs(args) {
  const config = {
    targets: new Set(),
    excludeList: new Set()

  for (let i = 0; i < args.length; i++) {
    const arg = args(i);

    if (arg(0) === '-') {
      for (const char of arg) {
        if (char === 'r') {
          config.recurse = true;
        } else if (char === 'y') {
          config.skipConfirmation = true;
        } else if (char === 'd') {
          const nextArg = args(i + 1);
          if (nextArg && nextArg(0) !== '-') {
            config.path = nextArg;
        } else if (char === 'e') {
          let nextArg = args(++i);
          while (nextArg && nextArg(0) !== '-') {
            nextArg = args(++i);
    } else {

  if (!config.path) {
    config.path = os.homedir();

  if (!config.targets.size) {
    throw new Error('Target file/directory not provided.')

  return config;

async function getDirectoryList(path) {
  const directoryList = ();
  const dir = await fs.opendir(path);
  for await (const dirent of dir) {
  return directoryList;

async function removeTargetObject(path) {
  try {
    await fs.rm(path, { recursive: true });
    console.log(`File/Directory ${path} deleted successfully`);
  } catch (e) {
    console.error(`Failed to delete file/directory ${path}. Reason ${e}`);

function handleTargetRemoval(config, path) {
  if (config.skipConfirmation) {
    return removeTargetObject(path);

  return new Promise((resolve) => {
    rl.question(`Remove file/directory ${path} (y/n)? `, async (input) => {
      if (input === 'y') {
        await removeTargetObject(path);
      } else {
        console.log(`Skipping file/directory ${path}`);

async function main() {
  try {
    const config = parseArgs(process.argv.slice(2));
    const paths = (config.path);
    const targetPaths = ();

    for (let i = 0; i < paths.length; i++) {
      const directoryList = await getDirectoryList(paths(i));

      for (const dirent of directoryList) {
        const fullPath = path.join(paths(i),;

        if (config.targets.has( {

        if (dirent.isDirectory()
          && config.recurse
          && !config.targets.has(
          && !config.excludeList.has( {

    for (const targetPath of targetPaths) {
      await handleTargetRemoval(config, targetPath);

    if (!targetPaths.length) {
      console.log('Target file/directory not found.');
  } catch (err) {
  } finally {


disk utility – Problem after installing ubuntu on dual-boot macbook

Appologize that the explanation will be lengthy. I really did a lot of stupid things, and I don’t know much about how to handle computer-related problems…

While installing Ubuntu on my macbook pro 2015, which already has windows and macOS installed, I made a huge mistake by selecting the “install alongside windows” option. As a result, I can no longer boot into macOS or windows. With the successfully installed Ubuntu, I can still see and edit my files from the windows partition, but not the mac partition (in fact, it nows shows as a “110 GB volume”, see tge image below) which contains the most important files for me. Since I stupidly did not make any backups, rebooting into macOS or somehow extract the files in this particular partition is now my top priority.
enter image description here

Here are what I have tried.

First, upon inputing the command diskutil list in terminal under internet recovery mode, I discovered that the partition type for my disk0s1 had turned into FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF.

Then I followed @klanomath’s instructions on Data Not Backed Up, Partition Type: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF to cope with the problem, but wasn’t successful.

here is what was returned after inputing dd if=/dev/disk0s2 count=3 | vis -c:

3+0 records in
3+0 records out
1536 bytes transferred in 0.000877 secs (1751142 bytes/sec)

so I thought this should be from a standard OS X partition, and edited the parition type of disk0s2 accordingly. Meanwhile, I also fixed the MBR problem according to @klanomath’s instructions from How to fix broken GPT, GUID and unmountable, no type volumes?.

After all these, the command diskutil list returns:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                       EFI EFI                      209.7 MB   disk0s1
   2:                 Apple_HFS                          110.0 GB   disk0s2
   3:       Microsoft Basic Data BOOTCAMP                123.9 GB   disk0s3
   4:           Windows Recovery                         841.0 MB   disk0s4
   5:           Linux Filesystem                         16.0 GB    disk0s5
/dev/disk1 (disk image):
   #:                       TYPE NAME                   SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk1
   1:                  Apple_HFS OS X Base System        2.0 GB     disk1s1

And the command gpt -r show /dev/disk0 returns:

      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6
         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  214860792      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  215270432        992
  215271424   31254528      5  GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
  246525952  242062900      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
  488588852        460
  488589312    1642496      4  GPT part - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
  490231808       2911
  490234719         32        Sec GPT table
  490234751          1        Sec GPT header

At this point, there still seems to be a problem with disk0s2, as its type name is “Apple_HFS”. This was further supported by what was return after inouting diskutil verifyDisk disk0:

Started partition map verification on disk0
Checking prerequisites
Checking the partition list
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partiton's file system
Problems were found with the partition map which might prevent booting
Error: -69766: The partition map needs to be repaired because there's a problemwith the EFI system partition's file system
Underlying error: 8: POSIX reports: Exec format error

Also, an error was raised for diskutil verifyVolume disk0s1:

Started file system verification on disk0s1 EFI
Verifying file system
** /dev/rdisk0s1
** Phase 1 - Preoaring FAT
** Phase 2 - Checking Directorues
** Phase 3 - Checking for Orphan Clusters
Found orphan clusters
206 files, 144089KiB free (288179 clusters)
File system check exit code is 8
Error: -69845: File system verify or repair failed
Underlying error: 8: POSIX reports: Exec format error

And diskutil verifyVolume disk0s2 returns:

Started file system verification on disk0s2
Verifying file system
File system check exit code is 8
Error: -69845: File system verify or repair failed
Underlying error: 8: POSIX reports: Exec format error

DoubleJack is changing the paradigm with its utility token.

Great igaming lottery platform for making money. DoubleJack’s ICO will also offer a digitized stakeholding utility asset to users, building the foundations for the company’s philanthropic, igaming lottery platform.

DoubleJack, a global fintech startup, launches its Tron-based DJACK utility token, designed to give users, who are normally geo-blocked by local barriers, access to its lottery platform and its associated benefits.

The funds from the utility token sale will be used to build its insurance program and sell insurance-linked securities (ILS), which will enable the company to offer a much larger jackpot.

Around the world, a number of countries have created geoblocking parameters to prevent their local populations from partaking in igaming, a market volume of nearly one trillion USD by 2025.

Most igaming and lottery programs are not philanthropic in nature and do not offer real stakeholder opportunities. In the spirit of improving upon the absences of these elements in the industry, DoubleJack is changing the paradigm with its utility token.

In addition to granting buyers access to the platform to buy lottery tickets, the token will afford buyers unique opportunities immediately upon purchase:

Finally, winners of the lottery jackpot will be offered the opportunity to work with Turner Little wealth management firm as part of the wealth management initiative.

Ultimately, users will be the greatest beneficiaries because they will not only access the igaming platform but will also benefit from the philanthropic ecosystem.

Providing innovative opportunities for users.

The new token that DoubleJack offers will grant buyers access to the platform to buy lottery tickets and multiple other opportunities, including:

Influencer income:

According to the official press release, token holders will get the chance to earn passive income by becoming influencers and sending referral QR code links to other people.

For every 20 people who are getting a referral code, the influencer will learn a passive income of $100. An influencer can work his/her way up to $6 million over time.

The passive income amount depends on the influencer’s DoubleJack.Club status. Passive income will be distributed from one-third of the lottery’s total jackpot.


Winners of the jackpot lottery will receive the opportunity to work with Turner Little wealth management company in order to help them get their business objectives.

Philanthropic opportunities:

Influencers are encouraged to develop charitable initiatives, contributing to local charities with their passive income.

ICO Details

Token Ticker


Token Name


Total Number of Tokens


Price of one Token in USD


Soft Cap

7,000,000 USD

Hard Cap

20,000,OOO USD

For more information, please visit (ICO)

Info and press coverage at

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive New Proxy Lists Every Day Proxies123