Posts

Showing posts with the label CS

Faculty Interview Questions and Answers - A Free Guide for CS/CIS Academic Job Seekers

Image
This is a free reference guide for academic job seekers in computer science and computer information systems. It collects more than 60 common faculty interview questions, with synthesized sample answers and strategic frameworks for responding. It covers the kinds of questions candidates face across the process, from research and teaching statements to service, fit, and the on-campus visit, with guidance on how to structure strong answers. The goal is a single, practical resource to prepare with. It is archived on Zenodo with a citable DOI. DOI: https://doi.org/10.5281/zenodo.20585412

Cybersecurity: Theory, Practice, and Ethics - A Free Open Textbook

Image
Cybersecurity: Theory, Practice & Ethics A free, open, executable textbook — 20 chapters Ethical Hacking Network Defense Forensics Malware Analysis Cryptography ICS Security Cybersecurity: Theory, Practice, and Ethics is a free, open, executable textbook for university-level cybersecurity education. It is published as a Jupyter Book, so the examples are runnable cells rather than printed code, and it is openly archived with a citable DOI on Zenodo. You can read it online at book.com.puter.tips . What is inside The book spans 20 chapters covering the foundations of cybersecurity, ethical hacking, network defense, digital forensics, incident response, malware analysis, privacy law, governance, and industrial control system (ICS) security. Each chapter includes learning objectives, worked code examples, 10 review questions, and a lab assignment. Courses it supports Introduction to IT Security Ethical Hacking Computer and Network Security Fundamentals of Cryptography ...

CPU and Memory Usage in C#

Image
using System; using System.Management; namespace WMISample {      public class MyWMIQuery     {          public static void Main ()         {              try             {                  ManagementObjectSearcher searcher =                      new ManagementObjectSearcher ( "root\\CIMV2" ,                                            ...

Input string was not in a correct format in ASP.NET/C#

Image
ERROR:   Server Error in '/' Application. Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct format. Source Error: Line 31:         int ppi = Convert.ToInt32(Text1.Text); SOLUTION: I tried to change int ppi = Convert.ToInt32(Text1.Text); statement to int ppi = int.Parse(Text1.Text); and int ppi = Int32.Parse(Text1.Text); and int ppi = Int16.Parse(Text1.Text); but it didn't work. The reason was I was using a float value and parsing into an integer one, so I change the erroneous statement to the following, and it worked: float ppi =  float.Parse(Text1.Text);

375 Mime Types for Microsoft IIS (C#)

Image
File Extension Mime Type .323 text/h323 .3g2 video/3gpp2 .3gp2 video/3gpp2 .3gp video/3gpp .3gpp video/3gpp .aac audio/aac .aaf application/octet-stream .aca application/octet-stream .accdb application/msaccess .accde application/msaccess .accdt application/msaccess .acx application/internet-property-stream .adt audio/vnd.dlna.adts .adts audio/vnd.dlna.adts .afm application/octet-stream .ai application/postscript .aif audio/x-aiff .aifc audio/aiff .aiff audio/aiff .appcache text/cache-manifest .application application/x-ms-application .art image/x-jg .asd application/octet-stream .asf video/x-ms-asf .asi application/octet-stream .asm text/plain .asr video/x-ms-asf .asx video/x-ms-asf .atom application/atom+xml ...