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
<NotepadPlus> | |
<InternalCommands /> | |
<Macros> | |
<Macro name="Trim Trailing Space and Save" Ctrl="no" Alt="yes" Shift="yes" Key="83"> | |
<Action type="2" message="0" wParam="42024" lParam="0" sParam="" /> | |
<Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> | |
</Macro> | |
</Macros> | |
<UserDefinedCommands> | |
<Command name="Get PHP help" Ctrl="no" Alt="yes" Shift="no" Key="112">https://www.php.net/$(CURRENT_WORD)</Command> |
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"?> | |
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="-ac" Wgl="True" DisableAC="False" XDMCPTerminate="False"/> |
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
#' --- | |
#' title: "Helpful packages and their dependencies to install with a fresh install of R" | |
#' author: Tom Palmer | |
#' date: 2020-03-27 | |
#' --- | |
#' Tested on Ubuntu 18.04 | |
if (Sys.info()["sysname"] == "Linux"){ | |
system('sudo apt-get install -y libcurl4-openssl-dev') | |
system('sudo apt-get install -y libssl-dev') |
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\GraphicsDrivers\Configuration\NOEDID_8086_3E98_00000000_00020000_31063^9B5CF2A2AB5D52EABA55D3D249C48521] | |
"SetId"="NOEDID_8086_3E98_00000000_00020000_31063" | |
"Timestamp"=hex(b):7c,f5,a9,74,7f,f1,d5,01 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\NOEDID_8086_3E98_00000000_00020000_31063^9B5CF2A2AB5D52EABA55D3D249C48521\00] | |
"PrimSurfSize.cx"=dword:00000f00 | |
"PrimSurfSize.cy"=dword:00000870 | |
"Stride"=dword:00003c00 |
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 fetch upstream | |
git checkout master | |
git merge upstream/master | |
git push origin master | |
# git reset --hard upstream/master | |
# git push origin master --force | |
# or | |
git pull upstream master | |
git push origin master |
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"?> | |
<XLaunch WindowMode="Windowed" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="-swcursor -ac" Wgl="True" DisableAC="False" XDMCPTerminate="False"/> |
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
--- | |
title: "Title" | |
author: "My Name" | |
date: "`r format(Sys.time(), '%d %B %Y')`" | |
output: | |
html_document: | |
toc: true | |
toc_float: | |
collapsed: false | |
smooth_scroll: false |
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
# sudo apt-get install gdebi-core | |
# sudo gdebi rstudio-1.3.923-amd64.deb | |
sudo dpkg -i rstudio-1.3.1019-amd64.deb |
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
sudo add-apt-repository ppa:linuxuprising/apps | |
sudo apt update | |
sudo apt install pdfarranger |
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
[wsl2] | |
# kernel=<path> # An absolute Windows path to a custom Linux kernel. | |
memory=4GB # How much memory to assign to the WSL2 VM. | |
# processors=<number> # How many processors to assign to the WSL2 VM. | |
swap=0GB # How much swap space to add to the WSL2 VM. 0 for no swap file. | |
# swapFile=<path> # An absolute Windows path to the swap vhd. | |
# localhostForwarding=<bool> # Boolean specifying if ports bound to wildcard or localhost in the WSL2 VM should be connectable from the host via localhost:port (default true). | |
# <path> entries must be absolute Windows paths with escaped backslashes, for example C:\\Users\\Ben\\kernel | |
# <size> entries must be size followed by unit, for example 8GB or 512MB |