Skip to content

Instantly share code, notes, and snippets.

@rudicode
rudicode / rctiler.install.sh
Created July 21, 2021 02:00
Install or update kwin script to kde 5.x
#!/bin/bash
# This script tested only on KDE 5.x
# install script, first time only
# plasmapkg2 --type kwinscript -i ~/code/kwin-scripts/RCTiler/
# update script ( anytime after first install )
plasmapkg2 --type kwinscript -u ~/code/kwin-scripts/RCTiler/
@rudicode
rudicode / minitest_assertions.rb
Created November 8, 2012 20:32 — forked from kotp/minitest_assertions.rb
MiniTest Assertions and Specs
#!/usr/bin/env ruby
# require 'test/unit'
require 'minitest/spec'
puts "== Spec Style"
columns = 3
column_count = 1
MiniTest::Spec.methods.sort.each do |method|
if method.to_s =~ /wont/ or method.to_s =~ /must/