Copyright (c) 2015 Patrick Cloke clokep@instantbird.org
Unlimited redistribution and modification of this document is allowed provided that the above copyright notice and this permission notice remains intact.
| #!/bin/bash | |
| # Script for converting Fedora (and maybe other dracut-based) LiveCD to LiveUSB | |
| # with persistence. Only UEFI boot supported. Tested with Fedora 37. | |
| # | |
| # Usage: | |
| # ./fedora_to_usb.sh path/to/mounted/livecd /dev/sdX | |
| # | |
| # Result USB partitioning: | |
| # GPT, 2 partitions: | |
| # - "EFI" (vfat 256MB) for GRUB and kernel |
| /** | |
| * If your database provides block transactions, (like Sequelize, | |
| * here: https://sequelize.org/master/manual/transactions.html) here's how to | |
| * use them in Apollo Server: | |
| */ | |
| import { ApolloServerPlugin, GraphQLRequestContext } from 'apollo-server-plugin-base' | |
| export interface Transactable<Txn> { | |
| transact?: Transact<Txn> |
| # | |
| # You will need to change these variables... | |
| # | |
| # The host name or IP address of the SSH server that we are | |
| # sending the connection request to: | |
| SERVER_HOSTNAME=harek |
Copyright (c) 2015 Patrick Cloke clokep@instantbird.org
Unlimited redistribution and modification of this document is allowed provided that the above copyright notice and this permission notice remains intact.
| #include <CoreFoundation/CFSocket.h> | |
| #include "CFInternal.h" | |
| #include <dispatch/dispatch.h> | |
| #include <dispatch/private.h> | |
| #include <netinet/in.h> | |
| #include <sys/sysctl.h> | |
| #include <sys/socket.h> | |
| #include <sys/ioctl.h> | |
| #include <sys/stat.h> | |
| #include <unistd.h> |