open urls, supports bangs
Create a file $XDG_CONFIG_HOME/flourl/bangs
like this.
yt https://youtube.com/
# ~/.config/nixpkgs/overlays/<filename>.nix | |
self: super: { | |
my-packages = super.stdenvNoCC.mkDerivation { | |
name = "my-packages"; | |
dontUnpack = true; | |
propagatedBuildInputs = with super; [ | |
hello | |
]; | |
}; |
local cursor = kiwmi:cursor() | |
cursor:on("motion", function () | |
local view = cursor:view_at_pos() | |
if view then | |
view:focus() | |
end | |
end) |
#!/bin/sh | |
IFS=:; for dir in $PATH; do | |
for file in "$dir"/*; do | |
if test -f "$file" -a -x "$file"; then | |
printf '%s\n' "${file##*/}" | |
fi | |
done | |
done |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#define MAPSIZE_X 300 | |
#define MAPSIZE_Y 93 | |
#define MIN_WALKERS 1 | |
#define MAX_WALKERS 10 | |
#define WALKER_CHANCE_DIE 70 |
/* Copyright (c), Niclas Meyer <niclas@countingsort.com> | |
* | |
* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at https://mozilla.org/MPL/2.0/. | |
*/ | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
#!/usr/bin/env bash | |
male='Alek Andrej Anton Balthazar Bogan Boris Dargos Darzin Dragomir Emeric Falkon Frederich Franz Gargosh Gorek Grygori Hans Harkus Ivan jirko Kobal Korga Krystofor Lazio Livius Marek Miroslav Nikolaj Nimir Oleg Radovan Radu Seraz Sergei Stefan Tural Valentin Vasily Vladislav Waltar Yesper Zsolt' | |
female='Alana Clavdia Danya Dezdrelda Diavola Dorina Drasha Drilvia Elisabeta Fatima Grilsha Isabella Ivana Jarzinka Kala Katerina Kereza Korina Lavinia Magda Marta Mathilda Minodora Mirabel Miruna Nimira Nyanka Olivenka Ruxandra Serina Tereska Valentina Vasha Victoria Wensencia Zondra' | |
family='Alastroi Antonovich/Antonova Barthos Belasco Cantemir Dargovich/Dargova Diavolov Diminski Dilisnya Drazkoi Garvinski Grejenko Groza Grygorovich/Grygorova lvanovich/lvanova Janek Karushkin Konstantinovich/Konstantinova Krezkov/Krezkova Krykski Lansten Lazarescu Lukresh Lipsiege Martikov/Martikova Mironovich/Mironovna Moldovar Nikolovich/Nikolova Nimirovich/Nimirova Oronovich/Oronova Petrovich/Petrovna Pole |
#!/usr/bin/env bash | |
s="#!/usr/bin/env bash | |
s=\"%s\" | |
s=\"\${s//\\\\/\\\\\\\\}\" | |
s=\"\${s//\\\"/\\\\\\\"}\" | |
s=\"\${s//\$/\\\\\$}\" | |
printf \"\${s//\\\\\$/\$}\" \"\$s\" | |
" |
#include <ncurses.h> | |
int | |
main(void) | |
{ | |
int ch; | |
initscr(); | |
cbreak(); | |
noecho(); |