How to change dns in Android Studio? - dns

I want to change the user's dns by clicking on a special button!
Something like DNS Changer
And https://play.google.com/store/apps/details?id=com.burakgon.dnschanger&hl=en_US&gl=US OR https://dl-electro-back.apps.ir-thr-at1.arvan.run/app/android/Electro.apk
Set Android IP,DNS,GATEWAY setting programmatically
I tried this but it did not work!

Related

PJS.Bootstrap Orchard Theme Settings

I'm trying to use the PJS.Bootstrap Theme in Orchard. After I've enabled the module I can see a "Theme-Bootstrap" menu option under Settings on the Dashboard. When I click that menu item, all I see is Settings page with just a "Save" button and nothing else.
I'm expecting to see something where I can switch between different CSS styles. When I look at the source for the Theme I'm seeing items like cosmo, cyborg, darkly, etc.
Is there something else I need to do to get the PJS.Bootstrap Theme to show Settings? I'm using Orchard v.1.10.1
Thanks!
You'll probably need to upgrade the module to .NET 4.5.2, it is currently at 4.5.1. So if you add the theme to your themes folder and add it in Visual Studio, then right click the project and select Properties, here you can change the .NET version. You'll probably also need to remove the references to JetBrains in the BootstrapThemeSettingsPartHandler.cs class.

Adding website to IIS

So, I did something and my localhost website gave me a 500 error. Couldn't figure it out so I figured I'll delete the website in IIS and then re-add it. Apparently that was a mistake. I can't see the added website locally anymore. I seem to recall having to add a permission or something to be able to view it in localhost but for the life of me I don't remember what setting that was and I can't find it online. Any ideas? My other local website still displays fine ... Using Windows 8 IIS 8.5
I'm simply going to Add Website > putting in the site name and changing the port number. I've left the IP address alone to All Unassigned (I just want to view in as localhost:24)
Adding website in IIS:
1. Right Click the Sites Folder image.
2. Add website.
3. Enter Site name.
4. On physical path textbo, Locate where do you want to store your website.
5.Assign a port.
then done.
After creating.
1. Select website created.
2. Open Directory Browsing.
3. On the right side click disable.
Make sure in application pool that your website has same framework set up.

Cygwin no available download site

I have tried from my office it show available download site. Then I used same installer (setup-x86_64.exe) at home it not show anything. Both my pc (office and home) i set up google dns. Is it because im using wireless connection at home? Please advise. Thank you.
I had the same issue. i changed my setting in "Select Your Internet Connection" to "Use Internet Explorer Proxy" instead of "Direct Connection".It worked like a charm. I guess the issue is due to the proxy layer at work.
Just go to website
https://cygwin.com/mirrors.html
Chose the mirror web address nearest to you by clicking right and select the option "SAVE LINK ADDRESS" from the menu.
Paste it into the "USER URL" then click "ADD" and press "NEXT". Hope it will work. Good Luck.......!
I just met the same problems. At the very beginning, I chose the first option which is directly connect, but I can not get any downloading websites as the image showed above. Then I tried to back and chose the second one which is select your internet collection, the same result is displayed on the screen.
The solution is that we have to restart the installer and directly choose the second option. If you still don't get any websites, please be patient, try one more but still need to restart the installer. I just tried three times, maybe four times, which I can not remember, but it worked finally.
Hoped that can help you guys.
Had the same error today, my solution was to :
move the setup-x86_64.exe out of the Download folder into e.g. c:\tmp
i think the cygwin setup process has some problems with creating a temporary file in the same directory of its installer due to a lack of permissions and does not show an error message
The solution for me was enabling TLS 1.2 support in Internet Properties. But hold on! You'd better update your Windows before, because there is an update that enables support for this protocol by default. If you don't want to update your Windows, for reasons, follow these steps:
Go to Internet Properties, you can find this in start menu, in control panel, or hit Win + R and run: Inetcpl.cpl.
Go to "Advanced" tab.
Scroll to "Security" section.
Check Use TLS 1.2 option.
Run Cygwin installer again and now it should work. If not, maybe try with other security options.
How did I find out this
After a few failed install attempts, I decided to look for some hints in Event Viewer, and to my surprise, I found them. In System logs I spot lots of errors from Schannel service with a meaningless description:
The following fatal alert was received: 70.
I Googled for further explanations. Errors like these are caused by SSL failures, so something wrong was happening between Cygwin installer and Cygwin site. Something in my head told me to check Internet Properties for options relating to security, so I did and I found disabled protocols.
Step1: select use internet setting.
Step2: "http://cygwin.refractal.net/" add this URL.
This works for me.
Also, https://cygwin.com/mirrors.lst has several alternate URL's, depending upon the request location (your location).
I do not have admin privileges on this windows 10 host, but this worked:
setup-x86_64.exe -B -O -s http://mirror.clarkson.edu/cygwin
which allowed me to install cygwin from that one mirror site.
Do you have K9 filter installed by any chance ? I have the same problem posted, but I do know my issue is the K9 filter.
Add one of the site in http://cygwin.com/mirrors.lst manually
and select one of the internet connection type which is appropriate for your internet connection. and proceed...it worked for me
i found a solution to this problem:
first, go to https://cygwin.com/mirrors.html , look for your location and click onto the FTP link.
Then, you should see 4 folders:
noarch,
unsupported,
x86,
x86_64
click on "go back" or something like this (go back 1 folder).
Then you should see a many folders. Search the"cygwin" folder and simply drag it to your desktop. Now you should have a shortcut to this FTP Folder. Now, right-click the shortcut and click onto "properties" and copy the URL.
Now, you can open the installation program.
Click on "Install from Internet",
All Users / Just Me (your choice),
Use System Proxy Settings.
Now you will get an error message (if you already got that error, it wont show up again). Ignore the error and it will ask you for "available Download Sites".
Paste the URL from the shortcut into the "User URL" and click on "add".
Then, a "Select Package" Window will show up. click on "all" and then on "next".
Finished!
(Im using firefox and windows 7 32bit VM VB)
Now some guys will ask: Why didnt you just put the ftp link directly into the setup?
Well, i tried that and setup crashed on me every single time. With the shortcut it worked fine.
I hope this will help. (my english skills are trash, i know)
"Run as administrator" did the trick for me ....
(Win 7) If run without the list is blank, for whatever reason admin privileges are needed for the mirror list to load.
In Select Connection Type Page, Select Direct Connection and click Next
User URL text box ftp://cygwin.mirrors.pair.com and Click Add
Select the same URL from Available Download Sites list and proceed Next.
It worked for me.
I had the same issue. Disabling kaspersky solved it. There are a list of programs known to interfere with cygwin functionality. Please find the list here here(4.44)
Solution
Put one of mirrors to the URL window of installer.
If list of mirror urls is not available, use the below link to get list of
mirror urls
Also here is working mirror url
A silly problem-solution with the same symptoms, sharing for future reference - I was using an old installer, downloading the latest version fixed this immediately
You Should try adding this site
it is working for me.
Japan: ftp.iij.ad.jp(ftp), ftp.jaist.ac.jp(ftp), ftp.yz.yamagata-u.ac.jp(ftp), ftp.iij.ad.jp(http), ftp.jaist.ac.jp(http), ftp.yz.yamagata-u.ac.jp(http)

Visual Studio 2012 run current selected webform

Really dumb question but it's annoying me because my VS2012 use to work like this:
When I run debug on the web application it used to open the current selected webform in the editor in the web browser.
Now the only way to change which one opens in the browser is that I must go to the webform I am busy on and click "Set As Start Page".
This makes it quite hard when I am working on multiple pages.
Please can someone tell me what setting I must change in VS to get it to work like it use to?
To change the startup options of a web application goto:
Project->Properties->Web-> Select Current Page.

Dreamweaver - template not recognising child files until they are opened

I've got a new section for a website which I have generated for a data source and it has markup for using a Dreamweaver template.
When I add the new files and folders to the site , then update my template , it doesn't find the new files to update.
If I open one of the new files , make a change in the template , then it recognises the new file is using the template. So it's almost like I have to touch all the files with Dreamweaver first.
I've tried to open all the new files which need to use the template but then Dreamweaver CS4 crashes, I presume because of the number of files it's opening.
Anyway, does anyone know if there is a way to make Dreamweaver recognise that a block of new files belong to the template , it doesn't seem to just work automatically
Thanks
Chris
You can force Dreamweaver to recreate it's site cache, which should cause it to recognize the newly added files. You can do this by going to:
Site -> Advanced -> Recreate Site Cache
Or on the Files panel, click the Options menu on the upper right of the panel, select Site -> Recreate Site Cache.
If Recreate Site Cache is disabled in the Site menu or on the Files panel options menu, then the site cache has been disabled in the site definition. Go to: Site -> Manage Sites..., select your site, and click Edit. IN Dreamweaver CS4 on the Local Info category, there is a Enable Cache checkbox, check it and click OK. IN Dreamweaver CS5, you'll need to expand the Advanced Settings, and then select Local Info, and check the Enable Cache checkbox.

Resources