- Install
msys2
(because we needmingw64
,gcc
andlibws2_32.a
) - Open
msys2
ormingw64
and runpacman -S mingw64/mingw-w64-x86_64-mruby
- Get MRuby and extract the folder
- Run
make
inside the foldermruby-3.3.0
, there will be a new folder called/build
after the compilation, we need the file at/build/host/lib/libmruby.a
- Compile using the following command
gcc main.c -I"mruby-3.3.0/include" "mruby-3.3.0/build/host/lib/libmruby.a" "C:\msys64\mingw64\lib\libws2_32.a" -lm -o main
or substitue"C:\msys64\mingw64\lib\libws2_32.a"
with-lws2_32
- Run the compiled binary
main.exe
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
" Save in ~/.vim/ftplugin/markdown_open_link.vim | |
nnoremap <buffer> gx :call <SID>OpenLink()<cr> | |
function! s:OpenLink() | |
let saved_view = winsaveview() | |
defer winrestview(saved_view) | |
let syntax_under_cursor = synIDattr(synID(line("."), col("."), 0), "name") | |
let url = '' |
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
" Save as ~/.vim/plugin/pophelp.vim | |
let s:popup = 0 | |
command! -range=0 -nargs=* -complete=help | |
\ Pophelp call s:Open(<q-args>, <count>) | |
command! Popclose call s:Close() | |
function! s:Open(topic, count) abort | |
if a:topic == '' |
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
" Save as ~/.vim/ftplugin/netrw_icons.vim | |
if exists('b:netrw_icons_loaded') | |
finish | |
endif | |
let b:netrw_icons_loaded = 1 | |
autocmd TextChanged <buffer> call s:NetrwAddIcons() | |
if empty(prop_type_get('netrw_file_icon', {'bufnr': bufnr('%')})) |
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
onoremap <silent> iu :<c-u>call <SID>UrlTextObject()<cr> | |
xnoremap <silent> iu :<c-u>call <SID>UrlTextObject()<cr> | |
onoremap <silent> au :<c-u>call <SID>UrlTextObject()<cr> | |
xnoremap <silent> au :<c-u>call <SID>UrlTextObject()<cr> | |
function! s:UrlTextObject() | |
let saved_view = winsaveview() | |
let saved_end_pos = getpos("'b") | |
defer setpos("'e", saved_end_pos) |
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
/* | |
Also requires DNS setup for domain: | |
TXT | |
_mailchannels | |
v=mc1 cfid=<YOUR_WORKER_DOMAIN_IN_CLOUDFLARE>.workers.dev | |
Also DKIM: | |
https://developers.cloudflare.com/pages/platform/functions/plugins/mailchannels/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Nr. | Titel | Erscheinung | Autor | Rating |
---|---|---|---|---|
001 | und der Super-Papagei | 1979-10-12 | Robert Arthur | |
002 | und der Phantomsee | 1979-10-13 | William Arden | |
003 | und der Karpatenhund | 1979-10-14 | M. V. Carey | |
004 | und die schwarze Katze | 1979-10-15 | William Arden | |
005 | und der Fluch des Rubins | 1979-10-16 | Robert Arthur | |
006 | und der sprechende Totenkopf | 1979-10-17 | Robert Arthur |
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 | |
# Example for i3wm exec binding: toggle or run urxvtc in client mode (systemd daemon urxvtd), with setenv to bypass TMUX in my bashrc. | |
# bindcode $mod+Shift+49 exec --no-startup-id "/home/user/.config/i3/scripts/wtoggle.sh -i -c \\"^URxvt$\\" -n \\"^Terminal\sURxvt$\\" -m \\"urxvtc -title 'Terminal URxvt' -e sh -c 'TMUX=false bash'\\" -s \\"urxvtd\\"" | |
# locale | |
export LC_ALL="C.UTF-8" | |
export TZ=:/etc/localtime | |
Help() |
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
pactl load-module module-null-sink sink_name=virtual-speakers channel_map=stereo | |
pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=virtual-microphone channel_map=front-left,front-right | |
pw-link virtual-speakers:monitor_FL virtual-microphone:input_FL | |
pw-link virtual-speakers:monitor_FR virtual-microphone:input_FR | |
# pw-link -i | |
pw-link virtual-speakers:monitor_FL alsa_output.pci-0000_04_00.6.3.HiFi__hw_Generic_1__sink:playback_FL | |
pw-link virtual-speakers:monitor_FR alsa_output.pci-0000_04_00.6.3.HiFi__hw_Generic_1__sink:playback_FR |
NewerOlder