Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadVersion</key> | |
| <integer>1</integer> | |
| <key>PayloadScope</key> | |
| <string>System</string> | |
| <key>PayloadType</key> | |
| <string>Configuration</string> |
| #!/bin/bash | |
| # This script takes a clean Ubuntu Server 24.04 LTS AMI and installs and configures | |
| # everything needed to deploy a Rails 7 app to it. The resulting state is a secure, | |
| # production-ready instance. | |
| set -euo pipefail | |
| # --- AESTHETICS --- |
| #!/bin/zsh | |
| # CREDITS: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
| # Big Sur revision by b0gdanw https://gist.github.com/b0gdanw/40d000342dd1ba4d892ad0bdf03ae6ea | |
| # TEMPORARILY disabling (e.g. STOPPING via 'bootout') unwanted services on macOS 11 Big Sur and macOS 12 Monterey: | |
| # This version is for a special boot that optimizes for real-time music performance and streaming video. | |
| # Due to the read-only system volume introduced with macOS Catalina, this script can NOT be run in Recovery mode's Terminal. | |
| # For my purposes I leave WiFi enabled, for streaming video to a local router with no internet connection. |
| ### | |
| ### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
| ###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
| ###. things to watch out for: | |
| ### - Check out the `nix-darwin` instructions, as they have changed. | |
| ### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
| ### | |
| # I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
| # So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
| // IMPORT ALL MATERIAL COMPONENTS | |
| // #STEPS | |
| // 1- Import this file as module in app.module.ts ==> import { MaterialModule } from './xyz/abc'; | |
| // 2- Initialize it in imports:[] array ==> imports:[MaterialModule] | |
| import { NgModule } from '@angular/core'; | |
| // *************** FORM CONTROLS *************** | |
| import {MatAutocompleteModule} from '@angular/material/autocomplete'; | |
| import {MatCheckboxModule} from '@angular/material/checkbox'; | |
| import {MatDatepickerModule} from '@angular/material/datepicker'; |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| // we have an array of objects, we want to remove one object using only the id property | |
| const apps = [{id:34,name:'My App',another:'thing'},{id:37,name:'My New App',another:'things'}]; | |
| // get index of object with id of 37 | |
| const removeIndex = apps.findIndex( item => item.id === 37 ); | |
| // remove object | |
| apps.splice( removeIndex, 1 ); | |
You can now read this on my (pretty) website! Check it out here.
Every reason to get more HackerPoints™ is a good one, so today we're going to
write a neat command line app in .NET Core! The Common library has a really cool
package Microsoft.Extensions.CommandlineUtils to help us parse command line
arguments and structure our app, but sadly it's undocumented.
No more! In this guide, we'll explore the package and write a really neat