Skip to content

Instantly share code, notes, and snippets.

@ZhenDeng
ZhenDeng / Acronyms
Last active February 22, 2024 04:00
DLMA -- Data load and matching application
BAU -- Business as usual
DHP -- DevOps Hosting Platform
IDP -- Internal developer platform
ECIF -- External Controlled, Internet Facing (public load balancers)
ECCF -- External Controlled, CBA Facing (web tier)
iCTR -- Internal Controlled (internal load balancers)
RST -- Restricted (app tier)
SEC -- Secure (database tier)
TLS -- Transport Layer Security
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Amazon.S3;
using Amazon.S3.Model;
namespace S3Operations
{
class CreateObjectTask
{
FileZilla, winscp -- FTP
Postman -- http
progress telerik justdecompile -- decompile dll file
snipping tool -- screenshot
paint.net -- small ps
Definition:
Process: A process is an independent program that runs in its own memory space and has its own resources. It is a self-contained unit of execution with its own state, memory, and system resources.
Thread: A thread is a lightweight sub-process. It is the smallest unit of execution within a process and shares the same resources (like memory space) with other threads in the same process.
Independence:
Process: Processes are independent entities. Each process runs in isolation and does not directly share memory with other processes.
Thread: Threads within the same process share the same memory space and resources, allowing them to communicate more easily and efficiently than processes.
%mat-field-bootstrap {
.mat-form-field-wrapper {
padding-bottom: 0;
}
.mat-form-field-infix {
border: 1px solid #dce6e6;
border-top: 1px solid #dce6e6 !important;
border-radius: 5px;
padding-left: 0.4375rem;
React.FormEvent<HTMLFormElement>
@ZhenDeng
ZhenDeng / 2
Last active August 5, 2022 06:32
Hope you all are doing good!!
After 3 years of exciting and memorable journey with TCS-CBA and almost 9 years with TCS, it is time to move on to explore something new and embark on new opportunities & challenges in my life. Monday (8th Aug) is my last working day at TCS and CBA. While I’m excited about the new opportunity, leaving great working relationships like this one is definitely sad.
Throughout my years with CBA, I have worked with the amazing people, I am taking with me a wealth of learning and experience as well as cherish some very good memories of the past that we have worked together. My sincere gratitude to all my TCS and CBA colleagues, mentors and leaders who were with me in this journey; who trusted me, encouraged me and always had my back. 
While I am excited about my next adventure, I will be missing all the wonderful talented friends I have worked with. The world is small enough and hopefully, we will meet again.
Wishing you all the best in your future endeavours.
public enum WebMethods
{
GET,
POST
}
public static T GetJsonResult<T>(string baseUrl, WebMethods method, dynamic queryParameters = null, dynamic bodyContent = null, dynamic token = null) where T : new()
{
string url = string.Empty;
if (queryParameters != null)
Angular 2+
ng.probe($0).componentInstance
AngularJS
angular.element($0).scope()
angular.element($0).injector().get('')
import { Directive, OnInit, HostListener, Output, EventEmitter, Input } from '@angular/core';
import { Subject, Subscription } from 'rxjs';
import { debounceTime } from 'rxjs/operators';
@Directive({
selector: '[appDebounceClick]'
})
export class DebounceClickDirective implements OnInit {
@Input() debounceTime = 500;