Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Building castles of abstraction

Mateusz Gałażyn carbolymer

🤔
Building castles of abstraction
View GitHub Profile
View ripgrep.vim
" :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)
View class.rst

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

View zomg.txt
[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"]
View TestEm2.cc
//
// ********************************************************************
// * 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. *
// * *
View identities_grabber.php
#!/usr/bin/env php
<?php
/**
* Possible processors on Linux
*/
$linux_proc = array(
'i686',
'x86_64'
);
/**
View gist:3948702
/* trdemo.c */
/*
* Test/demonstration of tile rendering utility library.
* See tr.h for more info.
*
* Brian Paul
* April 1997
*/
View argon.cpp
#include <iostream>
#include <math.h>
#include <fstream>
#include <vector>
#include <stdlib.h>
#include <time.h>
#include "argon.h"
using namespace std;
View gist:3609069
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
View gist:3226643
1)
Rank
A8-3500M 161
Radeon HD 6640G2 174
2)
Corei3-2330M 89
Radeon HD 6490M 208
View gist:3208596
[ 160.711]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[ 160.749] X Protocol Version 11, Revision 0
[ 160.762] Build Operating System: Linux 3.4.4-3-ARCH x86_64
[ 160.776] Current Operating System: Linux nucleon 3.4.6-1-ARCH #1 SMP PREEMPT Fri Jul 20 08:21:26 CEST 2012 x86_64
[ 160.776] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=2a41bc68-0c74-4229-ad7b-ccf1be99a9ca ro nomodeset radeon.audio=1
[ 160.804] Build Date: 09 July 2012 03:59:39PM
[ 160.818]
[ 160.832] Current version of pixman: 0.26.2
You can’t perform that action at this time.