Skip to main content

Posts

Showing posts from October, 2018

Side by Side user scoped .NET Core installations on Linux with dotnet-install.sh

I can run .NET Core on Windows, Mac, or a dozen Linuxes. On my Ubuntu installation I can check what version I have installed and where it is like this: $ dotnet --version 2.1.403 $ which dotnet /usr/bin/dotnet If we interrogate that dotnet file we see it's a link to elsewhere: $ ls -alogF /usr/bin/dotnet lrwxrwxrwx 1 22 Sep 19 03:10 /usr/bin/dotnet -> ../share/dotnet/dotnet* If we head over there we see similar stuff as we do on Windows. Basically c:\program files\dotnet is the same as /share/dotnet. $ cd ../share/dotnet $ ll total 136 drwxr-xr-x 1 root root 4096 Oct 5 19:47 ./ drwxr-xr-x 1 root root 4096 Aug 1 17:44 ../ drwxr-xr-x 1 root root 4096 Feb 13 2018 additionalDeps/ -rwxr-xr-x 1 root root 105704 Sep 19 03:10 dotnet* drwxr-xr-x 1 root root 4096 Feb 13 2018 host/ -rw-r--r-- 1 root root 1083 Sep 19 03:10 LICENSE.txt drwxr-xr-x 1 root root 4096 Oct 5 19:48 sdk/ drwxr-xr-x 1 root root 4096 Aug 1 18:07 shared/ drwxr-xr-x 1 root root 4096 Feb

Cisco CCNA Wireless Certification Exam Questions From PrepAway – Build Your Career of Successful Network Engineer

Cisco Corporation offers a scope of products and conveys coordinated solutions to create interface networks around the world. The organization’s exchanging items offer different types of availability to end clients, workstations, Internet Protocol (IP) telephones, wireless access points, and Servers and furthermore work aggregators on Wireless Local Area Network (WLAN). Image Source Description Cisco is a renowned vendor for different certifications tailored to approve the abilities of IT experts in the tech business. Among them is Cisco Wireless Network Associate certification acquired by completing the “Implementing Cisco Wireless Network Fundamentals (WiFUND)” course and Cisco 200-355 exam. CCNA Wireless certification is designed for people who have system administration foundational skills and basically need to find out about wireless systems, especially Cisco Wireless Systems. All through the whole course, candidates get from top to bottom comprehension of systems administrat

Dependabot for .NET Core dependency tracking in GitHub

I've been exploring automated dependency tracking lately. I usually use my podcast's ASP.NET Core website that I host on Github as a guinea pig. I tried Nukeeper and the dotnet outdated global tool - both of which are fantastic and worth exploring. This week I'm trying Dependbot . I have no relationship with this company. Public repos and personal account repos are free and their pricing is very clear and organization accounts start at just $15 with a free trial. I'm really impressed with how clever Dependabot is. It's almost like a person in its behavior. Yes, I realize that's kind of the point, but it's no less surprising to see. A well-written bot is a joy to behold. For example, here is a PR (Pull Request) where Dependbot says "Bumps Microsoft.ApplicationInsights.AspNetCore from 2.5.0-beta1 to 2.5.0-beta2." Basic stuff, right? But that's not all. It not only does the basics where it noticed that a version bump occurred in a NuGet

7 Critical Tips to Learn Programming Faster

Programming is a skill that more and more people have been learning over the past few years. In addition to the hundreds of thousands of Americans who work as computer programmers in the USA, there are thousands and thousands more who program for fun or in their spare time. However, learning this skill can sometimes feel like an uphill battle with a lot to learn and think about. In an effort to help you out, we have decided to craft an article all about providing you with some tips to help you learn programming faster. Image Source Consider Which Language You Will Learn Before even learning to program, you need to choose which programming language you will learn. Now, there is no rule about only having to learn a single language, but when you are just starting, there are some that are easier to learn and might make a better option to start with, such as Python and Java. If you start with a very complex and tough-to-learn language, it may deter you from continuing and getting so

New prescriptive guidance for Open Source .NET Library Authors

There's a great new bunch of guidance just published representing Best Practices for creating .NET Libraries. Best of all, it was shepherded by JSON.NET's James Newton-King. Who better to help explain the best way to build and publish a .NET library than the author of the world's most popular open source .NET library? Perhaps you've got an open source (OSS) .NET Library on your GitHub, GitLab, or Bitbucket. Go check out the open-source library guidance . These are the identified aspects of high-quality open-source .NET libraries: Inclusive - Good .NET libraries strive to support many platforms and applications. Stable - Good .NET libraries coexist in the .NET ecosystem, running in applications built with many libraries. Designed to evolve - .NET libraries should improve and evolve over time, while supporting existing users. Debuggable - .NET libraries should use the latest tools to create a great debugging experience for users. Trusted - .NET libraries hav

C# and .NET Core scripting with the "dotnet-script" global tool

You likely know that open source .NET Core is cross platform and it's super easy to do "Hello World" and start writing some code. You just install .NET Core, then "dotnet new console" which will generate a project file and basic app, then "dotnet run" will compile and run your app? The 'new' command will create all the supporting code, obj, and bin folders, etc. When you do "dotnet run" it actually is a combination of "dotnet build" and "dotnet exec whatever.dll." What could be easier? What about .NET Core as scripting? Check out dotnet script: C:\Users\scott\Desktop\scriptie> dotnet tool install -g dotnet-script You can invoke the tool using the following command: dotnet-script C:\Users\scott\Desktop\scriptie>copy con helloworld.csx Console.WriteLine("Hello world!"); ^Z 1 file(s) copied. C:\Users\scott\Desktop\scriptie>dotnet script helloworld.csx Hello world! NOTE: I was a lit

Django Custom Webpage

In this tutorial, we’re going to create our first custom webpage in django. The main goal of this article for you to understand the whole flow of information in django website like if someone asks for specific url then how do we route them into the correct places and ultimately give them back some HTML. So before starting this article I am assuming that you’ve started the local server using python3 manage.py runserver  command in project directory. We’ve seen that whenever we create a project and run it in browser then django’s default page shows up. That’s isn’t our creation right. So let’s see how to create our own webpage in django. In previous articles, we’ve seen that anytime someone is looking for a URL on our website it comes to this “urls.py”. Currently we’ve path of admin/ in the list urlpatterns. That means when user goes to our website (currently = http://127.0.0.1:8000/)  and add a /admin in the url, user will be redirected to admin page of our django website.

6 Tips to Make Your Business Data Backups Secure

Today’s enterprises are heavily dependent on technology and data to facilitate routine operations. The loss of systems and data can cripple an organization for days and in the worst case, run it out of business. That’s why data backups are so essential. But not just any backup will do. Many business leaders and IT executives believe that the very existence of a process for replicating and storing business data is more than enough to keep the organization’s data secure. As many businesses have learned albeit too late, that can be a catastrophic presumption. Data backups must be properly secured if they are to live up to their purpose. The following are some of the ways you can protect your data backups. Image Source Align Your Policies Accordingly Make sure your enterprise-wide security policies and procedures take into account back-up related considerations. Backups are essentially a replication of production data and systems. Ergo, whether it’s physical security or system acce

Difference between Top-down and Bottom-up Approach in Programming

Here you will learn about difference between top-down and bottom-up approach. Today we are going to have a comparative study of the two approaches being used in field of structured and object oriented programming. We shall start with a brief understanding of the both followed by comparison and conclusion. Image Source When talking in terms of computer science and programming, the algorithms we use to solve complex problems in a systematic and controlled way are designed on the basis of two approaches that is Top-down and Bottom-up approach. The ideology behind top-down approach is, a bigger problem is divided into some smaller sub-problems called modules, these modules are then solved individually and then integrated together to get the complete solution to the problem. In bottom-up approach on the other hand, the process starts with elementary modules and then combining together to get the desired result. Let us now quickly see in brief what these two approaches has to offer, how

Troubleshooting Windows 10 Nearby Sharing and Bluetooth Antennas

When building my Ultimate Developer PC I picked this motherboard, and it's lovely. ASUS ROG STRIX LGA2066 X299 ATX Motherboard - Good solid board with built in BT and Wifi, an M.2 heatsink included, 3x PCIe 3.0 x16 SafeSlots (supports triple @ x16/x16/x8), 1x PCIe 3.0 x4, 2x PCIe 3.0 x1 and a Max of 128 gigs of RAM. It also has 8x USB 3.1s and a USB C which is nice. I put it all together and I've thrilled with the machine. However, recently I was trying to use the new Windows 10 "Nearby Devices" feature. It's this cool feature that lets you share stuff to "Nearby Devices" - that means your laptop, other desktops, whatever. Similar to AirDrop, it solves that problem of moving stuff between devices without using an intermediate server. You can turn it on in Settings on Windows 10 and decide if you want to receive data from everyone or just contacts. So I started using on my new Desktop, IRONHEART, but I kept getting this "Looking for nearb