Skip to content

Instantly share code, notes, and snippets.

View Osse's full-sized avatar

Øystein Walle Osse

View GitHub Profile
function! Comment()
silent s/^/\=escape(b:comment_leader,'\/')
nohlsearch
endfunction
diff --git a/config.cfg b/config.cfg
index 6e27171..8c42a46 100644
--- a/config.cfg
+++ b/config.cfg
@@ -84,7 +84,7 @@ c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0"
cachedvalue_count_partybrowser "1548353036"
-cachedvalue_count_teammates "1548354822"
+cachedvalue_count_teammates "1548357382"
diff --git a/video.txt b/video.txt
index 70667bc..7470f7d 100644
--- a/video.txt
+++ b/video.txt
@@ -1,22 +1,24 @@
-"VideoConfig"
-{
- "setting.cpu_level" "1"
- "setting.gpu_level" "0"
- "setting.mat_antialias" "2"
@Osse
Osse / gist:20adc32dd8d937d06a43dd13d431916c
Created January 24, 2019 18:47
Steam system information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
CPU Family: 0x6
!q::
IfWinExist Arch Linux x64 [Running] - Oracle VM VirtualBox
WinActivate
MouseClick, Left, 200, 200, 2, 10
return
;^!x::ControlSend, Qt5QWindowIcon, {F5}
<^>!x::Send {F5}
; Vim stuff
sStarting debugger "GdbEngine" for ABI "x86-windows-msys-pe-64bit"...
dStart parameters: 'Shotwin' mode: 1
dABI: x86-windows-msys-pe-64bit
dLanguages: c++
dExecutable: C:\Users\ow.DATA-RESPONS\dev\shotwin\build\Shotwin.exe
dDirectory: C:\Users\ow.DATA-RESPONS\dev\shotwin\build
dDebugger: C:\tools\msys64\mingw64\bin\gdb.exe
dProject: C:\Users\ow.DATA-RESPONS\dev\shotwinAddtional Search Directories:
dRemote: :0
dSysroot: C:/tools/msys64/mingw64
#!/bin/bash
# Assuming master is the main branch and first argument is topic branch
topicsha=$(git rev-parse "$1")
mergebase=$(git merge-base master "$1")
if [[ $topicsha != $mergebase ]]; then
# Not merged yet! ez
@Osse
Osse / FindFoobar.cmake
Created August 18, 2016 07:22
FindFoobar
add_library(XY::Foobar MODULE IMPORTED)
find_package(Boost CONFIG REQUIRED COMPONENTS system thread)
set(LIBS Boost::system Boost::thread)
set_property(TARGET XY::Foobar APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
set_property(TARGET XY::Foobar APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set(FOOBAR_PATH "${CMAKE_CURRENT_LIST_DIR}/../libfoobar")
#!/usr/bin/env zsh
setopt extendedglob
die() {
print $1
exit 1
}
hash weechat || die "irssi ain't supported, bitch"
#include "testoverview.h"
#include "ui_testoverview.h"
#include <QWidget>
TestOverview::TestOverview(QWidget *parent) : QWidget(parent), ui(new Ui::TestOverviewClass)
{
ui->setupUi(this);
}