Skip to content

Instantly share code, notes, and snippets.

View cybik's full-sized avatar

Renaud Lepage cybik

View GitHub Profile
#!/bin/bash
# mono /home/salamanderrake/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe TutorialCodeRake Linux Development \
# -editorrecompile -game -project="/home/salamanderrake/Documents/Unreal Projects/TutorialCodeRake/TutorialCodeRake.uproject"
# calling syntax:
# <script> DerpProject ~/gitstore/Derp ~/gitstore/UE4/UE4mainline ""
# First argument: project name
# Second argument: Where to store the project
# Third argument: where the UE4 SDK is stored "for now"
# Fourth Argument (Can be empty): path to the UE4 SDK
# sensors-detect revision 6170 (2013-05-20 21:25:22 +0200)
# System: ASUS All Series
# Board: ASUSTeK COMPUTER INC. MAXIMUS VII GENE
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
98262.732631] nct6775: Enabling hardware monitor logical device mappings.
[98262.732641] nct6775: Found NCT6791D or compatible chip at 0x2e:0x290
[98262.732644] ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000290-0x0000000000000299 (\_GPE.HWM_) (20150204/utaddress-258)
[98262.732647] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
cinu linux # sensors-detect
# sensors-detect revision 6170 (2013-05-20 21:25:22 +0200)
# System: ASUS All Series
# Board: ASUSTeK COMPUTER INC. MAXIMUS VII GENE
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
### Keybase proof
I hereby claim:
* I am cybik on github.
* I am cybik (https://keybase.io/cybik) on keybase.
* I have a public key whose fingerprint is B085 84C1 8F07 70A0 80AC 825E E851 387D 285E 2588
To claim this, I am signing this object:
@cybik
cybik / gist:61b884653299b1dca2f6aa2b203a8272
Created September 19, 2016 02:27
Simple temps script
#! /bin/bash
sensors; echo Current GPU temp:; echo "$(nvidia-smi -q -d temperature | grep GPU|grep -i current| cut -c39-41)Centigrad"
name: 'RM750i'
vendor: 'CORSAIR'
product: 'RM750i'
powered: 37745730 (436d. 20h)
uptime: 35730 (0d. 9h)
temp1: 47.0
temp2: 35.8
fan rpm: 0.0
supply volts: 115.0
total watts: 86.0
`cat nvidia-drm-outputclass-ubuntu.conf`
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection
FROM screwdrivercd/screwdriver:stable
RUN apt-get update && apt-get install -y zip unzip && mkdir -p /localnpm
WORKDIR /localnpm
RUN wget https://github.com/minz1027/scm-gitlab/archive/master.zip && unzip master
WORKDIR /usr/src/app
RUN npm install /localnpm/scm-gitlab-master