Dump existing data:
python3 manage.py dumpdata > datadump.json
Change settings.py to Postgres backend.
Make sure you can connect on PostgreSQL. Then:
{ | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"workbench.editor.highlightModifiedTabs": true, | |
"files.autoSave": "afterDelay", | |
"explorer.sortOrder": "type", | |
"editor.cursorStyle": "block", | |
"editor.cursorBlinking": "smooth", | |
"files.trimFinalNewlines": true, | |
"editor.acceptSuggestionOnEnter": "off", |
[ | |
{ | |
"value": "Dateline Standard Time", | |
"abbr": "DST", | |
"offset": -12, | |
"isdst": false, | |
"text": "(UTC-12:00) International Date Line West", | |
"utc": [ | |
"Etc/GMT+12" | |
] |
#!/bin/bash | |
if [ "$#" -ne 2 ]; then | |
echo "usage error: sh nmonitor.sh <pid> <time_to_monitor_in_seconds>";exit 1 | |
fi | |
pid=$1 | |
time=$2 | |
#read -p "Please enter your process Id: " pid |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
Since kernel version 4.4.0-20, it was enforced that unsigned kernel modules will not be allowed to run with Secure Boot enabled. Because you want to keep Secure Boot, then the next logical step is to sign those modules.
So let's try it.
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
"io" | |
) |
Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.
CS183: Startup—Notes Essay—The Challenge of the Future
Purpose and Preamble
function validateXML(txt) | |
{ | |
// code for IE | |
if (window.ActiveXObject) | |
{ | |
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); | |
xmlDoc.async=false; | |
xmlDoc.loadXML(document.all(txt).value); | |
if(xmlDoc.parseError.errorCode!=0) |