Skip to content

Instantly share code, notes, and snippets.

View anoadragon453's full-sized avatar
🎠
Coding for fun and freedom!

Andrew Morgan anoadragon453

🎠
Coding for fun and freedom!
View GitHub Profile
This file has been truncated, but you can view the full file.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/1jvrj4k63bzv92rqg70vnvipk05xw9zr-ardour
source root is ardour
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/isrfcjlbi2g4hnxaq7nfiksfavg73hmy-as-flags.patch
patching file libs/ardour/wscript
Hunk #1 succeeded at 372 (offset -7 lines).
patching script interpreter paths in ./tools/
# Read the user manual for documentation: http://www.musicpd.org/doc/user/
# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
# file:// protocol) or streaming files over an accepted protocol.

Keybase proof

I hereby claim:

  • I am anoadragon453 on github.
  • I am anoa (https://keybase.io/anoa) on keybase.
  • I have a public key whose fingerprint is 0245 0A9E DDFE E3E0 C730 B786 A7E4 A578 80C3 A4A9

To claim this, I am signing this object:

import java.io.File;
import java.io.FileNotFoundException;
import java.util.*;
public class main {
public static void main(String[] args) {
// Printing out to console
System.out.print("Hey!"); // Print on the same line
System.out.println("Hi!"); // Print on the next line
@anoadragon453
anoadragon453 / Rev-Geocode
Last active August 29, 2015 14:24
Reverse Geolocation example in Objective-C for iOS.
CLGeocoder *geocoder = [CLGeocoder new];
CLLocation *newLocation = [[CLLocation alloc]initWithLatitude:21.1700
longitude:72.8300];
[geocoder reverseGeocodeLocation:newLocation
completionHandler:^(NSArray *placemarks, NSError *error) {
if (error) {
NSLog(@"Geocode failed with error: %@", error);
CLGeocoder *geocoder = [CLGeocoder new];
[geocoder geocodeAddressString:@"ADDRESS_TO_SEARCH" completionHandler:^(NSArray *placemarks, NSError *error) {
if (error) {
NSLog(@"Error: %@", [error localizedDescription]);
return; // Request failed, log error
}
// A location was generated, hooray!
if (placemarks && [placemarks count] > 0) {
CLPlacemark *placemark = placemarks[0]; // Our placemark
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# House Hunters International episode downloader
# Code referenced from https://github.com/pantuts/asskick and https://stackoverflow.com/questions/12708751/python-writing-on-a-text-file
# Created by Andrew Morgan (2015)
from bs4 import BeautifulSoup
import os
import re
import requests

Keybase proof

I hereby claim:

  • I am jorritvdven on github.
  • I am jorritvdven (https://keybase.io/jorritvdven) on keybase.
  • I have a public key whose fingerprint is 078D FD28 5C93 9A8B 4C7D 8F1C 6A03 2D8C 7C2D 2F4F

To claim this, I am signing this object:

using UnityEngine;
using System.Collections;
public class AutoType : MonoBehaviour {
public float letterPause = 0.2f;
public AudioClip sound;
public TextMesh textObject;
string message;