Exodus Kodi – Install Exodus on Kodi Leia 18 | Krypton 17.6

Exodus, previously developed by Cold Fire is now back in the Kodi world. Exodus Kodi is now being updated by independent developers and contains zero bugs and issues. Now you can find New Exodus on Lazy Kodi Repository, Kodi Bae, XvBMC, Kodil, and TKNorris Repository for Kodi 17.6 Krypton users. It still is the best Kodi add-on for streaming Free Movies and TV Shows on Kodi. You can also add the Kodi subtitles on Exodus while watching movies.

To view other installation guides similar to Exodus Kodi 17.6, check out our detailed guide on Covenant Kodi (best exodus replacement so far). Also, you can check our best Kodi add-ons list. If you want to secure your online privacy while using Kodi third-party add-ons, then you should get a Kodi VPN. View our guide on how to stop Kodi Buffering issues and stream smoothly.

Here in this guide, we provide detailed steps on how to install Exodus on Kodi in less than a minute. So, stick with us for a minute.

TABLE OF CONTENTS OF EXODUS KODI

  1. How to Install Exodus Kodi 18 on Kodi Leia Alpha one 
  2. How to Install Exodus Kodi 17.6 with Lazy Kodi Repository New Repo
  3. How to Install Exodus Kodi 17.6 with Kodi Bae Repository New Repo
  4. How to Install Exodus on Kodi 17.6 with XvBMC Repository New Repo
  5. How to Install Exodus Kodi 17.6 with TkNorris Repository New Repo 
  6. How to Install Exodus Kodi 17.6 Krypton with Kodil Repo 
  7. How to Install Exodus Kodi 16 Jarvis with Kodil Repo 
  8. How to Install Exodus Kodi on Firestick with Kodil Repo 
  9. Exodus Kodi Download 
  10. How to Stop Exodus Kodi Buffering with *Bonus Video* 
  11. Exodus Kodi Reviews 
  12. Exodus Kodi Repository 
  13. How to Update Exodus Kodi 
  14. Exodus Kodi Not Working 
  15. Kodi No Stream Available 2018 
  16. Is Exodus Kodi Legal? 
  17. Why Exodus over Covenant? 
  18. Exodus Kodi Alternatives 
  19. Exodus Kodi Addon: FAQs 
  20. Final Words 

How to Install Exodus Kodi 18 on Kodi Leia Alpha one

Step 1: Open Kodi on your system > Click on Settings icon

step-1-Install-Exodus-Kodi-on-Kodi-Leia

Step 2: Then tap on File Manager option > Double tap Add Source

Install-Exodus-Kodi-on-Kodi-Leia-step-2

Step 3: Click ‘None’ > Paste the URL http://kdil.co/repo/ > Press OK

Step-3-Install-Exodus-Kodi-on-Kodi-Leia

Step 4: Name the repository as Kodi > Press OK

Install-Exodus-Kodi-on-Kodi-Leia-Step-4

Step 5: Go back to Kodi Home > Click on Add-ons > Box icon

Step-5-Install-Exodus-Kodi-on-Kodi-Leia

Step 6: Choose Install from Zip File > Click on Kodil > Then select Kodil.zip

Install-Exodus-Kodi-on-Kodi-Leia-Step-6

Step 7: Select Install from Repository > Kodil Repository > Tap on Video Add-ons > Click on Exodus > Press Install

Step-7-Install-Exodus-Kodi-on-Kodi-Leia

How to Install Exodus Kodi 17.6 with Lazy Kodi Repository

Step 1: Open Kodi > Go to Settings icon at the top > Click on File Manager

Step 2: Scroll down to double click on Add Source > Tap ‘None’ when the box appears

Step 3: Paste the URL http://lazykodi.com/ > Press OK > Name the repository i.e. Lazy Kodi > Press OK

Step 4: Go back to Kodi Home > Select Add-ons menu > Tap on Box-shaped icon

Step 5: Click on Install from Zip File > When the box opens click on Lazy Kodi

Step 6: Tap on Repositories section > Then click on Adroidaba > Click onto Repository > Now select repository.kodil-1.4.zip > Now wait for the repository to install

Step 7: Go to Install from Repository option > Find and click on Kodil Repository from the list > Go to Video Add-ons > Find and select Exodus > Hit Install

How to Install Exodus Kodi 17.6 with Kodi Bae Repository

Step 1: Download the Kodi Bae Repository Zip File

Step 2: Open Kodi > Go to Add-ons section > Tap on Box-icon

Step-2-install-exodus-kodi-with-kodi-bae

Step 3: Choose Install from Zip File > Upload the downloaded Kodi Bae Zip File > Once you upload the file it will take some time to install

Step-3-install-exodus-kodi-with-kodi-bae

Step 4: Now the Exodus add-on is installed. To view the add-on, go back to Kodi Home > Click on Add-ons section > Video Add-ons > Exodus > Enjoy!

Step-4-install-exodus-kodi-with-kodi-bae

The New Kodi Exodus Latest Version (XvBMC Repository)

XvBMC is a new repository that hosts popular Kodi add-ons including Exodus, Covenant, SALTS RD Lite, Community Portal, and so much more. New Exodus is back!

How to Install Exodus Kodi 17.6 with XvBMC Repository

Step 1: Launch Kodi Krypton > Click on Settings gear-icon on top > Then tap File Manager

Step-1-How-to-Install-Exodus-on-Kodi-with-XvBMC-repo-

Step 2: Scroll down and double click on Add Source > When the box appears, click on ‘None’

How-to-Install-Exodus-on-Kodi-with-XvBMC-repo-Step-2

Step 3: Paste the URL http://archive.org/download/repository.xvbmc/ > Then select OK > Name the media source i.e. XvBMC > Press OK

Step-3-How-to-Install-Exodus-on-Kodi-with-XvBMC-repo

Step 4: Go back to Kodi Main Menu > Then select Add-ons Box icon on top

How-to-Install-Exodus-on-Kodi-with-XvBMC-repo-Step-4

Step 5: Select Install from Zip File > When the box appears, click on XvBMC > Then tap on repository.xvbmc-4.20.zip > Wait for the installation to complete

Step-5-How-to-Install-Exodus-on-Kodi-with-XvBMC-repo

Step 6: Click on Install from Zip File > Then select XvBMC (Add-ons) Repository

How-to-Install-Exodus-on-Kodi-with-XvBMC-repo-Step-6

Step 7: Click on Add-on Repository present at the top of the list > Then select tknorris Release Repository > Hit Install

Step-7-How-to-Install-Exodus-on-Kodi-with-XvBMC-repo

Step 8: Now go back two space by pressing on ‘Backspace’ > Then select tknorris Release Repository

How-to-Install-Exodus-on-Kodi-with-XvBMC-repo-Step-8

Step 9: Go to Video Add-ons > Now find and select Exodus > Hit Install

Step-9-How-to-Install-Exodus-on-Kodi-with-XvBMC-repo

How to Install Exodus Kodi 17.6 with TkNorris Repository

First, you are required to Download TKNorris Release Repository Zip File on your system and then follow the steps highlighted below:

Step 1: Launch Kodi on your system or device > Select Add-ons located on the left-side menu

Step-1-How-to-Install-Exodus-on-Kodi-with-tknorris-repo

Step 2: Click on Package Installer i.e. Box-shaped icon on top > Then select Install from Zip File

How-to-Install-Exodus-on-Kodi-with-tknorris-repo-Step-2

Step 3: Upload or Navigate the downloaded zip file for tknorris Repo > Then wait for the repository to download

Step-3-How-to-Install-Exodus-on-Kodi-with-tknorris-repo

Step 4: Once downloaded, click on Install from Repository > Scroll down to select tknorris Release Repository

How-to-Install-Exodus-on-Kodi-with-tknorris-step-4

Step 5: Click on Video Add-ons > Exodus > Hit Install

Step-5-How-to-Install-Exodus-on-Kodi-with-tknorris-repo

How to Install Exodus Kodi 17.6 Krypton with Kodil Repo

Note: Kodi Repo not working view our detailed guide if you having any issues and get the kodil israel alternatives

Step 1: Open Kodi > Go to ‘Settings’ icon placed on top > Click on File Manager > Double Click on Add Source

Step-1-How-to-Install-Exodus-on-Kodi

Step 2: Click where it says ‘None’ > Type the URL http://kdil.co/repo/ > Click OK > Type the Name of the Media Source ‘Kodil’ > Click OK

How-to-Install-Exodus-on-Kodi-Step-2

Step 3: Now go back to Kodi Main Menu by Pressing ‘Backspace’ button on keypad multiple times > Click on Add-ons tab > Now click on ‘Package Installer’ icon placed at top left

Step-3-How-to-Install-Exodus-on-Kodi

Step 4: Select Install from Zip File > Click on Kodil > Locate and click Kodil.zip > Wait for the Add-on to Install

How-to-Install-Exodus-on-Kodi-Step-4

Step 5: Now select Install from Repository > Click on Kodil Repository > Video Add-ons > Exodus > Install > Wait for the add-on to enable

Step-5-How-to-Install-Exodus-on-Kodi

Step 6: Go back to Kodi Main Menu > Click on Add-ons > Video Add-ons > Exodus > Enjoy streaming movies and TV shows!

How-to-Install-Exodus-on-Kodi-Step-6

How to Install Exodus Kodi 16 Jarvis with Kodil Repo

Step 1: Open Kodi > Go to System File Manager > Double click on Add Source

Step 2: Click on  and type the URL http://kdil.co/repo/  > Click Done > Type the Media Source Name ‘Kodil’ > Click Done and then click OK

Step 3: Go to Kodi Home Screen > Go to Systems > Add-ons > Install from Zip File > Click on Kodil > Tap on Kodil.zip > Wait for few seconds

Step 4: Go to Install from Repository > Click on Kodil Repository > Click on Video Add-ons > Select Exodus from the list > Now Install

Step 5: Kodi Home Screen > Videos > Add-ons > Exodus > Enjoy!

How to Install Exodus Kodi on Firestick with Kodil Repo

Step 1: Open Fire Stick device Main Menu > Click on Settings > Then Applications > Manage Installed Applications > Then Select Kodi

Step 2: Once you open Kodi, go to Settings icon (a gear-shaped icon) on top > Click on File Manager

Step 3: Now you will see a list of options, double click Add Source > Click ‘None’ > Type the URL http://kdil.co/repo/ > Select OK > Type the name of the Repository i.e. Kodil > Select OK

Step 4: Go back to Kodi Main Menu > Hit Add-ons section

Step 5: Select Package Installer (a box-shaped icon) on top > Click on Install from Zip File

Step 6: A box will open where you need to select Kodil > Then click on Kodil.zip > It will take a few minutes to install Kodil Repository

Step 7: Go to Install from Repository > Select Kodil Repository from the list

Step 8: Click on Video Add-ons > Find and click on Exodus > Hit Install

Note: For further details you can check out the guide of how to install kodi on firestick with and without PC.

Exodus Kodi De-listed by TVAddons

Exodus Kodi addon has been de-listed by TVAddons from its repository due to copyright issues that are currently underway. TVAddons has added a new feature that goes by the name GitHub browser Kodi that only provides a direct platform to install any Kodi add-on from GitHub browser. By adding this feature, TVAddons do not indulge in any illegal copyright downloading activities as calimed by authorities.

Exodus Kodi Addon

Exodus is a video add-on that streams Movies, TV Shows, and all the latest media content. It is a third-party Kodi add-on and has remained a popular one until Covenant add-on became its replacement. However, Exodus still works as perfectly than ever before. If your Exodus having buffering issues, so fix Kodi Buffering and stream smoothly through Exodus.

Exodus Kodi Download

To shorten the installation guide for Exodus Kodi add-on, we have provided another method. For installing Exodus through a new method you need to download Kodil Repository Zip Fileand then follow the steps presented below:

Step 1: Open Kodi Krypton > Click on Add-ons > Then tap on the Box-icon that you see on top > Now click on Install from Zip File

Step 2: A box will appear, here you need to find and upload the Zip File that you downloaded earlier > It will take some time to download

Step 3: Once downloaded, click on Install from Repository > Then Kodil Repository from the list > Go to Video Add-ons > Select Exodus > Then Press Install

How to Use Exodus Kodi Addon

Once you are done installing Exodus Kodi, you will need to open this add-on by clicking on the Add-ons section on the Kodi Main Menu and then select Video Add-ons section. On the right-side of the screen, search for Exodus addon and click on it to open.

Here you find a list of option i.e. Movies, TV Shows, and so on. If you only want to see new movies, there is also New Movies and New Episodes option available. You can explore this addon however you wish.

How to Stop Exodus Kodi Buffering with *Bonus Video*

Step 1: Open Kodi > Go to Add-ons

Step-1-Stop-Exodus-Kodi-Buffering

Step 2: Click on Video Add-ons > Then select Exodus Kodi Addon

Stop-Exodus-Kodi-Buffering-Step-2

Step 3: Scroll down and select Tools

Step-3-Stop-Exodus-Kodi-Buffering

Step 4: Scroll down again and tap on Exodus: Clear Cache

Stop-Exodus-Kodi-Buffering-Step-4

Step 5: Click Yes and the cache will be cleared

Step-5-Stop-Exodus-Kodi-Buffering

Exodus Kodi Reviews

Dom M-G@Dom1985

Exodus on our Kodi is being a prick, any similar add ons you can recommend folks?

Exodus Kodi has never been the same since the shutdown of Fusion repository. Sometimes it may give ‘No stream available’ error, or it may sometime play wrong files. All is happening with Exodus add-on.

Ms. Fat Booty✨@BeaFierce

Can I pay someone to put Exodus back on Kodi for me please because I can’t 😩

People are so desperate to get Exodus Kodi back that they are willing to pay for it to anyone who would install them the add-on.

Exodus Kodi Addon: What to Expect?

Exodus Kodi brings you all the latest Movies and TV Shows from the entertainment industry. In fact, it will be the first to direct its users towards a new source that features a new movie. Apart from its huge media library, Exodus also focuses on the quality of its content. It would bring your Movies and TV Shows that are in HD and SD quality both.

Exodus Kodi Repository

Exodus Kodi add-on can be found in various repositories. It is important that you install Exodus that has the latest version updated. Exodus repositories are listed below:

  • Lazy Kodi Repo
  • Kodi Bae Repository
  • XvBMC Repository
  • TK Norris Repository
  • Kodil Repository
  • Super Repo
  • Kodi Tips

How to Update Exodus Kodi

Turning on Auto-Update will automatically update Exodus Kodi add-on. To manually or automatically Turning ON Exodus updates, follow the steps below:

Step 1: Launch Kodi > Tap on Add-ons menu > Go to Video Add-ons > Now Right-Click Exodus> Select Information

Step 2: On the bottom of your screen it will present with many option. Turn ON Auto-Updatefor Kodi to automatically install updates. For manually installing updates click on Updateoption.

(See how to update Kodi in detail)

Exodus Kodi Not Working

When installing Exodus, you may find Exodus Kodi not working. For your convenience, we have discussed some of the common issues that Kodi users normally face. See them below:

Problem:Exodus Failed to Install a Dependency

This error occurs whenever a Kodi user is trying to install Exodus from a repository that does not have an updated Exodus version. Failed to Install Dependency error may also occur when a repository is being updated.

Solution

Resolving this issue may take a few pointers. First, you need to consider a repository that immediately updates Exodus add-on, such as Kodil Repository. If you still find this error, then it means Kodil Repository is getting updated and you need to wait a few hours before proceeding towards installation.

Problem:Exodus Could Not Connect to Repository

‘Could not connect to a repository’ error may appear because of a wrong repository you might have inserted. This error may also occur when the repository URL is not working. In both cases we have provided a solution.

Solution

Kodi users might want to double check on the repository URL and must make sure that they are inserting an end slash (/) at the end of the URL. If this error persist, then you must check on your internet connection.

If it still does not work, then it may seem that the repository URL is not working. You can check a URL whether it’s working or not by pasting the same URL on your website URL browser. If it opens then it means the repository URL is working.

Problem:Kodi Exodus No Stream Available 2018

Sometimes it is frustrating to see when there is a Kodi no stream available on Exodus. This can also lead you to quit Kodi. However, we must advise against it because this method could be resolved.

Solution

The particular error could be resolved by un-installing Exodus and re-installing it with Kodil repository. When the original developer of Exodus called it quits, many different developers started to add their updates. Some of the best Exodus updates are found in an Exodus Kodi add-on found in the Kodil Repository.

Exodus Kodi Disappeared

It was recently announced by the developer of Exodus that this add-on will soon shut down due to copyright infringement battles. There is no need for Kodi users to worry about anything, because it was further announced that Covenant add-on will officially replace Exodus.

If by any chance Exodus gets shut down, then the only thing you need to do is install Covenant on Kodi. Covenant is better and bigger than Exodus and contains zero to minimal bad links.

Is Exodus Kodi Legal?

Most people ask this query that is Kodi legal? Any third-party Kodi add-on is an illegal add-on, and so is Exodus. However, Exodus claims that it only hosts the links and sources for the Movies and TV Shows, but does not own those media content.

This statement holds true for most part because if any of the sources or links are broken, Exodus will replace these links with other links. In any case, if you want to protect your online privacy and online data, you can get Kodi VPN. This will help you protect your online privacy from your ISPs and the government. Also, it unblocks geo-restricted add-ons.

New HD Movies on Exodus Kodi

Exodus Kodi frequently gets updated with New Movies and TV Shows available in HD quality. However, the movies that are still available in theatres will have CAM video quality. Soon after 15 days of the initial release, Exodus updates its library with HD quality videos.

Kodi 4k Exodus

Exodus addon is flourishing with 4k quality videos and that is one of the reason why it gained such massive popularity. With one month passed in the initial movie release time, you will find various Movies and TV Shows in exquisite video quality only on Exodus Kodi.

Kodi Exodus Error Script Failed

When you have Kodi software filled with cache and unnecessary files, then it would prompt ‘Script Failed Error’. It is about time that you need to clear Kodi cache to resolve this issue.

Solution

To clear cache, view our guide on how to stop Kodi buffering issue with 5 best fixes. Following these steps would ensure smooth streaming of Kodi content and therefore you’d be free from any buffering issues.

Exodus Kodi Alternatives

Exodus Kodi is a movie add-on, which means it offers free Movies and TV Shows to Kodi users. Many add-ons bring your free Movies and TV Shows. Some of these add-ons are listed below which you might consider as an alternative for Exodus Kodi:

Why Exodus over Covenant?

Anyone who has been attached to Kodi since long enough would know that Exodus Kodi add-on is far superior to Covenant itself. Since the existence of Exodus, there weren’t many times where you would see an add-on not working.

Exodus has survived in the Kodi world for many years even recently when many Kodi add-ons tumbled. Covenant Kodi on the other hand has faced many issued since its existence. Fusion Repository was fallen apart, Super Repo, Ares Wizard, and other repositories were fallen apart and so did Covenant.

Covenant Kodi couldn’t hold the pressure and became weaker as the days goes by. Kodi users would definitely pick Exodus over Covenant because they have seen the good old days when they would watch Movies and TV Shows on Exodus Kodi and no law enforcement would know about it.

Exodus Kodi Addon: FAQs

Why Is Exodus Slow?

Exodus can be slow but there is a solution to reduce buffering in Exodus as mentioned in our guide. Following the steps on how to stop Exodus Kodi buffering will enable users in streaming the content flawlessly.

Why Exodus Kodi Addon Disappeared?

Exodus Kodi addon never disappeared from the scene, instead it was stopped being updated by its original developer. However, independent developers took over the add-on and since then it is updated by those developers.

Why Exodus Won’t Install on Kodi?

Exodus is easily installed on Kodi via Kodil Repository. Installing the add-on from any other repository might create errors and it would be a probable cause for Exodus won’t install.

How to Install Exodus on Kodi Jarvis?

Kodi Jarvis version 16 is the old version of Kodi which uses Confluence Skin. We have discussed the installation guide for Exodus on Kodi Jarvis above. It has a different interface than Kodi Krypton with a unique placement of options and icons.

How to Get Subtitles for Exodus?

Subtitles are easily added onto Exodus Kodi with Opensubtitles.org and Subscene. These are the two subtitles for Kodi if you ever happen to watch Movies or TV Shows on subtitles. It doesn’t require subscription nor do you need to install a separate Kodi add-on. Here is our guide on how to add Kodi subtitles.

Is VPN Mandatory to Use Exodus on Kodi?

Exodus is a third-party add-on that shows Free Movies and TV Series on Kodi. Viewing free copyright content in US, UK, Canada, Europe, Australia, and other countries would get you in trouble.

A VPN will hide your online activity and everything you watch over Kodi. In short, it will allow you to watch Free Movies without your ISP knowing what you’re doing over the internet.

How to Uninstall Exodus on Kodi

Step 1: Open Kodi > Click on Add-ons

Step 2: Then select Video Add-ons

Step 3: Right-click on Exodus addon > Click on Information

Step 4: Here you need to select Uninstall option listed below > Hence, Exodus Kodi will now be uninstalled

Final Words

The mainstream Kodi addon has been unleashed, and fans are eager to watch best of the time movies through Exodus on Kodi. The above guide will aid you to install Exodus Kodi hassle free without requiring any additional procedures.

Also, if DMCA and copyright trolls are the hurdles on your way to watch Kodi Exodus, then KodiVPN will provide top-grade protection and anonymity to fans against ISP monitoring, DMCA and copyright trolls, while ensuring hours of non-stop on-demand entertainment.

How to Stream or Mirror AirPlay to Computer or TV without Apple TV via Receiver

Method 1: rPlay AirPlay Receiver on Raspberry Pi

If you have a Raspberry Pi up and running (installed with Raspbian OS), you can turn it into a AirPlay receiver, by using rPlay. By connecting Raspberry Pi to TV, effectively you can AirPlay to TV without Apply TV.

To install rPlay, enter the following commands to install prerequisites and rPlay:

sudo apt-get install libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl
wget -O rplay-1.0.1-armhf.deb http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb
sudo dpkg -i rplay-1.0.1-armhf.deb

rPlay is installed and configured to automatically on boot. Then, open a web browser (could be on Raspberry Pi or any other computer), and visit the following URL:

http://:7100/admin
Note
If you’re browsing on Raspberry Pi, just visit the “http://localhost:7100/admin” (without quotes).

Login with the username and password of admin, and then scroll down to the end of the page and enter the license key as S1377T8072I7798N4133R.

Method 2: OSMC on Raspberry Pi

OSMC (Open Source Media Center), previously known as Raspmc, is a free and open source media player based on Kodi, previously known as XBMC Media Center. Once you installed OSMC on Raspberry Pi, enable the AirPlay receiver by going to System -> Network, and enable either the Allow XBMC to receive AirPlay content or Enable AirPlay “Videos” and Pictures” support; or in newer version, Settings -> Services -> Airplay, and toggle Enable Airplay support to on.

Unfortunately, OSMC, like Kodi, does not support AirPlay mirroring and streaming of DRM contents such as Netflix. In iOS 9 or newer, it only supports audio steaming, without video and pictures support.

Method 3: Kodi

Kodi, previously known as XMBC Media Center, can act at AirPlay receiver, similar to OSMC which based on it, to allow any device to broadcast to it. Once you installed Kodi, enable the AirPlay receiver by going to System -> Network, and enable either the Allow XBMC to receive AirPlay content or Enable AirPlay “Videos” and Pictures” support; or in newer version, Settings -> Services -> Airplay, and toggle Enable Airplay support to on.

Enable AirPlay Receiver in Kodi

Like OSMC, the AirPlay support in Kodi is limited. It only accepts audio for iOS 9 or newer. Even though it can receive audio, video and pictures in iOS 8 or older, DRM-based videos from iTunes Store or Netflix won’t play. In addition, AirPlay mirroring which duplicates the device’s screen is not supported.

Kodi is available for most major operating systems, including Android, which allows you to install it onto an HDMI-based Android stick that can connect to TV directly.

Method 4: LonelyScreen

LonelyScreen is a AirPlay receiver for Windows and MacOS (including Sierra, El Capitan, Yosemite, Mavericks, Mountain Lion, and Lion), much like an Apple TV running on your desktop. You can cast anything from iPhone or iPad to computer screen, including AirPlay mirroring. LonelyScreen works with iOS 9.1, iOS 9.2, iOS 10 or later, which compatible with iPhone 6, iPhone 6s, iPhone 7 and their Plus variants.

LonelyScreen

Download LonelyScreen for Windows or Mac.

Method 5: 5KPlayer

5KPlayer is a multi-functional multimedia application that can play 4K, 5K and 1080p HD videos, music, DVD; download videos from YouTubes and more than 300 other sites; and most importantly, comes with AirPlay technology. 5KPlayer can act as an AirPlay Receiver to allow streaming of films, videos and music from iPad Pro, iPhone 7 to Mac or PC. It can also serve as AirPlay Sender to stream media to Apple TV and AirPlay speakers. 5KPlayer also supports AirPlay Mirroring and screen recording.

5KPlayer

Download 5KPlayer for Windows or Mac. 5KPlayer is free.

Method 6: Shairport4w AirPlay Receiver for PC

Shairport4w is an open source AirPlay Audio-Receiver for Windows PC, or Airtunes emulator. It allows users to stream and play audio content from iPhone, iPad, iPod or iTunes on your PC. Shairport4w now comes with a commercial plug-in (not free) that allows you to save your AirPlay audio stream to disk, and also includes several export Options (supports LAME), Timeshift, track editing and more.

Shairport4w

Download Shairport4w from sourceforge.net.

Method 7: Third Party Commercial Software

There are plenty of third-party software applications that can play the role of AirPlay receiver, though most of them has commercial license that is not free. Some does offer free trial period which you can use without charges. Some of the AirPlay replacement software are:

  • Mirroring360 – Mirroring360 from Splashtop allows users wirelessly share & record the Chromebook, iPad, iPhone, Android, Windows, and Mac screens without the need for hardware or cables. Mirroring360 has built-in support for AirPlay including on iOS devices, and has Mirroring360 Sender for Android devices and Chromebook app for Chromebooks or PC to allow streaming from those devices.
  • Reflector – Reflector is a wireless mirroring and streaming receiver that works great with Google Cast, AirPlay and AirParrot 2. Reflector accepts wireless mirroring and streaming connections from different devices supporting Google Cast and AirPlay Mirroring. Reflector can be installed on most popular entertainment devices including Amazon Fire TV and Fire TV Stick, or pair Reflector with AirParrot 2 in your home theater to stream your content to the big screen.
  • AirServer – AirServer is an advanced screen mirroring software receiver for Mac and PC. It allows you to receive AirPlay, Google Cast and Miracast streams, similar to an Apple TV or a Chromecast device. AirServer is fully compatible with the built-in “Project to a wireless display” feature in Windows 10, and supports Live streaming to YouTube Live.
  • X-Mirage – X-Mirage is a professional AirPlay server for Mac and Windows PC, which allows you to wirelessly stream contents or mirror iPhone, iPad and iPod screen to any Mac/Windows PC. Record screen and audio from iOS devices, as well as voiceover via Microphone with one click.
  • Airfoil – Airfoil can receive audio from AirPlay source, and/or send audio from your computer to one or multiple outputs anywhere on your network, such as Apple TV, AirPort Express, and other AirPlay devices, as well as Bluetooth speakers, iOS devices (iPhone, iPad, & iPod Touch) and even other Macs and PCs!

Method 8: Bypass AirPlay and Fallback to Miracast/Intel WiDi/Wi-Fi Direct with Third Party Software

There are plenty of open wireless streaming and mirroring technology available, such as Miracast and Google Cast. Most of these standards are free and readily available and supported by most major TV brands and display/audio devices. In fact, by streaming or mirroring directly via a protocol that is supported natively by the display or audio devices, users no longer requires additional boxes or cables. There are some apps that make use of these standards or proprietary communication protocols to mirror the screen or stream your media contents, here’s some of them, though most of them is commercially licensed, i.e. requires purchase of license.

  • iMediaShare – iMediaShare is a free software that allows users to access the digital content from anywhere. iMediaShare automatically discovers any connected devices on the network and stream video instantly on the big screen. iMediaShare also serves as the ultimate remote, so user can adjust volume, playback, or switch videos with intuitive touchscreen gestures. iMediaShare supports Internet-connected TVs by Samsung, Sony, Panasonic, LG and Philips, Xbox One, Xbox 360, DISH Hopper, Apple TV, Blu-rayplayers and more. iMediaShare also supports push-to-play to any DLNA media renderer.
  • AirBeamTV (for MacOS systems) – AirBeamTV wirelessly mirror the screen of a Mac computer directly on any Samsung / LG / Panasonic smart TV, without the need for any additional hardware.
  • Video & TV Cast – Video & TV Cast can stream free online movies, web videos, livestreams and live tv shows directly from the browser to your favorite streaming players. It supports streaming to Chromecast, Samsung TVs, LG TVs, Amazon Fire TV, Roku, Google Cast powered TVs and many more media players. Video & TV Cast supports all major video websites and countless others. No additional media servers or complex setups are required to use it.
  • ZappoTV – ZappoTV is the Mobile Media Center for your TV. Using one of ZappoTV’s applications (available on both iTunes and Google Play), you can enjoy tons of media content (including your personal photos and videos) on your mobile device and your connected TV.

Kodi 开源多媒体播放器 – 神器

Kodi (原名 XBMC) 是一款经典开源免费、跨平台且极其强大专业的多媒体影音播放器,包含专业的影音内容管理以及解码播放功能于一体,提供适合在手机/电视/投影/大屏幕上显示的全屏界面,无线手机遥控操作方式,以及功能相当丰富的插件扩展,绝对是打造家庭影院 (影音中心) 和私人电影库的必备神器!

其次,Kodi 是一个万能格式高清播放器,支持解码播放几乎所有流行的音频和视频格式,3D、4K 高清什么的都没问题。它集电影、视频、音乐、图片管理和播放于一身,不仅能读取本机硬盘、移动硬盘的影音内容,最重要的是它还能通过局域网播放和管理其他电脑、NAS (网络存储服务器) 里的内容。目前,Kodi 支持 Windows、Mac、Linux 以及 Android、iOS (需越狱)。这使得任何人都能轻松将手头上的智能设备变成客厅中强大无比的影音播放机。

其实 Kodi 真正的亮点主要还是在于它丰富强大的插件扩展。得益于免费与开源的策略,全球无数开发者为 Kodi 制作了大量实用的插件,这些插件不仅让你的影音中心拥有更多新功能,最重要的是,它能让你看电影的流程变得更加方便!

一、设置成中文界面的方法

默认情况下,新安装好的 Kodi 启动后是英文版的界面。但事实上,Kodi 包含多国语言 (包含简繁体中文版),我们可以设置改回简体中文界面。不过,很多人都遇到修改 Kodi 的语言为中文之后整个界面显示乱码的问题,正确的设置方法如下:

1. 启动 Kodi,通过左上角的“齿轮”图标进入 System -> Interface Settings -> Skin,将其中的 Fonts 修改成 Arial Based

2. 然后将 Regional 中的 Language 修改成 Chinese (Simple)

 

 

 

http://fusion.tvaddons.co

 

透明代理、匿名代理、混淆代理、高匿代理有什么区别?

①没有使用代理服务器:
REMOTE_ADDR = 您的 IP
HTTP_VIA = 没数值或不显示

HTTP_X_FORWARDED_FOR = 无数值或不显示

②使用透明代理服务器(Transparent Proxies):
REMOTE_ADDR = 最后一个代理服务器 IP
HTTP_VIA = 代理服务器 IP
HTTP_X_FORWARDED_FOR = 您的真实 IP ,经过多个代理服务器时,这个值类似如下:118.168.8.66, 119.188.68.169, 119.188.68.231

此类代理服务器仍然将您的信息转发给您的访问对象,无法达到隐藏真实身份的目的。

③使用普通匿名代理服务器(Anonymous Proxies):
REMOTE_ADDR = 最后一个代理服务器 IP
HTTP_VIA = 代理服务器 IP
HTTP_X_FORWARDED_FOR = 代理服务器 IP ,经过多个代理服务器时,这个值类似如下:119.188.68.169, 119.188.68.231

此类代理服务器隐藏了您的真实IP,但是向访问对象透露了您是使用代理服务器访问他们的。

④使用欺骗性代理服务器(Distorting Proxies):
REMOTE_ADDR = 代理服务器 IP
HTTP_VIA = 代理服务器 IP
HTTP_X_FORWARDED_FOR = 随机的 IP ,经过多个代理服务器时,这个值类似如下:3.6.9.12, 119.188.68.169, 119.188.68.231

此类代理服务器告诉了访问对象您使用了代理服务器,却编造了一个虚假的随机IP代替您的真实IP欺骗它。

⑤使用高匿名代理服务器(High Anonymity Proxies (Elite proxies)):
REMOTE_ADDR = 代理服务器 IP
HTTP_VIA = 没数值或不显示
HTTP_X_FORWARDED_FOR = 没数值或不显示 ,经过多个代理服务器时,这个值类似如下:119.188.68.169, 119.188.68.231

此类代理服务器完全用代理服务器的信息替代了您的所有信息,就象您就是完全使用那台代理服务器直接访问对象一样。

最后一次代理服务器的地址并没有记录在代理链中,因此只记录 X-Forwarded-For 字段是不够的。完整起见,Web服务器应该记录请求来源的IP地址以及X-Forwarded-For 字段信息

基于HTTP协议带用户认证的GIT开发环境设置

it 的访问可以采用 HTTP 或 SSH 协议安全的访问,通常我们使用 gitlib 进行 Web 管理,但是在 Linux 命令行开发环境下,基本都是使用 SSH 协议,只需要在 gitlib 里面配置好相应的 SSH Key 就可以。

由于现在开发环境的特殊情况,我们需要在 Linux 命令行开发环境下,不能使用 SSH 方式,而只能使用 HTTP 协议进行安全访问,并且需要对开发者进行认证,并且开发者在本地开发环境中的用户名和密码需要加密存储。

接下来我就简单介绍我们的开发团队是如何在 Linux 命令行环境下进行 GIT 开发环境配置。

1. 创建 用户名/密码 文件(明文密码)
在自己的 $HOME 目录下,编辑 .netrc 文件,内容如下:

1
2
machine git.xxxxx.net
    login xxx@xxx.com password xxxxxx

2. 创建 GnuPG 密钥
在自己的$HOME 目录下,执行命令:

1
2
gpg --gen-key
注:默认回车即可,RSA密钥选择1024,2048太慢,但安全性好

可以使用以下命令查看已生成的密钥:

1
gpg --list-key

3. 加密 用户名/密码 文件
在自己的 $HOME 目录下,执行命令:

1
2
gpg -o ~/.netrc.gpg -er yourname ~/.netrc
注:执行完成后,可以删除明文密码文件 .netrc

4. 设置用户的 Git 配置
在自己的 $HOME 目录下,执行命令:

1
2
3
4
5
#此方法会缓存用户名/密码,不需要每次都输入
git config --global credential.helper 'store'
#此方法需要每次都输入用户名/密码
#git config --global credential.helper 'netrc -f ~/.netrc.gpg -d'

此时可以编辑 .gitconfig 文件,填写更多信息:

1
2
3
4
5
6
7
8
[user]
    name = XXX
    email = xxx@xxx.com
[core]
    excludesfile = /home/xxx/.gitignoreglobal
[credential]
    helper = store
    #helper = netrc -f ~/.netrc.gpg -d

5. 开始 GIT 环境

注:需要使用新版本Git(我使用的是2.2.2),同时将 git-credential-netrc 脚本拷贝到Git安装目录(libexec/git-core)

终于解决“Git Windows客户端保存用户名与密码”的问题

传说中的Git果然名不虚传:速度快,想分就分,想合就合(分支管理方便)…

但有一个地方不爽,很不爽:每次Pull或Push时都要输入用户名与密码,无法保存用户名与密码。

程序员的天性之一 —— 讨厌重复(恨),程序员的天性之二 —— 解决问题(爱),爱与恨的结合就能碰撞出火花 —— 集中精力寻找解决方案(静)。

准备工作:

1. 远离微博(普天之下,最容易让人分心的东西非微博莫属)。

2. 确定路线,这个问题的路线很明显,要分别从服务器端与客户端下手。

开始干活:

1. 先从服务器端下手,下载Bonobo Git Server的源代码看一下服务器端是如何验证的。

web.config中就有答案,原来用的是http basic authentication。

<location path=”Git.aspx”>
<system.web>
<authorization>
<allow users=”?” />
</authorization>
</system.web>
</location>

有了这个答案就可以和服务器端说88,并投入客户端的怀抱…

2. 客户端用的是msysgit TortoiseGit,TortoiseGit只是壳,msysgit才是真相。

pull与push操作实际上都是调用msysgit中的git pull与git push命令,但git命令并没有传递用户名与密码的参数。

怎么办?… 问Google呗,对Google说话要精炼,不能哆嗦,我是这样说的:“git username password”;还是Google给力,第1页最后1条就给出了线索 —— Setup a remote git repository using http with push support and digest auth,见下图:

虽然Google出来的文章是针对Linux的,但不要轻易认为问题是Windows下的,对Linux下的解决方法看都不看一眼。直接找到答案很难,更多的时候我们是在找线索,并在发现的蛛丝马迹中不断地思考可能的解决方法。

这里的“.netrc”就是线索,利用这个线索继续对Google说:“git netrc windows”…

第1页第5个,”Stack Overflow”的大名映入眼帘:

Git – How to use netrc file on windows – Stack Overflow

Google再怎么 1也比不上品牌的力量,看到Stack Overflow,就看到了希望,就有点击的冲动。

点开一看,立即有“百度”(这里是“众里寻她千百度”的缩写)的感觉:

这就是正确答案,我们已经验证过了,下面详细描述一下解决方法:

1. 在Windows中添加一个HOME环境变量,值为%USERPROFILE%,如下图:

2. 在“开始》运行”中打开%Home%,新建一个名为“_netrc”的文件。

3. 用记事本打开_netrc文件,输入Git服务器名、用户名、密码,并保存。示例如下:

machine git.cnblogs.com
login cnblogs_user
password cnblogs_pwd

问题解决,Git更给力了!

.Net缓存管理框架CacheManager

Cache缓存在计算机领域是一个被普遍使用的概念。硬件中CPU有一级缓存,二级缓存, 浏览器中有缓存,软件开发中也有分布式缓存memcache, redis。缓存无处不在的原因是它能够极大地提高硬件和软件的运行速度。在项目开发中,性能慢的地方常常是IO操作频繁的地方,读取数据库是我们常见的消耗性能的地方。这个时候,如果将使用频繁的数据缓存到能够高速读取的介质中,下次访问时,不用再去请求数据库,直接从缓存中获取所需的数据,就能够大大提高性能。这篇文章主要讨论的是在.Net开发中,如何使用CacheManager框架方便的管理项目中的缓存。

一,CacheManager介绍以及优点

CacheManager是开源的.Net缓存管理框架。它不是具体的缓存实现,而是在缓存之上,方便开发人员配置和管理各种不同的缓存,为上层应用程序提供统一的缓存接口的中间层。

下面是CacheManager的一些优点:

  • 让开发人员的生活更容易处理和配资缓存,即使是非常复杂的缓存方案。
  • CacheManager能够管理多种缓存,包含 内存, appfabric, redis, couchbase, windows azure cache, memorycache等。
  • 提供了额外的功能,如缓存同步、并发更新、事件、性能计数器等…

二,CacheManager开始之旅

CacheManager上手还是非常简单的。下面使用内存缓存结合CacheManager的一个实例,能够帮助我们快速的熟悉CacheManager如何使用。

首先在Visual Studio中创建一个Console Application.

使用Nuget为项目添加CacheManager包引用。CacheManager包含了很多的Package. 其中CacheManager.Core是必须的,其它的针对不同缓存平台上有不同的对应Package.

这个Demo中,我们使用内存作为缓存,所以只是需要CacheManager.Core和CacheManager.SystemRuntimeCaching

接着在Main函数中配置好我们的缓存:

复制代码
 1 using System;
 2 using CacheManager.Core;
 3 namespace ConsoleApplication
 4 {
 5     class Program
 6     {
 7         static void Main(string[] args)
 8         {
 9             var cache = CacheFactory.Build("getStartedCache", settings =>
10             {
11                 settings.WithSystemRuntimeCacheHandle("handleName");
12             });
13         }
14     }
15 }
复制代码

上面代码中使用CacheFactory创建了一个名称为getStartedCache的缓存实例,这个缓存实例使用的是SystemRunTime Cache, 内存缓存。一个缓存实例是可以配置多个Handle的,我们可以使用内存来作为存储介质,也可以使用Redis分布式缓存作为存储介质,并且可以同时在一个缓存实例中使用,后面我们再介绍多级缓存的配置和使用。

接下来,我们添加一些测试缓存的代码

复制代码
 1 static void Main(string[] args)
 2 {
 3 
 4     var cache = CacheFactory.Build("getStartedCache", settings =>
 5     {
 6         settings.WithSystemRuntimeCacheHandle("handleName");
 7     });
 8 
 9     cache.Add("keyA", "valueA");
10     cache.Put("keyB", 23);
11     cache.Update("keyB", v => 42);
12     Console.WriteLine("KeyA is "   cache.Get("keyA"));      // should be valueA
13     Console.WriteLine("KeyB is "   cache.Get("keyB"));      // should be 42
14     cache.Remove("keyA");
15     Console.WriteLine("KeyA removed? "   (cache.Get("keyA") == null).ToString());
16     Console.WriteLine("We are done...");
17     Console.ReadKey();
18 }
复制代码

三,CacheManager多级缓存配置

实际开发中,我们常常会需要使用多级缓存。

一种常见的情况是,你有一个分布式式缓存服务器,例如redis,独立的缓存服务器能够让我们的多个系统应用程序都能够共享这些缓存的数据,因为这些缓存项的创建是昂贵的。

和访问数据库相比,分布式缓存速度较快,但是和内存相比,还是不够快。因为分布式缓存使用还需要序列化和网络传输的时间消耗。

这个时候里,做个分级缓存是个好的解决方案,将内存缓存结合分布式缓存使用,使用频率高的数据直接从内存中读取,这将大大提高应用程序的整体性能。

使用内存缓存的读取速度能够达到分布式缓存的100倍,甚至更高。

使用CacheManager, 配置多级缓存是一件非常容易的事情

复制代码
 1 var cache = CacheFactory.Build("myCache", settings =>
 2 {
 3     settings
 4         .WithSystemRuntimeCacheHandle("inProcessCache")//内存缓存Handle
 5         .And
 6         .WithRedisConfiguration("redis", config =>//Redis缓存配置
 7         {
 8             config.WithAllowAdmin()
 9                 .WithDatabase(0)
10                 .WithEndpoint("localhost", 6379);
11         })
12         .WithMaxRetries(1000)//尝试次数
13         .WithRetryTimeout(100)//尝试超时时间
14         .WithRedisBackPlate("redis")//redis使用Back Plate
15         .WithRedisCacheHandle("redis", true);//redis缓存handle
16 });
复制代码

上面代码中,内存缓存和Redis缓存配置部分很容易看明白。但是BackPlate是什么作用? 接下来,我们看看CacheManager中的BackPlate挡板机制。

四, BackPlate解决分布式缓存中的同步问题

对于大型的软件系统,常常都是分为很多独立的子项目,各个子项目为了节约成本或者是方便数据共享,常常会共用同一个分布缓存服务器。这样在使用多级缓存的时候,就有可能出现数据不一致的情况。

假设在系统A中的更新了缓存中的一个数据项,这个时候CacheManager会在A设置的所有的缓存handle中更新改数据,这里也包括了分布式缓存上的数据。但是在系统B中的内存缓存中,还是会存在着旧的未更新的数据。当系统B从缓存中取这条记录的时候,就会出现内存缓存和分布式缓存中的数据不一致的情况。

为了防止这一点,缓存管理器有一个功能叫做cachebackplate将尝试同步多个系统中的缓存。

上面设置的多级缓存中,我们就将redis作为BackPlate的源. 也就是说所有的数据都需要以redis中缓存的数据为蓝本。

在设置redis作为BackPlate之后,同样发生上面的数据不一致的情况的时候,只要redis中的数据被修改了,就会触发CacheManager更新所有系统中的内存缓存中的数据,和redis中的数据保持一致。

同步的工作是如何完成的?

每次一条缓存记录被删除或更新的时候,Cache Manager会发送一个消息,让BackPlate存储这次的数据变化信息。所有其它的系统将异步接收这些消息,并将相应地作出更新和删除操作,保证数据的一致性。

五,ExpirationMode和CacheUpdateMode

涉及到缓存,就必然有缓存过期的问题。CacheManager中提供了一些简单的缓存过期方式设置。

复制代码
1 public enum ExpirationMode
2 {
3     None = 0,
4     Sliding = 1,
5     Absolute = 2,
6 }
复制代码

同时CacheManager还为多级缓存之间设置不同的数据更新策略

复制代码
1 public enum CacheUpdateMode
2 {
3     None = 0,
4     Full = 1,
5     Up = 2,
6 }
复制代码

使用Sliding和Up, 我们我可以为多级缓存设置不同的缓存过期时间,这样使用频率高的数据就能够保存在访问速度更快的内存中,访问频率次高的放到分布式缓存中。当CacheManager在内存中找不到缓存数据的时候,就会尝试在分布式缓存中找。找到后,根据Up设置,会再将该缓存数据保存到内存缓存中。

具体的配置方式如下:

复制代码
 1 var cache = CacheFactory.Build("myCache", settings =>
 2 {
 3     settings.WithUpdateMode(CacheUpdateMode.Up)
 4         .WithSystemRuntimeCacheHandle("inProcessCache")//内存缓存Handle
 5         .WithExpiration(ExpirationMode.Sliding, TimeSpan.FromSeconds(60)))
 6         .And
 7         .WithRedisConfiguration("redis", config =>//Redis缓存配置
 8         {
 9             config.WithAllowAdmin()
10                 .WithDatabase(0)
11                 .WithEndpoint("localhost", 6379);
12         }).
13         .WithExpiration(ExpirationMode.Sliding, TimeSpan. FromHours  (24)))
14         .WithMaxRetries(1000)//尝试次数
15         .WithRetryTimeout(100)//尝试超时时间
16         .WithRedisBackPlate("redis")//redis使用Back Plate
17         .WithRedisCacheHandle("redis", true);//redis缓存handle
18 
19 });
复制代码

六,缓存使用分析

在缓存使用中,对于缓存hit和miss数据态比较关系,这些数据能够帮助我们分析和调整缓存的设置,帮助缓存使用地更加合理。

1 var cache = CacheFactory.Build("cacheName", settings => settings
2     .WithSystemRuntimeCacheHandle("handleName")
3         .EnableStatistics()
4         .EnablePerformanceCounters());

在配置好缓存的Statistic功能后,我们就能够跟踪到缓存的使用情况了, 下面就是分别打印各个缓存handle中的分析数据。

复制代码
 1 foreach (var handle in cache.CacheHandles)
 2 {
 3     var stats = handle.Stats;
 4     Console.WriteLine(string.Format(
 5             "Items: {0}, Hits: {1}, Miss: {2}, Remove: {3}, ClearRegion: {4}, Clear: {5}, Adds: {6}, Puts: {7}, Gets: {8}",
 6                 stats.GetStatistic(CacheStatsCounterType.Items),
 7                 stats.GetStatistic(CacheStatsCounterType.Hits),
 8                 stats.GetStatistic(CacheStatsCounterType.Misses),
 9                 stats.GetStatistic(CacheStatsCounterType.RemoveCalls),
10                 stats.GetStatistic(CacheStatsCounterType.ClearRegionCalls),
11                 stats.GetStatistic(CacheStatsCounterType.ClearCalls),
12                 stats.GetStatistic(CacheStatsCounterType.AddCalls),
13                 stats.GetStatistic(CacheStatsCounterType.PutCalls),
14                 stats.GetStatistic(CacheStatsCounterType.GetCalls)
15             ));
16 }
复制代码

七,结尾

缓存是个好东西,用好了能够极大的提高性能。缓存的使用本身是个很大的话题,这边文章只是从缓存管理这个角度介绍了CachManager的使用。

下面是CacheManager相关的资料和链接:

官方主页

http://cachemanager.net/

源代码

https://github.com/MichaCo/CacheManager

官方MVC项目的Sample

https://github.com/MichaCo/CacheManager/tree/master/samples/CacheManager.Samples.Mvc

最近在思考不同情况下缓存使用的区别问题。对于互联网项目来说,数据的一致性要求常常不太高,缓存管理中,关注点可能在缓存的命中率上。对于应用系统,访问请求不大,但是对于数据的一致性要求较高,缓存中的数据更新策略可能更加重要。

怎样才是好的适合应用系统的缓存设计呢? 如果大家有兴趣,欢迎探讨指教

正则表达式整理

 普通字符

符号 说明
. 除“\n”之外的任何单个字符。要匹配“\n”在内的任何字符,请使用像“(.|\n)”的模式。在中括号表达式时 [.] 只会匹配 .字符,等价于 .
\d 匹配一个数字字符。等价于[0-9]。
\w 匹配包括下划线的任何单词字符。等价于“[A-Za-z0-9_]”
\s 匹配任意的空白符,包括空格、制表符、换页符等等。等价于 [\f\n\r\t\v]。
\f 匹配一个换页符。等价于\x0c和\cL。
\n 匹配一个换行符。等价于\x0a和\cJ。
\r 匹配一个回车符。等价于\x0d和\cM。
\t 匹配一个制表符。等价于\x09和\cI。
\v 匹配一个垂直制表符。等价于\x0b和\cK。

定位符

一个网站如果要求你填写的QQ号必须为5位到12位数字时,可以使用:^\d{5,12}$。因为使用了^和$,所以输入的整个字符串都要用来和\d{5,12}来匹配,也就是说整个输入必须是5到12个数字.

符号 说明
^ 匹配字符串的开始
$ 匹配字符串的结束
\b 匹配单词的开始或结束 例如,“er\b”可以匹配“never”中的“er”,但不能匹配“verb”中的“er”。

字符集合

要想查找数字,字母或数字,空白是很简单的,因为已经有了对应这些字符集合的元字符,但是如果你想匹配没有预定义元字符的字符集合(比如元音字母a,e,i,o,u),应该怎么办?

符号 说明
x y
[xyz] 字符集合。匹配所包含的任意一个字符。例如,“[abc]”可以匹配“plain”中的“a”。
[a-z] 字符范围。匹配指定范围内的任意字符。例如,“[a-z]”可以匹配“a”到“z”范围内的任意小写字母字符。

反义字符

有时需要查找不属于某个能简单定义的字符类的字符。比如想查找除了数字以外,其它任意字符都行的情况,这时需要用到反义

符号 说明
\D 匹配一个非数字字符。等价于[^0-9]。
\W 匹配任何非单词字符。等价于“[^A-Za-z0-9_]”。
\S 匹配任何非空白字符。等价于[^ \f\n\r\t\v]。
\B 匹配不是单词开头或结束的位置。“er\B”能匹配“verb”中的“er”,但不能匹配“never”中的“er”。
[^xyz] 负值字符集合。匹配未包含的任意字符。例如,“[^abc]”可以匹配“plain”中的“p”。

限定符

符号 说明
* 匹配前面的子表达式零次或多次。*等价于{0,}。
+ 匹配前面的子表达式一次或多次。+等价于{1,}。
? 匹配前面的子表达式零次或一次。?等价于{0,1}。
{n} 匹配确定的n次。
{n,} 至少匹配n次。“o{1,}”等价于“o+”。“o{0,}”则等价于“o*”。
{n,m} 最少匹配n次且最多匹配m次。“o{0,1}”等价于“o?”。

贪婪与懒惰

非贪婪模式尽可能少的匹配所搜索的字符串,而默认的贪婪模式则尽可能多的匹配所搜索的字符串。

? 紧跟在任何一个其他限制符 *,+,?,{n},{n,},{n,m} 后面时,匹配模式是非贪婪的。

例如,对于字符串“oooo”,“o+?”将匹配单个“o”,而“o+”将匹配所有“o”

符号 说明
*? 重复任意次,但尽可能少重复
+? 重复1次或更多次,但尽可能少重复
?? 重复0次或1次,但尽可能少重复
{n,m}? 重复n到m次,但尽可能少重复
{n,}? 重复n次以上,但尽可能少重复

分组

符号 说明
\num 匹配num,其中num是一个正整数。对所获取的匹配的引用。例如,“(.)\1”匹配两个连续的相同字符。
$num 替换匹配的引用
(pattern) 匹配exp,并捕获文本到自动命名的组里。在JScript 中则使用 $0…$9 属性
(?exp) 匹配exp,并捕获文本到名称为name的组里,也可以写成(?’name’exp)
(?:pattern) 匹配exp,不捕获匹配的文本,也不给此分组分配组号
(?=pattern) 正向肯定预查,在任何匹配pattern的字符串开始处匹配查找字符串。这是一个非获取匹配,也就是说,该匹配不需要获取供以后使用。例如,“Windows(?=95
(?<=pattern) 反向肯定预查,与正向肯定预查类拟,只是方向相反。例如,“(?<=95
(?!pattern) 正向否定预查,在任何不匹配pattern的字符串开始处匹配查找字符串。这是一个非获取匹配,也就是说,该匹配不需要获取供以后使用。例如“Windows(?!95
(?<!pattern) 反向否定预查,与正向否定预查类拟,只是方向相反。例如“(?<!95

 

正向预查

现在,我们假设需要仅匹配 Windows,不匹配后面的版本号,并且要求 Windows 后面的版本号只能是 数字类型,换言之,XP 和 Vista 不能被匹配,
在正则表达式中,可以使用 正向预查 来解决这个问题。本例中,写法是:“Windows(?= [\d.]+\b)”。
它的语法是在 子模式内部 前面加“?=”,表示的意思是:首先,要匹配的文本必须满足此子模式前面的表达式(本例,“Windows ”);其次,此子模式不参与匹配。

Text:
Windows 1.03 and Windows 2.0 fisrt Released in 1985 and 1987 respectively.
Windows 95 and Windows 98 are the successor.
Then Windows 2000 and Windows Xp appeared.
Windows Vista is the Latest version of the family.

RegEx:
Windows( ?=[\d.]+\b)

Result:(带下划线的为成功匹配的)
Windows 1.03 and Windows 2.0 fisrt Released in 1985 and 1987 respectively.
Windows 95 and Windows 98 are the successor.
Then Windows 2000 and Windows Xp appeared.
Windows Vista is the Latest version of the family.

可以将 正向预查 理解成为自定义的边界(\b),这个边界位于表达式末。

引用

mac 装双系统..

1.U盘格式化为ms-dos(fat)  主引导记录..注意U盘名字不能是中文..否则格式化失败

2.无法创建可引导的USB驱动器—-要先在磁盘工具里面移除 windows 的ISO!

3.按options选项..进入efi硬盘

4.不能装docker  说虚拟化不能开启…任务管理器.cpu可以看到

https://apple.stackexchange.com/questions/120361/how-to-turn-on-hardware-virtualization-on-late-2013-macbook-pro-for-windows-8-1?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

It sounds like you\’re running into the same issue I did, where after booting into Windows the VT-x shows as \’Disabled\’ in Task Manager.

Not sure how or why, but after going into

  • OS X
  • System Preferences
  • Target Disk
  • Select the BOOTCAMP disk as the startup disk

Everything was well after that and I could happily use Hyper-V, even from a cold boot.

If I cold booted using the Options-key, and then selecting Windows, VT-x was disabled in Task Manager.

Go figure. Could some Mac genius out there explain this one?

This thread explains that you have to boot using the CSM-BIOS layer. discussions.apple.com/thread/6720461?tstart=0 ; In addition it also provides a command line to permanently fix this problem. First use diskutil list to work out Windows partition, then sudo /usr/sbin/bless --device /dev/disk0s4 --setBoot --legacy --legacydrivehint /dev/disk0 – Chui Tey Dec 23 \’16 at 23:10

接着上面的说,这个在mac本上就没有BIOS主板系统,但是昂贵的Mac肯定也是有虚拟化服务的~只不过Mac本不是手动启动,而是每次启动完OSX系统自动启动~ 但是如果 第一次启动的是 bootcamp的Windows 系统 那么 这个 虚拟化是启动不了的。。。这时候有一个解决办法就是先启动OSX系统,再更具目标磁盘重启到bootcamp的Windows系统~ 参考下图~

通过这个启动盘重启的Windows虚拟化是 打开的状态~ 如下图

虚拟化状态打开后就可以下载安装 HoloLens 的模拟器了 ~ 而且在开发调试中 也一定要把虚拟化打开