Skip to content

Instantly share code, notes, and snippets.

# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@vishnumad
vishnumad / config
Last active November 23, 2018 21:07
Plasma integration for i3
# >>> Plasma Integration <<<
# Try to kill the wallpaper set by Plasma (it takes up the entire workspace
# and hides everythiing)
exec --no-startup-id wmctrl -c Plasma
for_window [title="Desktop — Plasma"] kill; floating enable; border none
# Avoid tiling popups, dropdown windows from plasma
for_window [class="plasmashell"] floating enable
for_window [class="Plasma"] floating enable
# Use i3 as the window manager instead of Kwin
export KDEWM=/usr/bin/i3
import java.io.File
var largestSeenValue = 0
fun main(args: Array<String>) {
val instructions = File("input.txt").readLines()
println("Part 1: largest value = ${getLargestValue(instructions)}")
println("Part 2: largest seen value = $largestSeenValue")
}
@vishnumad
vishnumad / Insult-Generator.markdown
Created August 14, 2014 16:48
A Pen by Vishnu Madhusoodanan.
@vishnumad
vishnumad / Business-Card.markdown
Created July 24, 2014 04:05
A Pen by Vishnu Madhusoodanan.