View gist:0b9d9a257932f7f6885cc39cdd63b0e3
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
apiVersion: v1 | |
data: | |
secrets.txt: | | |
HASURA_GRAPHQL_DATABASE_URL="psql://demo:demo@1.1.1.1/db" | |
kind: ConfigMap | |
metadata: | |
name: argsexample | |
namespace: default | |
--- | |
apiVersion: v1 |
View gist:3ca622c6365c1149d64a09fdf6df9dd9
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
#!/bin/sh | |
# | |
# Originally part of vpnc source code: | |
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al. | |
# © 2009-2012 David Woodhouse <dwmw2@infradead.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
View gist:3d7fc767b441c94915d0941d0461ff8f
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
#!/bin/sh | |
# | |
# Originally part of vpnc source code: | |
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al. | |
# © 2009-2012 David Woodhouse <dwmw2@infradead.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
View gist:27f4bc51e86990cc5f72b460114685a4
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
#!/bin/sh | |
# | |
# Originally part of vpnc source code: | |
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al. | |
# © 2009-2012 David Woodhouse <dwmw2@infradead.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
View gist:fb8252fa3f80af7d4c946401584f53a4
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
generated Oct 28, 2022 16:36:40 | |
system Ubuntu 22.04.1 LTS Linux 5.15.0-50-generic x86_64 x | |
emacs 28.1 ~/.emacs.d/ | |
doom 3.0.0-pre PROFILE=_@0 HEAD -> master, origin/master, origin/HEAD ceb985673 | |
2022-10-23 02:53:59 +0200 ~/.doom.d/ | |
shell /bin/zsh | |
features ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG | |
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY | |
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 | |
XDBE XIM XPM XWIDGETS GTK3 ZLIB |
View gist:0c5e6b729e7e6f4bf75b5b9167617663
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
;========================================================= | |
; | |
; | |
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ | |
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ | |
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ | |
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ | |
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ | |
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ | |
; |
View gist:68054397775225329eae478056493f80
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
# | |
# wm independent hotkeys | |
# | |
# terminal emulator | |
super Return | |
urxvt -cd /home/jgarcia | |
#super + Return | |
# urxvt -cd /home/jgarcia -e bash -c "VISUAL=vim tmux -f ~/.tmux.conf new-session -s $(date +%N) \; set-option destroy-unattached " |
View gist:55981a10bdd199642b4c358143547ee3
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
#! /bin/sh | |
pgrep -x sxhkd > /dev/null || sxhkd & | |
bash ~/.screenlayout/normal.sh | |
feh --bg-scale '/home/jgarcia/Downloads/city.jpg' | |
bspc config remove_disabled_monitors true | |
bspc config remove_unplugged_monitors true | |
bspc monitor HDMI-0 -d 1 2 3 | |
bspc monitor DVI-D-0 -d 4 5 | |
bspc config -m DVI-D-0 window_gap 0 | |
bspc config border_width 2 |
View gist:b4988e3e490f201cdb810b8148bda9d4
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
! terminal colours | |
!*foreground:#CCCCCC | |
!*background:#1B1D1E | |
! | |
!!black darkgray | |
!*color0: #1B1D1E | |
!*color8: #808080 | |
!!darkred red | |
!*color1: #FF0044 | |
!*color9: #F92672 |
View main.go
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
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func main() { | |
cc := make(chan int) |
NewerOlder