- 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
Color Group | Palette | Shade | HEX | |
---|---|---|---|---|
Red | Primary | 50 | #ffebee | |
Red | Primary | 100 | #ffcdd2 | |
Red | Primary | 200 | #ef9a9a | |
Red | Primary | 300 | #e57373 | |
Red | Primary | 400 | #ef5350 | |
Red | Primary | 500 | #f44336 | |
Red | Primary | 600 | #e53935 | |
Red | Primary | 700 | #d32f2f | |
Red | Primary | 800 | #c62828 |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,00,00,00,00 |
-
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 plugin is a front for ag, A.K.A. the_silver_searcher, https://github.com/rking/ag.vim
Usage: ag [FILE-TYPE] [OPTIONS] PATTERN [PATH]
Ag searches from your current working directory if a PATH is not given.
- Check your working directory in Vim with
:pwd
- Change your working directory with
:cd [PATH]
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 |
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
#!/bin/bash | |
#================================================================ | |
# HEADER | |
#================================================================ | |
#% SYNOPSIS | |
#+ ${script_name} [-h] [-o[file]] input_date path | |
#% | |
#% DESCRIPTION | |
#% This script prints a signed URL for HTTP GET'ting a file | |
#% from AWS CloudFront https://sendr.example.com |
Basically (and very roughly), the standard paths on Unix are:
/bin
&/sbin
for vital programs for the OS, sbin being for administrators only ;/usr/bin
&/usr/sbin
for not vital programs, sbin being for administrators only ;/var
for living data for programs. It can be cache data, spool data, temporary data (unless it's in/tmp
, which is wiped at every reboot), etc. ;/usr/local
for locally installed programs. Typically, it hosts programs that follow the standards but were not packaged for the OS, but rather installed manually by the administrator (using for example./configure && make && make install
) as well as administrator scripts ;/opt
for programs that are not packaged and don't follow the standards. You'd just put all the libraries there together with the program. It's often a quick & dirty solution, but it can also be used for programs that are made by yourself and for which you wish to have a specific pa
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="HTTPS rewrite behind AWS Electric Load Balancer rule" enabled="true" stopProcessing="true"> | |
<match url="^(.*)$" ignoreCase="false" /> | |
<conditions> | |
<add input="{HTTP_X_FORWARDED_PROTO}" pattern="^http$" ignoreCase="false" /> | |
</conditions> |