Skip to content

Instantly share code, notes, and snippets.

View saxman's full-sized avatar

Paul R. Saxman saxman

View GitHub Profile
@saxman
saxman / notebook.ipynb
Last active January 24, 2024 17:59
Serialize Pandas Dataframe Rows as JSON Objects
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chenxiaolong
chenxiaolong / DellXPS15_9560_AHCI_RAID.md
Created November 27, 2017 01:33
Switching between AHCI and RAID on the Dell XPS 15 (9560)

Switching between AHCI and RAID on the Dell XPS 15 (9560)

This guide likely applies to other models and, potentially, even laptops from other OEMs that have NVME drives. However, I've only tested this on my Dell XPS 15 (9560) with the OEM Windows installation from the Signature Edition model.

Switching from RAID to AHCI

Switching from RAID to AHCI is significantly simpler than switching from AHCI to RAID. All that's needed is a successful boot to Safe Mode.

  1. To set the default boot mode to Safe Mode, use msconfig.exe or open an admin cmd/PowerShell window and run:
@broady
broady / BouncingMarker.java
Last active June 1, 2017 16:44
Dropping Marker animation
final Marker m = mMap.addMarker(new MarkerOptions()
.icon(BitmapDescriptorFactory.fromResource(R.drawable.house_flag))
.position(new LatLng(lat, lng)));
final ValueAnimator va = ValueAnimator.ofFloat(20, 1);
va.setDuration(1500);
va.setInterpolator(new BounceInterpolator());
va.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {