Posts

Showing posts from 2020

Import CSS based on Device Size

  Loading on Desktop < link rel = "stylesheet" media = "screen and (min-width: 601px)" href = "desktop.css" /> Loading on Mobile Screen < link rel = "stylesheet" media = "screen and (max-width: 600px)" href = "mobile.css" />

6 Ways to Be a Project Leader

Image
  A great project manager is a difference-maker. I owe much of the success of my various ventures (one a turn-around, the other an intrapreneurial initiative inside one of the world’s great firms), to a few remarkable professionals who rescued us from ourselves and helped us seize success from the jaws of near certain defeat. These individuals taught us how to perform, guided us through the sticky spots and ultimately kept us from beating ourselves. In other words, they led. In a world of work now dependent upon projects for everything from new product and service development, to process improvement initiatives, to infrastructure development and implementation, and even strategy execution, cultivating project management competence is no longer optional in our organizations. As the stakes for project success loom larger, the role of the project manager is less about managing the mechanics of the initiative and more about leading others and forming and framing the environment necessa...

Split String into string Array using c#

e.g : string emopt="3:13:250000:2.13";  List<string> ArrEMISingle = new List<string>(emopt.Split(new string[] { ":" }, StringSplitOptions.None));   foreach (var emopt in ArrEMI)                     {                         if (emopt != "")                         {                             List<string> ArrEMISingle = new List<string>(emopt.Split(new string[] { ":" }, StringSplitOptions.None));                             var duration = ArrEMISingle[0];                             var interest = ArrEMISingle[1];                   ...

Get Device Type C# Asp.Net

 public static bool IsMobileBrowser()     {         bool IsMobileDevice = false;         try         {             HttpContext context = HttpContext.Current;             if (context.Request.UserAgent != null)             {                 if ((context.Request.UserAgent.ToLower().Contains("mobile") || context.Request.UserAgent.ToLower().Contains("android")))                 {                     //IsMobileDevice = true;                     IsMobileDevice = IsTablet(context.Request.UserAgent.ToLower(), true);                 }             }         }   ...

CSS Media Query Targetting Device

/*# Mobile*/ @media only screen and (min-width: 480px) { } /*# Tablet*/ @media only screen and (min-width: 768px) { } /*# Desktop*/ @media only screen and (min-width: 992px) { } /*# Huge*/ @media only screen and (min-width: 1280px) { }

How to Become a Freelance Programmer in 2020?

Image
What could be better than being your boss? You could work at a time that is convenient for you and work with people that you want to work with. You could also take holidays whenever you wanted to or even work 24/7 to expand your career. Whatever you want to do, you can do it as a freelance programmer. However, you should also keep in mind that while freelancing provides you total freedom to shape your career, you also need to be disciplined, hardworking, and invest a substantial amount of time before you see great results. But you WILL see great results in the long term if you keep working! 1. Learn the required Programming Languages What is the most important thing you need to know to become a freelance programmer in 2020? It’s programming languages of course! How can you offer your services as a freelance programmer if you are not an expert in at least one programming language? That is the fundamental requirement for becoming a successful freelance programmer. Currently, some...