Skip to content

Instantly share code, notes, and snippets.

View sumanssaurabh's full-sized avatar
🏠
Working from home

Suman Saurabh sumanssaurabh

🏠
Working from home
View GitHub Profile
@sumanssaurabh
sumanssaurabh / 1.md
Created March 31, 2019 22:48 — forked from aziflaj/1.md
Java Tutorials

Java Programming 1: Get started with Java programming

Java is a general-purpose, OOP language designed with the idea of Write Once, Run Anywhere (WORA), meaning that the Java code would work virtually in every computer without the need of re-compilation like C or C++. In order to obtain this unique portability, the computer needs to have the JVM (Java Virtual Machine) installed. Nowadays, Java is the most used programming language in the world, used for almost anything, from embedded programming to large software development, web application development and supercomputers. Java has 3 main implementation named Java EE, Java SE and Java ME meaning respectively Java Enterprise Edition, Java Standard Edition and Java Micro Edition (used in the abbreviated form as J2EE, J2SE and J2ME). Java, firstly developed at Sun Microsystems which merged into Oracle Corporation, was designed with 5 main principles in mind:

  • Simple, object-oriented and familiar

Java makes programming simple using its build-in classes,

@sumanssaurabh
sumanssaurabh / .md
Created March 31, 2019 22:48 — forked from WaltXin/.md
Java Knowledge

Java basic knowledge

Primitive type and Autoboxing/Unboxing

Eg: int vs Integer
int is primitive type, while Integer is a class (eg: Integer.parseInt("1") is a call of Integer's class method)
All primitive type in Java has an equivalent wrapper class:

  • byte -> Byte
  • short -> Short
  • int -> Integer
  • long -> Long
@sumanssaurabh
sumanssaurabh / javacommon.md
Created March 31, 2019 22:49 — forked from rkcb/javacommon.md
Java common

Java common

Strings

Find a substring by a regular expression:

  String pattern = "(.*)(\\d\\d\\d\\d)(.*)";
  String line = "2018-11-22 00:00:00";
 Pattern re = Pattern.compile(pattern);
@sumanssaurabh
sumanssaurabh / introrx.md
Created March 31, 2019 22:50 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@sumanssaurabh
sumanssaurabh / frontendDevlopmentBookmarks.md
Created March 31, 2019 22:51 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@sumanssaurabh
sumanssaurabh / Contract Killer 3.md
Created March 31, 2019 22:53
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@sumanssaurabh
sumanssaurabh / README.md
Created March 31, 2019 22:54 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@sumanssaurabh
sumanssaurabh / SCSS.md
Created March 31, 2019 22:55 — forked from jareware/SCSS.md
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at jrw.fi

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso