Skip to content

Instantly share code, notes, and snippets.

Avatar

Morgan Gangwere indrora

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

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,

View gist:dc2067162030ad8ddadf
> 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.
View 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 Mar 26, 2015
Rolotext: like a rolodex, but for a text file. Spinnnnn. Works with xscreensaver.
View rolotext.py
#!/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 Mar 22, 2011
A more-random number generator.
View truerandom.cs
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 Jan 31, 2012
Claws python script for auto-re-from
View gist:1709261
#!/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 Feb 10, 2012
Indrora's Conky config
View _conkyrc
# 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 Feb 25, 2012
The problem with Pinterest isn't TOS violation, its a lack of Fair Use and attribution
View gist:1909075

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.

You can’t perform that action at this time.