Skip to content

Instantly share code, notes, and snippets.

View indrora's full-sized avatar
🖋️
Leaving a mark.

Morgan Gangwere indrora

🖋️
Leaving a mark.
View GitHub Profile
@indrora
indrora / bad.lua
Last active August 29, 2015 13:56
Test socks please ignore
foo = nil
foo()
function digGravel()
while turtle.detect() do
turtle.dig()
end
end
function strafeLeft()
turtle.turnLeft()
turtle.forward()
@indrora
indrora / 01_aug_14.md
Last active August 29, 2015 14:14
August 2014 and January 2015 versions of the Microsoft Insider program privacy statement.

Thank you for choosing to participate in the pre-release program for our next version of Windows! The purpose of the program is to enable you to provide usage data and feedback to Microsoft while trying out Microsoft’s pre-release software and services. Your participation is important and will provide us with data that we can use to improve our products and services. This privacy statement applies to the pre-release MicrosoftWindows software and related experiences, such as program websites and enhanced software updates that display or link to this notice (the “Program”).

The Program enables you or, if you are an organization, your end users to purchase, subscribe to or use other products and services from Microsoft or third parties with different privacy practices. Your use of other products and services is governed by their privacy statements and policies.

Data We Collect

Microsoft collects many kinds of information in a variety of ways in order to operate effectively and provide you the best products,

> chilla > ± heads/development (origin/development) > ~/s/open-keychain/. > ./gradlew buildDebug
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':OpenKeychain'.
> Failed to notify project evaluation listener.
> A problem occurred configuring project ':extern:snackbar:lib'.
> Could not resolve all dependencies for configuration ':extern:snackbar:lib:_debugCompile'.
> Could not find com.android.support:recyclerview-v7:22.0.0.
@indrora
indrora / keybase.md
Created March 24, 2015 21:01
keybase.md

Keybase proof

I hereby claim:

  • I am indrora on github.
  • I am indrora (https://keybase.io/indrora) on keybase.
  • I have a public key whose fingerprint is 4665 2712 679A 49D0 402D E451 4511 8824 A8B6 F243

To claim this, I am signing this object:

@indrora
indrora / rolotext.py
Created March 26, 2015 08:18
Rolotext: like a rolodex, but for a text file. Spinnnnn. Works with xscreensaver.
#!/usr/bin/env python3
# Placed under WTFPL. Get out of my face.
# usage:
# rolotext.py <textfile>
#
# Reads a file, starting from a random point in the file.
# Simulates a dilout connection as well, by having a varied
# character printout.
# Eats a little entropy.
@indrora
indrora / truerandom.cs
Created March 22, 2011 01:01
A more-random number generator.
using System;
using System.Security.Cryptography;
namespace System {
///<Summary>A "More Random" random number generator.</Summary>
class CryptoRandom<T> : Random where T : HashAlgorythm {
// this is simply a "More Random" way to get entropy.
protected override double Sample( )
{
@indrora
indrora / gist:1709261
Created January 31, 2012 06:39
Claws python script for auto-re-from
#!/usr/bin/env python
# Script run by Claws-mail
# save this as ~/.claws-mail/python-scripts/auto/compose_any
# Makes sure right-side is set as From: if any To: match left-side
replacements = {
'wat_list@pingas.tld':'herpderp@immpaperp.tld'
}
@indrora
indrora / _conkyrc
Created February 10, 2012 22:54
Indrora's Conky config
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
@indrora
indrora / gist:1909075
Created February 25, 2012 15:27
The problem with Pinterest isn't TOS violation, its a lack of Fair Use and attribution

I'd love to use Pinterest. But if I can't use it in conjunction with Flickr, then why bother?

I'm a hackerspace-goer, and at my Hackerspace (Albuquerquites, check out Quelab) we have a camera with an EyeFi card in it that auto-uploads to Flickr.

The photos are licensed CC/BA. Pinning them would violate the attribution, since I can't say "it came from x"

This keeps me from keeping a log/journal using Pinterest of my various adventures.

The easy solution to the problem Pinterest now has isn't blocking, but to tag each item that is pinned with the source it came from -- much like Tumblr does.