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
@@ -, +, @@ | |
kernel32: Add AttachConsole implementation. | |
--- a/dlls/kernel32/console.c | |
+++ a/dlls/kernel32/console.c | |
@@ -2909,8 +2909,23 @@ BOOL WINAPI ScrollConsoleScreenBufferW(HANDLE hConsoleOutput, LPSMALL_RECT lpScr | |
*/ | |
BOOL WINAPI AttachConsole(DWORD dwProcessId) | |
{ | |
- FIXME("stub %x\n",dwProcessId); | |
- return TRUE; |
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
Section "InputClass" | |
Identifier "Cyborg R.A.T. 9" | |
MatchProduct "R.A.T.9" | |
MatchDevicePath "/dev/input/event*" | |
Option "Buttons" "17" | |
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17" | |
Option "AutoReleaseButtons" "13 14 15" | |
Option "ZAxisMapping" "4 5 6 7" | |
EndSection |
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
## setup flatpak | |
# edit repos-conf | |
joe /etc/portage/repos.conf/flatpak-overlay.conf | |
# content | |
[flatpak-overlay] | |
priority = 50 | |
location = /usr/portage/flatpak-overlay | |
sync-type = git | |
sync-uri = https://github.com/fosero/flatpak-overlay.git | |
auto-sync = Yes |
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
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name git.YOURDOMAIN.COM; | |
ssl on; | |
ssl_certificate /etc/letsencrypt/live/YOURDOMAIN.COM/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/YOURDOMAIN.COM/privkey.pem; |
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 | |
echo -e "upgrading gogs.." | |
go get -u github.com/gogits/gogs | |
`cd gogs; go build` | |
echo -e "please run the following commands as root: \n" | |
echo -e "$ systemctl restart gogs" | |
exit 0 |
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
[Unit] | |
Description=Gogs a Go Git Service | |
After=network.target | |
After=mysqld.service | |
[Service] | |
User=git | |
Group=git | |
PermissionsStartOnly=true | |
WorkingDirectory=/home/git/gogs |
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
## prerequirements (VPS - XL) - after entered the rescuesystem | |
bash | |
mkfs.ext4 /dev/sda1 | |
mkfs.ext4 /dev/sda3 | |
mount /dev/sda3 /mnt/gentoo | |
mkdir /mnt/gentoo/boot | |
cd /mnt/gentoo | |
#stage3: https://www.gentoo.org/downloads/#other-arches | current: http://distfiles.gentoo.org/releases/amd64/autobuilds/20170525/stage3-amd64-20170525.tar.bz2 | |
wget <PASTED_STAGE_URL> |
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
CFLAGS="-march=native -O2 -pipe" | |
CHOST="x86_64-pc-linux-gnu" | |
CXXFLAGS="${CFLAGS}" | |
MAKEOPTS="-j11 -l15.00" | |
FEATURES="parallel-fetch fixlafiles" | |
LICENSE="*" | |
PORTAGE_NICENESS="15" | |
## PHP OPTIONS ## |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 4.11.3-gentoo Kernel Configuration | |
# | |
# | |
# Gentoo Linux | |
# | |
CONFIG_GENTOO_LINUX=y | |
CONFIG_GENTOO_LINUX_UDEV=y |