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:
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
#!/bin/bash | |
root="$(git rev-parse --show-toplevel)" | |
cd "$root" || exit 1 | |
if [[ ! -r go.mod ]]; then | |
exit 0 | |
fi | |
mod="$(grep -E "^replace\s+.+\s{1}=>\s{1}.+$" go.mod 2>/dev/null)" |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.myMac.domain.com
sudo scutil --set HostName <new host name>
import { GraphQLRequestContext } from 'apollo-server-core/dist/requestPipelineAPI'; | |
import { Request } from 'apollo-server-env'; | |
import beeline from 'honeycomb-beeline'; | |
import { | |
DocumentNode, | |
GraphQLResolveInfo, | |
ResponsePath, | |
ExecutionArgs, | |
GraphQLOutputType, | |
GraphQLCompositeType, |
{ | |
"Type": "AWS::Logs::SubscriptionFilter", | |
"DependsOn": "LoggingLambdaPermission", | |
"Properties": { | |
"LogGroupName": "LogGroup", | |
"FilterPattern": "{ $.HaHaThisIsJson NOT EXISTS }", | |
"DestinationArn": { | |
"Fn::GetAtt": [ | |
"LoghandlerLambdaFunction", | |
"Arn" |
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
This script is intended to automatically fix the sequence numbers for all tables in the current database.
This is accomplished through the use of the setval()
command, which we provide with the next ID value we wish to make use of.
We use the setval(sequence, number, is_called)
overload
and set is_called = false
in conjunction with COALESCE(MAX + 1, 1)
to ensure that, with an empty table, the next sequence
value is 1
as expected.