Skip to content

Instantly share code, notes, and snippets.

View carbolymer's full-sized avatar
🤔
Building castles of abstraction

Mateusz Galazyn carbolymer

🤔
Building castles of abstraction
View GitHub Profile
@carbolymer
carbolymer / lsp.lua
Last active September 21, 2023 13:00
LSP config for HLS
local lsp = require 'lspconfig'
local tb = require 'telescope.builtin'
local setup_diagnostics = function()
local ns = vim.api.nvim_create_namespace('severe-diagnostics')
-- reference to the original handler
local orig_signs_handler = vim.diagnostic.handlers.signs
---Overriden diagnostics signs helper to only show the single most relevant sign

Keybase proof

I hereby claim:

  • I am carbolymer on github.
  • I am carbolymer (https://keybase.io/carbolymer) on keybase.
  • I have a public key ASC2tEX_s-W2XpS6xyshEf8d_fM5Nu1ic887yrhsN5lt_Ao

To claim this, I am signing this object:

" :Rg with default search for cword
function! s:p(bang, ...)
let preview_window = get(g:, 'fzf_preview_window', a:bang && &columns >= 80 || &columns >= 120 ? 'right': '')
if len(preview_window)
return call('fzf#vim#with_preview', add(copy(a:000), preview_window))
endif
return {}
endfunction
function! s:callRipgrep(txt)

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

[Adblock Plus]
! Title: CookieInfoBlocker
! Last modified: 25 Feb 2015 0:00 GMT
! Expires: 2 days (update frequency)
! Homepage: https://gist.github.com/
oracle.com#[class*="overlay"]
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
#!/usr/bin/env php
<?php
/**
* Possible processors on Linux
*/
$linux_proc = array(
'i686',
'x86_64'
);
/**
/* trdemo.c */
/*
* Test/demonstration of tile rendering utility library.
* See tr.h for more info.
*
* Brian Paul
* April 1997
*/
#include <iostream>
#include <math.h>
#include <fstream>
#include <vector>
#include <stdlib.h>
#include <time.h>
#include "argon.h"
using namespace std;
execve("/usr/bin/git", ["git", "add", "."], [/* 42 vars */]) = 0
brk(0) = 0x1618000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=192064, ...}) = 0
mmap(NULL, 192064, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f1ff0691000
close(4) = 0
open("/usr/lib/libpcre.so.1", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\36\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=383264, ...}) = 0