Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Bloo Alien blooalien

🎯
Focusing
View GitHub Profile
@blooalien
blooalien / AndYetItMovesSteam.sh
Created May 9, 2018 — forked from janhaag/AndYetItMovesSteam.sh
Fixed AYIM startup script for linux steam
View AndYetItMovesSteam.sh
#!/bin/bash
### And Yet It Moves' Simple Startscript
### Run, jump and turn the world upside-down with And Yet It Moves!
### Enjoy!
### webs
rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
libdir="lib"
bin=lib/AndYetItMoves
@blooalien
blooalien / knotify.py
Created Jul 22, 2017 — forked from ducin/knotify.py
KNotify (KDE DBUS notifications); use it with: ./knotify.py "header" "content" (credited to http://www.documentroot.net/en/linux/knotify-python)
View knotify.py
#!/usr/bin/python
import sys, dbus
knotify = dbus.SessionBus().get_object("org.kde.knotify", "/Notify")
try: title, text = sys.argv[1:3]
except: print 'Usage: knotify.py title text'; sys.exit(1)
knotify.event("warning", "kde", [], title, text, [], [], 0, 0, dbus_interface="org.kde.KNotify")
@blooalien
blooalien / keybase.md
Last active Aug 29, 2017
Bloo Alien (Me) at keybase.io
View keybase.md

Keybase proof

I hereby claim:

  • I am blooalien on github.
  • I am blooalien (https://keybase.io/blooalien) on keybase.
  • I have a public key ASC9Y9Pc-7sp_5trwNKMzXJo0UQwaY1CX1ZvkHhqwlr6dwo

To claim this, I am signing this object:

@blooalien
blooalien / markdown.md
Created Jan 12, 2017 — forked from jonschlinkert/markdown-cheatsheet.md
A better markdown cheatsheet. I used Bootstrap's Base CSS documentation as a reference.
View markdown.md

Typography

Headings

Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading
@blooalien
blooalien / two new blender palettes.py
Created Mar 14, 2015
This Blender Python script creates 2 palettes for texture painting - found at http://www.pasteall.org/57233/python
View two new blender palettes.py
# This Blender Python script creates 2 palettes for texture painting
# Roel Koster (koelooptiemanna, kostex)
# 2015-03-13
# This script only works with 2.74 daily builds from dates later than 2015-03-12
# bpy.data.palettes wasn't accessible before that date.
# palettes based on tables found on http://www.swatchtool.com/
import bpy
from mathutils import Color
View dirwatcher
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
"""
Watch for new downloads in ~/Downloads (or another directory) and take actions.
The actions are determined by the file extension (determining the mime type).
"""
from __future__ import absolute_import
from __future__ import print_function
View ground_obj.lua
--[[
Call this file with the height input file and the desired output file as arguments.
example: lua ground_obj.lua hieght.txt ground.obj
]]--
-- Read the input height values.
input = io.open(arg[1], "r")
heights = {}
for line in input:lines() do
table.insert(heights, tonumber(line))
View rsa-not-buying-it.md

Sorry, RSA, I'm just not buying it

I want to be extremely clear about three things. First, this is my personal opinion – insert full standard disclaimer. Second, this is not a condemnation of everyone at RSA, present and past. I assume most of them are pretty okay, and that the problem is confined to a few specific points in the company. However, “unknown problem people making major decisions at RSA” is a bit unwieldy, so I will just say RSA. Third, I'm not calling for a total boycott on RSA. I work almost literally across the street from them and I don’t want to get beat up by roving gangs of cryptographers at the local Chipotle.

RSA's denial published last night is utter codswallop that denies pretty much everything in the world except the actual allegations put forth by Reuters and hinted at for months by [other sources](http://li

@blooalien
blooalien / README.md
Last active Dec 15, 2015
Python variant of Github Flavoured Markdown ported from http://github.github.com/github-flavored-markdown/
View README.md
@blooalien
blooalien / README.md
Created Sep 7, 2012
Use 'kde-open' to load those pesky Windows .url files in your default web browser.
View README.md

urlopen.py

A simple python script for KDE users which will use 'kde-open' to open those pesky Windows .url files in your default web browser.

License

Public Domain - This script is entirely too simple for me to care how it's used. Just enjoy it...