- Run
sudo vim /etc/default/grub
- Find
GRUB_CMDLINE_LINUX_DEFAULT
- Append
video=hyperv_fb:[the resolution you want]
, for example:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
- Write the changes, quit Vim
- Run
sudo update-grub
- Run
sudo reboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Offline</title> | |
</head> | |
<body style="margin:3em;font-family:sans-serif"> | |
<h2>Offline</h2> | |
<p>This site is offline for maintenance.</p> | |
<!-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config merge.renormalize true # prevents unnecessary merge conflicts, http://stackoverflow.com/a/12194759/23566 |
-
Create the file /etc/apt/sources.list.d/pgdg.list, and add a line for the repository:
deb http://apt.postgresql.org/pub/repos/apt/ YOUR_DEBIAN_VERSION_HERE-pgdg main
-
Import the repository signing key, and update the package lists.
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
sudo apt-key add -
sudo apt-get update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Longitude is X, | |
Latitude is Y. | |
That is all. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script converts bounding box values from decimal degrees to | |
# WGS 1984 Web Mercator (Auxiliary Sphere) EPSG:3857. Note that Web Mercator | |
# was originally assigned wkid 102100, but was later changed to 3857. | |
# See http://resources.arcgis.com/en/help/rest/apiref/geometry.html | |
# Arguments and Output | |
# With flags, arguments can be given in any order, but the output will always | |
# be ordered like a GeoJSON bbox: "xmin, ymin, xmax, ymax". In both the GeoJSON and | |
# Esri JSON specs, a bounding box (or envelope) is defined with the lowest | |
# values for all axes followed by the highest values, e.g. "xmin, ymin, xmax, ymax". |
Assumes that Python2, Python3, and Lua are installed...
git clone https://github.com/vim/vim.git
cd vim
./configure --with-features=huge \
--enable-pythoninterp=yes \
--enable-python3interp=yes \
--enable-luainterp=yes
make
sudo make install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Blob Fail Workflow", | |
"nodes": [ | |
{ | |
"parameters": {}, | |
"name": "Start", | |
"type": "n8n-nodes-base.start", | |
"typeVersion": 1, | |
"position": [ | |
240, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
print hashlib.sha1(open("c:\\temp\\my.file", "rb").read()).hexdigest() |
My advice: If you want to run CartoDB as a multi-container production environment, don't.
CartoDB has a thousand half-documented and undocumented configs. After weeks of digging into the internals, I could see no light at the end of the tunnel. Easily, I have wasted 300 hours on the hope of someday having a manageable, self-hosted CartoDB backend.
NewerOlder