Skip to content

Instantly share code, notes, and snippets.

View caccialdo's full-sized avatar

Arnaud Ceccaldi caccialdo

  • Deliveroo
  • London, UK
View GitHub Profile
@caccialdo
caccialdo / README.md
Last active April 29, 2025 22:02
Windows-Image-Splitter

Run via:

irm "https://gist.githubusercontent.com/caccialdo/d26e89e9eb7b697811c4207e856d8d45/raw/win-iso-splitter.ps1" | iex
@caccialdo
caccialdo / article.adoc
Last active August 13, 2025 13:13
How to reinstall Windows 11 Home on a Snapdragon X Elite device

How to reinstall Windows 11 Home on a Snapdragon X Elite device

Table of Contents
Note
As of June 2024, Snapdragon X Elite devices are still very new and support for installations of Windows on ARM by the consumers is not (yet) as straight forward as "burning" an ISO file supplied by Microsoft onto a USB drive like for their x86 counterparts. Currently, the only way to get a USB device to boot is to use an EFI partition created with diskpart or a WinPE boot drive.

What you’ll need

@caccialdo
caccialdo / create-ssl-cert-osx.sh
Last active March 9, 2018 15:50
Creating and registering a custom SSL certificate on OSX
# Prerequisite: openssl
openssl req -subj '/CN=example.com/O=Acme Inc/C=UK' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout sslCertificate.key -out sslCertificate.crt
sudo security add-trusted-cert -d -r trustRoot -p ssl -k /Library/Keychains/System.keychain sslCertificate.cer

Keybase proof

I hereby claim:

  • I am caccialdo on github.
  • I am caccialdo (https://keybase.io/caccialdo) on keybase.
  • I have a public key ASDTocQA-rfod-Dh2uG-Bmnw33WcY9t-KCfwRpbsMpEDmgo

To claim this, I am signing this object:

@caccialdo
caccialdo / browser2svg.js
Created March 6, 2014 15:26
CSS styled SVG to Standalone SVG
/*jslint vars:true, regexp: true*/
/*global copy*/
(function () {
var svg = document.querySelector('svg'),
styles = [
'stroke-width',
'color',
'stroke',
'fill',
@caccialdo
caccialdo / benchmark.js
Created February 19, 2014 00:12
DOM creation & update benchmark
(function () {
// Creation V1
console.time('v1');
var s = document.createElement('select'),
i, html = '';
s.multiple = true;
for (i = 0; i < 5000; i++) {
html += '<option selected value="' + i + '">id #' + i + '</option>';
}
s.innerHTML = html;