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/perl | |
use strict; | |
use warnings; | |
use utf8; | |
use WWW::Mechanize::Sleepy; | |
use HTML::TokeParser; | |
use Data::Dumper; | |
use open qw( :std :encoding(UTF-8) ); | |
# Scraping tvinna.is for job postings, to be used for analysis of job market |
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
#0 0x0000733d344f2fd3 in _Unwind_Resume (exc=0x0) at /usr/src/debug/gcc/gcc/libgcc/unwind.inc:241 | |
this_context = {reg = {0x7ffcd7e5e9c8, 0x7ffcd7e5e9d0, 0x0, 0x7ffcd7e5e9d8, 0x0, 0x0, 0x7ffcd7e5ea00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffcd7e5e9e0, 0x7ffcd7e5e9e8, 0x7ffcd7e5e9f0, 0x7ffcd7e5e9f8, 0x7ffcd7e5ea08, 0x0}, cfa = 0x7ffcd7e5ea10, ra = 0x64d2065c2a0d <MainWidget::get_selected_link(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) [clone .cold]+43>, lsda = 0x0, bases = {tbase = 0x0, dbase = 0x0, func = 0x733d344f2f00 <_Unwind_Resume>}, flags = 4611686018427387904, version = 0, args_size = 0, by_value = '\000' <repeats 17 times>} | |
cur_context = {reg = {0x7ffcd7e5e9c8, 0x7ffcd7e5e9d0, 0x0, 0x7ffcd7e5e9d8, 0x0, 0x0, 0x7ffcd7e5ea00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2020202020202020, 0x2020202020202020, 0x2020202020202020, 0x2020202020202020}, cfa = 0x0, ra = 0x0, lsda = 0x0, bases = {tbase = 0x0, dbase = 0x0, func = 0x0}, flags = 0, version = 0, ar |
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
// This stuff for work that I had to do at home | |
async function reloadImg(el) { | |
var elurl = el.src | |
await fetch(elurl, { cache: 'no-store', mode: 'no-cors' }) | |
.then( | |
// Maybe append # to force cache reload | |
x => { | |
el.src = "" |
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
fish: Job 3, 'nvim $argv' terminated by signal SIGSEGV (Address boundary error) | |
PID: 4067052 (nvim) | |
UID: 1000 (keli) | |
GID: 1000 (keli) | |
Signal: 11 (SEGV) | |
Timestamp: Tue 2021-03-16 00:14:13 GMT (23h ago) | |
Command Line: nvim nature.cpp | |
Executable: /usr/bin/nvim |
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
#define BUFSIZE 1000 | |
#include <getopt.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <errno.h> | |
/* Forward declaration */ |
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 <stdio.h> | |
#define NAME "JOSHAA" | |
#define CURRENT_AGE 25 | |
unsigned int increment_age(unsigned int age) { | |
return age = -(~age); | |
} | |
int main(int argc, const char *argv[]) { | |
puts("Happi berthday " NAME); |
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
]4;0;#090B13\]4;1;#4C3A42\]4;2;#6B4E4A\]4;3;#8C4F3D\]4;4;#97684E\]4;5;#B28C62\]4;6;#CEA966\]4;7;#e6d8b4\]4;8;#a1977d\]4;9;#4C3A42\]4;10;#6B4E4A\]4;11;#8C4F3D\]4;12;#97684E\]4;13;#B28C62\]4;14;#CEA966\]4;15;#e6d8b4\]10;#e6d8b4\]11;#090B13\]12;#e6d8b4\]13;#e6d8b4\]17;#e6d8b4\]19;#090B13\]4;232;#090B13\]4;256;#e6d8b4\]708;#090B13\]0;fish /home/keli/code/alacritty/target/release[30m(B[m [38;2;186;1;196m_[0m[38;2;182;1;199m_[0m [38;2;174;2;206m_[0m[38;2;170;3;210m_[0m [38;2;142;11;230m_[0m[38;2;137;13;232m_[0m [38;2;108;29;246m_[0m [38;2;72;57;254m_[0m[38;2;68;60;254m_[0m[38;2;64;64;254m_[0m [38;2;47;83;253m_[0m[38;2;44;87;252m_[0m | |
[38;2;200;1;181m_[0m [38;2;186;1;196m/[0m [38;2;178;1;203m/[0m [38;2;170;3;210m\[0m [38;2;162;4;216m\[0m [38;2;142;11;230m/[0m [38;2;133;15;235m/[0m [38;2;121;21;241m_[0m [38;2;108;29;246m|[0m [38;2;100;34;249m|[0m [38;2;87;43;252m_[0m [38; |
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
sway version 1.0-beta.2-300-g204e1f47 (Feb 1 2019, branch 'master') | |
keli@keli~> coredumpctl gdb sway | |
PID: 8533 (sway) | |
UID: 1000 (keli) | |
GID: 985 (users) | |
Signal: 11 (SEGV) | |
Timestamp: Fri 2019-02-01 02:08:25 GMT (14min ago) | |
Command Line: sway -d |
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
void apply_output_config(struct output_config *oc, struct sway_output *output) { | |
struct wlr_output *wlr_output = output->wlr_output; | |
if (!oc) { | |
if (!output->enabled) { | |
if (oc->dpms_state != DPMS_OFF) { | |
wlr_output_enable(wlr_output, true); | |
} | |
output_enable(output, oc); |
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
2018-12-05 17:12:07 - [sway/sway/server.c:34] Preparing Wayland server initialization | |
2018-12-05 17:12:07 - [backend/session/logind.c:537] Successfully loaded logind session | |
2018-12-05 17:12:07 - [backend/backend.c:142] Found 1 GPUs | |
2018-12-05 17:12:07 - [backend/drm/backend.c:151] Initializing DRM backend for /dev/dri/card0 (i915) | |
2018-12-05 17:12:07 - [backend/drm/drm.c:63] Using atomic DRM interface | |
2018-12-05 17:12:07 - [backend/drm/drm.c:156] Found 3 DRM CRTCs | |
2018-12-05 17:12:07 - [backend/drm/drm.c:87] Found 9 DRM planes | |
2018-12-05 17:12:07 - [backend/drm/drm.c:129] (3 overlay, 3 primary, 3 cursor) | |
2018-12-05 17:12:07 - [render/egl.c:149] Using EGL 1.4 | |
2018-12-05 17:12:07 - [render/egl.c:150] Supported EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fenc |
NewerOlder