Skip to content

Instantly share code, notes, and snippets.

,-~ _ ^^~-.,
,^ -,____ ^, ,/\/\/\,
/ (____) | S~ ~7
; .---._ | | || _| S I AM THE Z
| | ~-.,\ | |!/ | /_ LAW! _\
( | ~<-.,_^\|_7^ ,| _//_ _\
| | ", 77> (T/| _/' \/\/\/
| \_ )/<,/^\)i(|
( ^~-, |________||
^!,_ / /, ,'^~^',!!_,..---.
@psy-q
psy-q / schattig.qss
Last active August 6, 2020 12:14
Schattig is a dark Quassel theme I frankensteined together
/**
** This theme uses elements from DarkSolarized (https://gist.github.com/Zren/e91ad5197f9d6b6d410f)
** with colors shamelessly stolen from #quassel (Freenode) user heftig. I did tweak them a bit.
**
** The theme lives at: https://gist.github.com/psy-q/d61eb05cadf3d8cb55e81f874878b212
**/
ChatView { background: #1c1c1c; }
NickListItem { background: #1c1c1c; }
ChatListItem { background: #1c1c1c; }
From: Someone <some@one.com>
To: Me <me@there.com>
Subject: Re: The thing you asked
Date: Fri, 13 Mar 2020 18:54:03 +0100
Hi there,
On Fri, 2020-03-13 at 18:54 +0200, Me wrote:
>
> Is this the thing that you meant?
@psy-q
psy-q / black_metvl.txt
Last active April 9, 2020 07:09
Black metal lyrics generated by the GPT-2 language model
######### About #########
These black metal lyrics
were generated by an AI,
the GPT-2 language model,
fed with lyrics of songs
by the 100 most popular
black metal bands.
#########################
@psy-q
psy-q / readme.txt
Created June 10, 2019 15:54
Cyberpunk_2077
Finally, after months of preparation, we can share with you two big things we have been hard at work on — CP2077's cinematic story trailer and a brand new gameplay demo! Yes, yes, we know — for now, the demo is only available to the lucky ones who managed to get tickets to E3 and the rest of you will have to wait until gamescom or the public dev Q&A unveiling stream at PAX in August. Yeah, we can already feel the bashing you're gonna give us online :(. "Why are you not treating us fair", "why is the gameplay not being released right away?". The reason is we want to make the most out of the months of work we put into the demo and first showcase gameplay live at E3 and gamescom. Releasing gameplay right away would make the gamescom presentations pointless and would significantly limit our chance to build hype. Why do we need to build hype? To get more gamers interested in CP2077 and, hopefully, convince them to give it a go. We are putting our hearts and souls into making CP2077 a great game and we would like a
def filter(string)
string.tr(',', '').tr(' ', '').tr('-', '')
end
def compare(string)
orig = filter(string).downcase
reversed = filter(string).reverse.downcase
orig == reversed
end
@psy-q
psy-q / README
Last active February 28, 2018 16:05
AWX's worker stalls when trying to authenticate against AD
Using a blank LDAP User DN Template as suggested in https://github.com/ansible/awx/issues/496 and
using the LDAP User Search configuration from that same issue will cause this issue.
@psy-q
psy-q / awx_task.log
Last active February 14, 2018 14:41
AWX jobs stay pending forever
2018-02-14 14:29:00,211 ERRO pool awx-config-watcher event buffer overflowed, discarding event 43
[2018-02-14 14:29:06,960: INFO/Beat] Scheduler: Sending due task cluster_heartbeat (awx.main.tasks.cluster_node_heartbeat)
[2018-02-14 14:29:06,967: DEBUG/Beat] awx.main.tasks.cluster_node_heartbeat sent. id->4d6324b3-a5f0-4022-827d-4fb098d535ff
[2018-02-14 14:29:06,967: DEBUG/Beat] beat: Waking up now.
[2018-02-14 14:29:07,170: INFO/Beat] Scheduler: Sending due task tower_scheduler (awx.main.tasks.awx_periodic_scheduler)
[2018-02-14 14:29:07,186: DEBUG/Beat] awx.main.tasks.awx_periodic_scheduler sent. id->eaae06c3-5ec9-479e-9640-8e2f26682e69
[2018-02-14 14:29:07,187: DEBUG/Beat] beat: Waking up in 10.00 seconds.
[2018-02-14 14:29:17,201: DEBUG/Beat] beat: Synchronizing schedule...
[2018-02-14 14:29:17,210: INFO/Beat] Scheduler: Sending due task task_manager (awx.main.scheduler.tasks.run_task_manager)
[2018-02-14 14:29:17,218: DEBUG/Beat] awx.main.scheduler.tasks.run_task_manager sent. id->5fa6ebf5-3ea0-4b06-9219
@psy-q
psy-q / nonworking_env.txt
Created January 29, 2018 21:49
gtk2 apps no longer accept umlauts
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_STARTUP_ID=homebox;1517261967;813899;9746_TIME9569399
PATH=/home/rca/.sdkman/candidates/groovy/current/bin:/home/rca/.sdkman/candidates/grails/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
QMLSCENE_DEVICE=
QSG_RENDER_LOOP=
SHLVL=0
XAUTHORITY=/home/rca/.Xauthority
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.2.4
netmask 255.255.255.0
gateway 192.168.2.1
essid "your_essid_here"
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf