Skip to content

Instantly share code, notes, and snippets.

View maanuanubhav999's full-sized avatar

anubhav_sharma maanuanubhav999

  • sportskeeda
View GitHub Profile
@maanuanubhav999
maanuanubhav999 / java_keytool_cheat_sheet.md
Created April 23, 2024 16:31 — forked from Hakky54/java_keytool_cheat_sheet.md
Keytool Cheat Sheet - Some list of keytool commands for create, check and verify your keys

Keytool CheatSheet 🔐

Some history

This cheat sheet came into life when I started working on a tutorial of setting up one way tls and two way tls, which can be found here: GitHub - Mutual TLS SSL

Creation and importing

Generate a Java keystore and key pair

keytool -genkeypair -keyalg RSA -keysize 2048 -keystore keystore.jks -alias server -validity 3650
@maanuanubhav999
maanuanubhav999 / GSoC-2021-Google-FHIR-SDK-Anubhav-Sharma.md
Last active September 21, 2021 15:02
Work Product - Google Summer of Code 2021 - Google FHIR SDK - Anubhav Sharma
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Buddhiman:create </title>
</head>
<style>
#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the breakingRecords function below.
vector<int> breakingRecords(vector<int> scores) {
int max,min =0;
Collecting mypy==0.600
Using cached mypy-0.600-py3-none-any.whl (1.3 MB)
Collecting typed-ast<1.2.0,>=1.1.0
Using cached typed-ast-1.1.2.tar.gz (202 kB)
Building wheels for collected packages: typed-ast
Building wheel for typed-ast (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/anu/Downloads/work/zulip_api/python-zulip-api/zulip-api-py3-venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nz_16z6c/typed-ast/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nz_16z6c/typed-ast/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-g1air695
cwd: /tmp/pip-install-nz_16z6c/typed-ast/
Complete output (23 lines):
hyr/zephyr_mirror_backend.py:358: error: Argument "input" to "communicate" of "Popen" has incompatible type "str"; expected "Optional[bytes]"
zulip/integrations/zephyr/zephyr_mirror_backend.py:361: error: Incompatible return value type (got "bytes", expected "str")
zulip/integrations/zephyr/zephyr_mirror_backend.py:363: error: Module "zulip" is not valid as a type
zulip/integrations/zephyr/zephyr_mirror_backend.py:365: error: zulip? has no attribute "message"
zulip/integrations/zephyr/zephyr_mirror_backend.py:365: error: zulip? has no attribute "format"
zulip/integrations/zephyr/zephyr_mirror_backend.py:369: error: zulip? has no attribute "opcode"
zulip/integrations/zephyr/zephyr_mirror_backend.py:373: error: zulip? has no attribute "cls"
zulip/integrations/zephyr/zephyr_mirror_backend.py:381: error: zulip? has no attribute "recipient"
zulip/integrations/zephyr/zephyr_mirror_backend.py:388: error: zulip? has no attribute "instance"
zulip/integrations/zephyr/zephyr_mirror_backend.py:390: error: zulip? has no a
@maanuanubhav999
maanuanubhav999 / git_and_github_instructions.md
Created October 31, 2019 02:42 — forked from mindplace/git_and_github_instructions.md
Pushing your first project to github

Make sure git is tracking your project.

  1. Using your terminal/command line, get inside the folder where your project files are kept: cd /path/to/my/codebase.

You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.

Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.

  1. Check if git is already initialized: git status
// Sample code to perform I/O:
#include <stdio.h>
int main(){
int r,c=0;
scanf("%d %d", &r,&c);
int *arr = malloc(r * c * sizeof(int));
scanf("%d",&arr);
@maanuanubhav999
maanuanubhav999 / README.md
Created January 20, 2018 12:27 — forked from hofmannsven/README.md
My simply Raspberry Pi Cheatsheet