https://www.reddit.com/r/unixporn/comments/73t6k3/i3gaps_firewatch/ https://www.reddit.com/r/unixporn/comments/72vlhk/i3gaps_bits_from_here_and_there/
View padd.sh
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
#!/usr/bin/env bash | |
# shellcheck disable=SC2034 | |
# shellcheck disable=SC1091 | |
# shellcheck disable=SC2154 | |
# PADD | |
# | |
# A more advanced version of the chronometer provided with Pihole | |
# SETS LOCALE |
View config.json
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
"custom/weather": { | |
"format": "{}", | |
"tooltip": true, | |
"interval": 3600, | |
"exec": "waybar-wttr.py", | |
"return-type": "json" | |
}, |
View gruvbox_dark.json
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
{ | |
"background" : "#282828", | |
"black" : "#282828", | |
"blue" : "#458588", | |
"brightBlack" : "#928374", | |
"brightBlue" : "#83A598", | |
"brightCyan" : "#8EC07C", | |
"brightGreen" : "#B8BB26", | |
"brightPurple" : "#D3869B", | |
"brightRed" : "#FB4934", |
View AAIControllerTeam.cpp
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
#include "AIControllerTeam.h" | |
// A Tutorial for this code is available here: | |
// https://www.thinkandbuild.it/ue4-ai-perception-system/ | |
AAIControllerTeam::AAIControllerTeam() | |
{ | |
SetGenericTeamId(FGenericTeamId(5)); | |
} |
View 0001-Use-eglGetPlatformDisplay-when-possible.patch
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
From 93a400edcabee9de0d6b464e081aa9c562085559 Mon Sep 17 00:00:00 2001 | |
From: Myy Miouyouyou <myy@miouyouyou.fr> | |
Date: Fri, 1 Feb 2019 17:13:57 +0000 | |
Subject: [PATCH] Use eglGetPlatformDisplay when possible | |
And then fallback on eglGetDisplay if the initialization fails... | |
That said, currently the code only handle eglGetPlatformDisplay | |
with GBMm in order to initialize displays with DRM/KMS backends. | |
Signed-off-by: Myy Miouyouyou <myy@miouyouyou.fr> |
View init.vim
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
nnoremap <silent> <leader>e :call Fzf_dev()<CR> | |
" ripgrep | |
if executable('rg') | |
let $FZF_DEFAULT_COMMAND = 'rg --files --hidden --follow --glob "!.git/*"' | |
set grepprg=rg\ --vimgrep | |
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>).'| tr -d "\017"', 1, <bang>0) | |
endif | |
" Files + devicons |
View IPromiseCallbackHandler.cs
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
public interface IPromiseCallbackHandler | |
{ | |
void SetResult(string json); | |
void SetError(string error); | |
} |
View miostdin.rs
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
extern crate mio; | |
use mio::unix::EventedFd; | |
use std::fs::File; | |
use mio::{Token, PollOpt, Ready, Poll, Events}; | |
//use mio_uds::UnixStream; | |
use std::os::unix::io::{FromRawFd}; | |
use std::io::{Read, Write}; |
View FlutterEmbedderGLFW.cc
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
#include <assert.h> | |
#include <chrono> | |
#include <embedder.h> | |
#include <glfw3.h> | |
#include <iostream> | |
static_assert(FLUTTER_ENGINE_VERSION == 1, ""); | |
static const size_t kInitialWindowWidth = 800; |
NewerOlder