Code Monkey home page Code Monkey logo

rickroll-scripts's Introduction

rickroll-scripts

These are lighthearted scripts that you can use to rickroll yourself or your unwitting friends. Compatible with both Windows and Linux, they make rickrolling a scriptable and automatable task. For even more fun, put this in your friend's .bashrc or use cron/Windows Task Scheduler ;).

Linux

Requires Xdotools and Mozilla Firefox to run. To get started without downloading you can:

curl -s https://raw.githubusercontent.com/gideonshaked/rickroll-scripts/master/rickroll.sh | bash

Or use the alternative link:

curl -sL bit.ly/3aHoMAE | bash

Windows

Requires Microsoft Edge, which is on all Windows installations by default. To run once:

Invoke-WebRequest -URI https://raw.githubusercontent.com/gideonshaked/rickroll-scripts/master/rickroll.ps1 -OutFile temp.ps1; Set-ExecutionPolicy -ExecutionPolicy unrestricted -Scope process; .\temp.ps1; Remove-Item temp.ps1

With the alternate link:

Invoke-WebRequest -URI https://bit.ly/3pL4evo -OutFile temp.ps1; Set-ExecutionPolicy -ExecutionPolicy unrestricted -Scope process; .\temp.ps1; Remove-Item temp.ps1

To set up to run without user input, for example if used with Windows Task Scheduler, you need to set the execution policy to unrestricted prior (Powershell has no cmdlet equivalent to expect that is easily usable):

Set-ExecutionPolicy -ExecutionPolicy unrestricted

Then you can run the following each time:

Invoke-WebRequest -URI https://raw.githubusercontent.com/gideonshaked/rickroll-scripts/master/rickroll.ps1 -OutFile temp.ps1;.\temp.ps1; Remove-Item temp.ps1

With the alternate link:

Invoke-WebRequest -URI https://bit.ly/3pL4evo -OutFile temp.ps1;.\temp.ps1; Remove-Item temp.ps1

rickroll-scripts's People

Contributors

gideonshaked avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

deniskaissamari

rickroll-scripts's Issues

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.