Skip to content

Instantly share code, notes, and snippets.

View aneesahammed's full-sized avatar
:electron:
coding..

Anees Ahammed aneesahammed

:electron:
coding..
View GitHub Profile
@aneesahammed
aneesahammed / rsuite.js
Created March 12, 2024 16:05
rsuite-table issue
import React, { useState } from "react";
import {
Box,
Text,
Button,
Modal,
ModalOverlay,
ModalContent,
ModalHeader,
ModalFooter,
@aneesahammed
aneesahammed / task-report.md
Created June 15, 2021 08:54
Task report template
name about title labels assignees
Task Report
Create a report to help us improve
/bug/hack/automation/utility
@aneesahammed
aneesahammed / deploy.yml
Created April 15, 2021 12:25
GitHub Action file to deploy Hugo
# This is a basic workflow to help you get started with Actions
name: Deploy
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: master
curl --location --request POST 'https://getnif.vercel.app/api' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
123456789,
987654321,
136695973,
"",
null,
"zyxzxcvzxv"
import NextLink from "@next/link"
import { Link } from "@chakra-ui/core"
<NextLink href="/post/[pid]" as={`/post/${pid}`}>
<Link>Post {pid}</Link>
</NextLink>
@aneesahammed
aneesahammed / readme.md
Created September 11, 2020 15:26 — forked from vishnuhd/readme.md
Create Jenkins pipeline using REST api and CURL
  • Get the config.xml from a pre-created job or create another one according to the need :
➜  curl -X GET http://localhost:8080/job/test-pipeline/config.xml -u admin:admin -o config.xml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1599  100  1599    0     0  18518      0 --:--:-- --:--:-- --:--:-- 18593
  • Generate Crumb :
➜ CRUMB=$(curl -s 'http://localhost:8080/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)' -u admin:admin)
@aneesahammed
aneesahammed / commit-msg
Created March 20, 2020 19:43
Git commit-msg hook to validate for rally/agile central user-story/defect reference
#!/bin/bash
# Aborts commit if commit-message is unsatisfactory.
# Standard commit format for CA Agile Central "US12345 your-commit-message.."
# regex to validate commit message
commit_standard_regex='^(US|DE)[0-9]{5,7} .+$'
error_message="Aborting commit. Please ensure your commit message meets the
standard requirement. 'UserStoryID# Commit-Message'"

Keybase proof

I hereby claim:

  • I am aneesahammed on github.
  • I am aneesahammed (https://keybase.io/aneesahammed) on keybase.
  • I have a public key ASCEHtplO7cue9hwuQoEyvcgznh2M84xWhdlFf5UQJA2YQo

To claim this, I am signing this object:

@aneesahammed
aneesahammed / devcamper_specs.md
Created December 10, 2019 19:42 — forked from bradtraversy/devcamper_specs.md
Specs for Devcamper Udemy course project

DevCamper Backend API Specifications

Create the backend for a bootcamp directory website. The frontend/UI will be created by another team (future course). The html/css template has been created and can be used as a reference for functionality. All of the functionality below needs to be fully implmented in this project.

Bootcamps

  • List all bootcamps in the database
    • Pagination
    • Select specific fields in result
    • Limit number of results
  • Filter by fields
@aneesahammed
aneesahammed / Instructions.md
Created December 8, 2019 18:17 — forked from pgilad/Instructions.md
Git commit-msg hook to validate for jira issue or the word merge

Instructions

  • copy the file commit-msg to .git/hooks/commit-msg
  • make sure your delete the sample file .git/hooks/commit-msg.sample
  • Make commit msg executable. chmod +x .git/hooks/commit-msg
  • Edit commit-msg to better fit your development branch, commit regex and error message
  • Profit $$

Shell example