Skip to content

Instantly share code, notes, and snippets.

View atul161's full-sized avatar
👨‍💻
Coder | Ambivert | Team Lead ! Solving real world problems!

atul anand atul161

👨‍💻
Coder | Ambivert | Team Lead ! Solving real world problems!
  • Flam
  • Gurgaon
  • 06:24 (UTC -12:00)
View GitHub Profile
@ThomasGorisse
ThomasGorisse / SceneViewRecorder.kt
Last active March 17, 2023 12:28
SceneView Android screenshot and video screen recorder
package com.gorisse.thomas.arcamera
import android.Manifest
import android.content.ContentValues
import android.content.Context
import android.content.Intent
import android.content.res.Configuration
import android.graphics.Bitmap
import android.hardware.display.DisplayManager
import android.media.CamcorderProfile
@Theo6890
Theo6890 / rarible_mint_sell.js
Created December 4, 2021 03:26
Lazy mint & list NFT asset with sell order using ethers & IPFS via Rarible SDK
require("dotenv").config();
const { EthersEthereum } = require("@rarible/ethers-ethereum");
const fetch = (...args) =>
import("node-fetch").then(({ default: fetch }) => fetch(...args));
global.FormData = require("form-data");
global.window = {
fetch: fetch,
dispatchEvent: () => {},
};
@Beyarz
Beyarz / guide.md
Last active November 30, 2021 17:37
Install the Apache Web Server on Ubuntu

Install apache web server

sudo apt update

sudo apt install apache2

List the ufw application profiles by typing:

sudo ufw app list

Install and use SonarQube for Deep Code Quality Analysis

Used to show the Graph, Reports in GUI format ==> SonarQube Server

  • $ docker pull sonarqube:7.9.4-community
  • $ docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:7.9.4-community
  • Log in to http://localhost:9000
    • login=admin
    • password=admin
  • create new project
@gitanshu
gitanshu / hello_prefect.py
Last active April 1, 2022 12:46 — forked from ryanjulian/hello_prefect.py
Prefect + dask.distributed Quickstart
import time
from prefect import task, Flow
from prefect.engine.executors import DaskExecutor
from prefect.environments import LocalEnvironment
from prefect.utilities.logging import get_logger
logger = get_logger('dask-example')
executor = DaskExecutor(address='tcp://localhost:8786')
@LouisSung
LouisSung / .commitlintrc.js
Last active October 8, 2021 08:53
Strict ESLint and commitlint rules (configs) for NestJS (move to: https://github.com/LouisSung/TypeScript-Linter_and_Git_Hooks)
/**
* @file [commitlint Config] Strict commitlint rules for Sysmaker API
* @version v1.0.0
* @author LouisSung
* @license MIT
* @see https://commitlint.js.org/#/reference-rules
* @see https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/rules/src
* @see https://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/config-conventional/index.js
* @see https://medium.com/@peter3036200/git-cz-%E8%A6%8F%E7%AF%84%E4%BD%A0%E7%9A%84-commit-%E8%A8%8A%E6%81%AF-9bd8f91b3267
*/
//syntax proto3 will tell the compiler that we are using 3rd version
//of protocol buffers.
syntax = "proto3";
message Employee{
string name = 1;
int32 id = 2;
string email = 3;
}