Git Product home page Git Product logo

miscps1's People

Contributors

riverheart avatar soapyfrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

miscps1's Issues

SSL Support for chat-irc

Hello, nice job for your script. it work fine and i'm trying to update your script for use it with an SSL irc server

have you already try it ?

actually i cannot work with SSL, if you have an idea of ​​how I can realize that I'm listening

thanks!

error :

PS E:\PROJECT\Irc-Powershell> .\Start-Client.ps1
DÉBOGUER : Using connection info:
DÉBOGUER : server: 192.168.1.42
DÉBOGUER : port: 6697
DÉBOGUER : user: myuser
DÉBOGUER : nick: mynick
DÉBOGUER : pwd: ************
DÉBOGUER : realname: This is my real name
DÉBOGUER : hostname: This is my host name, but is generally ignored
COMMENTAIRES : >> PASS ************
COMMENTAIRES : >> NICK mynick
Exception lors de l'appel de «Flush» avec «0» argument(s): «Impossible d'écrire les données sur la connexion de
transport : Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte.»
irc-clientInit.ps1:193 : 3

  • $sw.Flush()
  • + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : IOException
    

making-noises - Not an issue, just wanted to comment on your closed blog - https://ps1.soapyfrog.com/2007/01/11/making-noises/

In the code below we play a local midi file, but original was HTTP hosted mp3...
$player.Open("http://www.leeholmes.com/projects/ps_html5/background.mp3")

Open the background song

$script = @'
$player = New-Object -ComObject 'MediaPlayer.MediaPlayer'
$player.Open("C:\Temp\t2_judge.mid")
$player
'@

... in a background MTA-threaded PowerShell because

the MediaPlayer COM object doesn't like STA

$runspace = [RunspaceFactory]::CreateRunspace()
$runspace.ApartmentState = "MTA"
$bgPowerShell = [PowerShell]::Create()
$bgPowerShell.Runspace = $runspace
$runspace.Open()
$player = @($bgPowerShell.AddScript($script).Invoke())[0]

All credit to Lee Holmes
SEE SOURCE: classic lee holms PS rick roll - http://www.leeholmes.com/projects/ps_html5/Invoke-PSHtml5.ps1

Contribution Question

Not an issue really, but would you be open to updates to these scripts? Or if not, would I be able to upload a modified copy of some to my general powershell repo for safekeeping?

Thanks for your time!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.