I am in the phone package of my parents during the sprint and I want to go out and buy mine. How much does it cost if I receive a single line?

depends on how much data you want. go to different services and talk about prices. Talk about your needs and how you use your phone. look at sprint, at & t, verizon or others. shop all their offers and choose the best for your budget. it may be cheaper to stay on your parents' side and pay them your share.

If you use WiFi much or almost all the time, you may not need unlimited data. just get one with a few GB, and it should be fine. in some packages, you can restore unused data every month of the year.

If you know you will not be using Wi-Fi, download content in Wi-Fi mode to watch offline so you do not use the data. music streaming hardly uses data.

there are many variations for a phone plan. so it's hard to say exactly what it will cost. Plus, you have to think if you want a contract, a month or another plan.

yahoo

Command line – Are my files lost after running mv / parentdir / otherparentdir / somedir / * / parentdir / destdir /?

I was trying to move all the files from one directory to another directory. I had errors during the first 2 attempts but at the 3rd attempt, the command was successful. However, the source directory is now empty, but the files are not in the dest directory.
Are they gone or is there a way to get them back?

Here are the commands I've executed (Downloads is at /DataVolume/shares/Public dir):

$ cd /DataVolume/shares/Public
$ shopt -s dotglob
$ mv -i Downloads/* /DataVolume/shares/Ricardo/Downloads
mv: target `/DataVolume/shares/Ricardo/Downloads' is not a directory
$ mv -i Downloads/* /DataVolume/shares/Ricardo/Downloads/
mv: target `/DataVolume/shares/Ricardo/Downloads/' is not a directory
$ mv -i Downloads/* /DataVolume/shares/Ricardo/

After running the last order, I have reviewed /DataVolume/shares/Ricardo/ but the files are not there. Then I went to watch /DataVolume/shares/Public/Downloads and
it's now empty.

postgresql – ERROR: the check constraint "dates_check" is violated by a line

ALTER table myTable ADD CONSTRAINT dates_check CHECK(start_date::date < end_date::date);

Give ..

ERROR: the check constraint "dates_check" is violated by some
row

But..

select start_date, end_date from myTable where start_date::date > end_date::date;

Results..

start_date | end_date
------------+----------
(0 rows)

Suppose that the plane x + ay + bz = c contains the point (1,2,3) and the line ℓ: r (t) = (4,9,8) + t (1,1,1), t∈ R. Find a, b and c.

Suppose that the plane x + ay + bz = c contains the point (1,2,3) and the line ℓ: r (t) = (4,9,8) + t (1,1,1), t∈ R. Find a, b and c.

visual studio – How to hide the first line that displays the path python access and path to the file in VS Code?

I use the built-in terminal in VS Code for Python and I want to hide the first line indicating the Python installation path and the location of the .py file whenever I run my code . I've tried the folder hiding trick that uses a $ profile method but the line always displays a "& C: / User ….". Ideas? Thank you! I am on the 10th win, from elsewhere.

sql – Filters the rows according to the value of a column of a particular line

Here is the code

-- How many users earned a particular tag based badge sooner than I did?

DECLARE @BadgeName nvarchar(255) = '##BadgeName##'
DECLARE @BadgeType int = ##BadgeType## -- 1: Gold, 2: Silver, 3: Bronze
DECLARE @UserId int = ##UserId##

SELECT
Users.DisplayName,
Users.Id,
DATEDIFF(day, Users.CreationDate, Badges.Date) AS Days
FROM Badges
  INNER JOIN Users ON Users.Id = Badges.UserId
WHERE
  Badges.Class = @BadgeType
  AND Badges.TagBased = 1 -- for true
  AND Badges.Name = @BadgeName
  AND DATEDIFF(day, Users.CreationDate, Badges.Date) <=
    (SELECT DATEDIFF(day, Users.CreationDate, Badges.Date)
    FROM Badges
      INNER JOIN Users ON Users.Id = Badges.UserId
    WHERE
      Badges.Class = @BadgeType
      AND Badges.TagBased = 1 -- for true
      AND Badges.Name = @BadgeName
      AND Badges.UserId = @UserId)
ORDER BY Days Asc

Does the song below do the same thing twice?

(SELECT DATEDIFF(day, Users.CreationDate, Badges.Date)
        FROM Badges
          INNER JOIN Users ON Users.Id = Badges.UserId
        WHERE
          Badges.Class = @BadgeType
          AND Badges.TagBased = 1 -- for true
          AND Badges.Name = @BadgeName
          AND Badges.UserId = @UserId)

I wonder if there is a way to make it less redundant?

Can be run at https://data.stackexchange.com/stackoverflow/query/1111754/vanity-how-many-users-earned-a-particular-tag-based-badge-sooner-than-i -did for tests.

Hopping design line hovers or buttons

A common problem that I encounter is the one below.

enter the description of the image here

  • Everything is online in the first state.
  • When hovering, the vertical line is still in place.
  • In hover, the space of the buttons is not equal on both sides, which is bad.
  • If you add a missing space to the left in the button, the horizontal line will be interrupted.

Conclusion

If you leave it as it is, the button will break in hover. Adding space to the button breaks the rest of the layout.

One solution might be to add space and a visible background, but a visible background may not be what we want.

Question

Is there a good way to solve this common problem?

front end – Line drawing in the notebook with the Mathematica command

There are many ways to get this result, but programmatically creating a line for your laptop could start with this:

CellPrint[
 Cell["", "Text", Editable -> False, Selectable -> False, 
  CellFrame -> {{0, 0}, {0, 0.5}}, ShowCellBracket -> False, 
  CellMargins -> {{0, 0}, {1, 1}}, 
  CellElementSpacings -> {"CellMinHeight" -> 1}, 
  CellFrameMargins -> 0, CellFrameColor -> RGBColor[0, 0, 1], 
  CellSize -> {Inherited, 3}]]

enter the description of the image here

Of course, the options can be changed, if you want thicker, a different color, etc.

I hope this helps you!

is it possible to enable usb debugging using the adb command line?

I have a xiaomi phone and forget my mi account. so I try to restore it using the factory reset. I then try to enable USB debugging. but it is stated that "the developer option is not available for this user". adb is active. My question is "is it possible to enable USB debugging using the adb command, and how?" Thank you

terminal – How to eject all drives from the command line

You can use the built-in AppleScript solution, as shown in this thread and this page, by adding this to ~/.bash_profile:

alias ejectall='osascript -e "tell application "Finder" to eject (every disk whose ejectable is true)"'

This will require that you give Terminal permission to control the Finder or you will get this error:

execution error: Not authorised to send Apple events to Finder. (-1743)

If you want a pure bash solution, here is a function you can call with ejectall. If you renamed your startup disk or if you have Time Machine Mobile backups, you may need to change the condition that filters the drives.

ejectall() {
    total=0
    ejected=0

    for v in /Volumes/*; do
    if (( $v != *"Macintosh HD" )); then
        echo "Ejecting $v..."
        diskutil eject "$v"

        if ( $? -eq 0 ); then
        ejected=$(($ejected + 1))
        fi
        total=$(($total + 1))
    fi
    done

    if ( $total -eq 0 ); then
    echo "No drives to eject"
    else
    msg="$ejected drive(s) ejected"
    failed=$(($total - $ejected))
    if ( $failed -gt 0 ); then
       msg="$msg, $failed drive(s) failed to eject"
    fi
    echo $msg
    fi
}