Get Some

General => Technology & Hardware => Topic started by: Xsannz on June 04, 2015, 07:09:28 am

Title: Ponysay - how to get it working in windows
Post by: Xsannz on June 04, 2015, 07:09:28 am
Since Ponysay is an Arch linux distribution i found a way to get it working in windows detailed are the quick and easy steps that took alot of trial and error to get working

ponysay as an awesome terminal application to display ponies speaking messages in your terminal great for trolling

https://github.com/erkin/ponysay

Download Cygwin
Install Cygwin and add Python3 and fortune repos when doing  the install.
grab the whole gihub source zip from link above.
put that into your user folder in cygwin.

follow the install instructions,  however it will fail with an error about xxxinfo and you need to then rename the xxxxinfo.gz file in the cygwin folder file to remove the .gz from the filename and then re-run the install it should execute now.

then using good old VI add some alias's into the bash file.

vi ~/.bashrc

alias ponysay='python3 /bin/ponysay'
this lets you type ponysay xxxx into terminal and get a saying with xxxx

alias ponysays ='python3 /bin/ponysay -q'
this lets you type ponysays and get a random saying.

now if you want this to run when you login to ssh terminal then add
fortune | ponysay
this will give you a random fortune with a pony

or

fortune | ponysays

will give you a random pony and random pony saying.


Title: Re: Ponysay - how to get it working in windows
Post by: Pigdog on June 04, 2015, 09:57:25 am
Why are we all hyped about Fallout 4 and win 10 when this is happening?
Title: Re: Ponysay - how to get it working in windows
Post by: Apostrophe Spacemonkey on June 04, 2015, 10:33:55 am
Why is this not headline news on the NZ herald website?
Title: Re: Ponysay - how to get it working in windows
Post by: DarkVirus on June 04, 2015, 12:20:03 pm
Why did i spend 2 hours fixing our CGYWIN after xsannz 'tried to install ponysay'.

Answers to these questions and more, on the next episode of dragon ball z
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 04, 2015, 12:25:33 pm
Why did i spend 2 hours fixing our CGYWIN after xsannz 'tried to install ponysay'.

Answers to these questions and more, on the next episode of dragon ball z

i think that was more a fail of the cygwin updater...

just got feedback from cygwin devs, known bug issue but undocumented that the soft package upgrade currently breaks ssh configurations.

FUUUU
Title: Re: Ponysay - how to get it working in windows
Post by: DarkVirus on June 04, 2015, 12:36:03 pm
fortune and python3 are installed now though, i included them in the reinstall.
Title: Re: Ponysay - how to get it working in windows
Post by: Lias on June 04, 2015, 12:55:51 pm
Why did i spend 2 hours fixing our CGYWIN after xsannz 'tried to install ponysay'.

Answers to these questions and more, on the next episode of dragon ball z

My guess is either you don't give him access to VSphere, or he has access and is a muppet and didn't take a snapshot pre change :-)
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 04, 2015, 01:10:36 pm
Why did i spend 2 hours fixing our CGYWIN after xsannz 'tried to install ponysay'.

Answers to these questions and more, on the next episode of dragon ball z

My guess is either you don't give him access to VSphere, or he has access and is a muppet and didn't take a snapshot pre change :-)

only ssh access
Title: Re: Ponysay - how to get it working in windows
Post by: Lias on June 04, 2015, 01:13:44 pm
Why did i spend 2 hours fixing our CGYWIN after xsannz 'tried to install ponysay'.

Answers to these questions and more, on the next episode of dragon ball z

My guess is either you don't give him access to VSphere, or he has access and is a muppet and didn't take a snapshot pre change :-)

only ssh access

Fair Enough, I blame DV for not giving you VSphere access (I'm assuming they are using ESX, if not, insert relevant VM management tool.)
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 04, 2015, 01:17:41 pm
it was my bad it worked in all 6 test runs locally but when i ran the soft installer i hit the known bug between versions that stopped the ssh service and subsequently couldn't restart it and at that time my ssh tunnel dropped and couldn't get back in to fix my mess.

otherwise totally would have cleaned my own mess.

I think i need and Arsey signature  ..   DV GONNA BE MAD.
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 04, 2015, 01:27:09 pm
FYI it's working with ponysay.

not sure if all users or it's just trolling me
Title: Re: Ponysay - how to get it working in windows
Post by: Lias on June 04, 2015, 01:33:52 pm
In related news.. MS is commiting code to OpenSSH, and will be building SSH (server and client) functionality into PowerShell.

Fuck yeah!
Title: Re: Ponysay - how to get it working in windows
Post by: DarkVirus on June 04, 2015, 06:16:36 pm
Code: [Select]
  _______  _______ .___________.        _______.  ______   .___  ___.  _______
 /  _____||   ____||           |       /       | /  __  \  |   \/   | |   ____|
|  |  __  |  |__   `---|  |----`      |   (----`|  |  |  | |  \  /  | |  |__
|  | |_ | |   __|      |  |            \   \    |  |  |  | |  |\/|  | |   __|
|  |__| | |  |____     |  |        .----)   |   |  `--'  | |  |  |  | |  |____
 \______| |_______|    |__|        |_______/     \______/  |__|  |__| |_______|
-------------------------------------------------------------------------------
    To Use This System You Must Be Authorised For The Stuff With The Things
-------------------------------------------------------------------------------

 __________________________________
( I hear you were born on April 2, )
( obviously a day too late.        )
 ----------------------------------
    o  ^__^         ^__^
     o (oo)\_______/(oo)_______/
       (__)\       )d__)       )
           ||---ww |   ||---ww |
           ||     ||   ||     ||


i dont see ponysay
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 04, 2015, 08:12:29 pm
It's currently only running on my profile I need to edit the global bash file.

Also because your user existed prior to install your bash file wont have it on.
Title: Re: Ponysay - how to get it working in windows
Post by: Craigor on June 17, 2015, 12:09:02 pm
*Just spent the last hour helping Arseynimz log into ssh*

It appears that when you broke it, some connection settings changed >.>
Title: Re: Ponysay - how to get it working in windows
Post by: Xenolightning on June 17, 2015, 12:15:06 pm
Permaban xsannz?
Title: Re: Ponysay - how to get it working in windows
Post by: Apostrophe Spacemonkey on June 17, 2015, 12:26:10 pm
Permaban xsannz?

Bring back the cooler.
Title: Re: Ponysay - how to get it working in windows
Post by: Lias on June 17, 2015, 12:36:35 pm
Permaban xsannz?


+1 unless he posts pics of him dressed up like a pony
(http://images.sodahead.com/polls/003574399/930485512_exterface_unicorn_03_xlarge.jpeg)
Title: Re: Ponysay - how to get it working in windows
Post by: Craigor on June 17, 2015, 12:48:23 pm
That genuinely looks like someones grindr profile picture
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 17, 2015, 12:52:52 pm
*Just spent the last hour helping Arseynimz log into ssh*

It appears that when you broke it, some connection settings changed >.>

DV didnt activate some profiles :)
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 17, 2015, 12:53:27 pm
That genuinely looks like someones grindr profile picture

thats lias twitter profile account.
Title: Re: Ponysay - how to get it working in windows
Post by: Craigor on June 17, 2015, 12:59:43 pm
DV didnt activate some profiles :)


Nah it was the cipher
Title: Re: Ponysay - how to get it working in windows
Post by: Xsannz on June 17, 2015, 01:00:17 pm
DV didnt activate some profiles :)


Nah it was the cipher

ahh right ..   oh well all sorted...
Title: Re: Ponysay - how to get it working in windows
Post by: Arseynimz on June 25, 2015, 10:41:22 am
Fucking pony fucks. I can't get that time I spent with the cipher deciphering crap I had to deal with back.

In other news, ssh is working fine.