Download Arch Linux iso file: https://www.archlinux.org/download/
Plug and identify your USB flash drive
lsblk
Unmount if necessary
const functions = require('firebase-functions'); | |
const util = require('util'); | |
exports.helloWorld = functions.https.onRequest((req, res) => { | |
// For Firebase Hosting URIs, use req.headers['fastly-client-ip'] | |
// For callable functions, use rawRequest | |
// Some users have better success with req.headers['x-appengine-user-ip'] | |
const ipAddress = req.headers['x-forwarded-for'] || req.connection.remoteAddress; | |
const headers = JSON.stringify(req.headers, null, 2); | |
const message = util.format("<pre>Hello world!\n\nYour IP address: %s\n\nRequest headers: %s</pre>", ipAddress, headers); |
# will not work in all cases, see https://gist.github.com/angelo-v/e0208a18d455e2e6ea3c40ad637aac53#gistcomment-3439904 | |
function jwt-decode() { | |
sed 's/\./\n/g' <<< $(cut -d. -f1,2 <<< $1) | base64 --decode | jq | |
} | |
JWT=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ | |
jwt-decode $JWT |
Download Arch Linux iso file: https://www.archlinux.org/download/
Plug and identify your USB flash drive
lsblk
Unmount if necessary
/*global firebaseui*/ | |
/*global firebase*/ | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import App from './App'; | |
import 'bootstrap/dist/css/bootstrap.css'; | |
import 'bootstrap/dist/css/bootstrap-theme.css'; | |
import './index.css'; |
If you're aiming for a seamless Arch Linux installation in UEFI mode, follow along as this guide will walk you through the process step by step. We'll be using LUKS (Linux Unified Key Setup) and LVM (Logical Volume Manager) partitions on LUKS to achieve full disk encryption.
Note: I have updated this doc for UEFI mode. For those with BIOS/MBR systems, you can refer to the previous version, but keep in mind that it might be outdated and no longer accurate.
If you're only interested in installing Linux and not setting up dual boot with Windows, feel free to skip the Windows-related sections.
On why stateful code is bad | |
=========================== | |
STUDENT: Sir, can I ask a question? | |
TEACHER: Yes! | |
STUDENT: How do you put an elephant inside a fridge? | |
TEACHER: I don't know. | |
STUDENT: It's easy, you just open the fridge and put it in. I have another question! | |
TEACHER: Ok, ask. | |
STUDENT: How to put a donkey inside the fridge? |
### ONGOING MODIFICATION/REPLACEMENT OF JEFF SHARPE'S INSTRUCTIONS | |
### Arch Linux Installation Notes | |
### UEFI GPT LVM on LUKS (single drive) | |
### | |
### These are my personal notes to install Arch. Its not a script, but step by step instructions. If using | |
### please be aware that every step should be considered before applying, to personalize your | |
### installations appropriately. | |
### | |
//app/batch/SampleAQS.scala | |
package batch | |
import play.api._ | |
import play.api.Play.current | |
import play.api.libs.concurrent.Akka | |
import play.api.libs.concurrent.Execution.Implicits.defaultContext | |
import akka.actor.{Actor, ActorSystem, Props} | |
import com.typesafe.akka.extension.quartz.QuartzSchedulerExtension |
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence | |
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" | |
version="1.0"> | |
<!-- derby --> |