Skip to content

Instantly share code, notes, and snippets.

View kunalb's full-sized avatar

Kunal Bhalla kunalb

View GitHub Profile
['rg_di', 'rg_li'].forEach(function(cl){Array.prototype.slice.call(document.getElementsByClassName(cl)).forEach(function(el){el.style.margin = 0;});})
package com.panda;
import java.util.List;
import java.util.LinkedList;
import java.util.Queue;
public class Main {
@kunalb
kunalb / TicTacToe.md
Last active May 2, 2020 18:50
RC Application: Tic Tac Toe
Thread 1 "glamoroustoolki" received signal SIGILL, Illegal instruction.
0x00007fffe5af7617 in ffi_closure_alloc () from /home/knl/build/gtoolkit/./lib/libffi.so.7
(gdb) bt
#0 0x00007fffe5af7617 in ffi_closure_alloc () from /home/knl/build/gtoolkit/./lib/libffi.so.7
#1 0x00007fffe5d0543a in callback_new (runner=0x7fffe5f08280 <sameThreadRunner>, parameters=0x555555839890, count=1, returnType=0x7fffe5afd1a0 <ffi_type_uint32>)
at /home/runner/work/threadedFFI-Plugin/threadedFFI-Plugin/plugin/src/callbacks/callbacks.c:43
#2 0x00007fffe5d05000 in primitiveRegisterCallback () at /home/runner/work/threadedFFI-Plugin/threadedFFI-Plugin/plugin/src/callbacks/callbackPrimitives.c:136
#3 0x00007ffff7cdea2a in primitiveExternalCall () at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/build/generated/vm/src/gcc3x-cointerp.c:76740
#4 0x00007ffff7ced325 in interpret () at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/build/generated/vm/src/gcc3x-cointerp.c:6023
#5 0x00007ffff7cf1964 in enterSmalltalkExec
@kunalb
kunalb / Terrorist Scanner.ipynb
Created May 9, 2021 09:47
BRML Terrorist Scanner
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kunalb
kunalb / Terrorist Scanner 2.ipynb
Created May 9, 2021 14:26
BRML Exercise: Terrorist Scanner
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kunalb
kunalb / Terrorist Scanner 2.ipynb
Created May 9, 2021 14:29
BRML Terrorist Scanner Exercise
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
--- /etc/systemd/logind.conf 2022-03-26 11:58:23.739031451 -0400
+++ /etc/systemd/logind.conf.dpkg-new 2022-09-09 14:47:16.000000000 -0400
@@ -1,13 +1,16 @@
# This file is part of systemd.
#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
+# systemd is free software; you can redistribute it and/or modify it under the