Skip to content

Instantly share code, notes, and snippets.

  1. Introduction to Version Control:

    • Explain the purpose of version control systems and why they are important.
    • Highlight the benefits of using Git and GitHub for collaborative development.
  2. Git Basics:

    • Explain the fundamental concepts of Git, such as repositories, commits, branches, and the working directory.
    • Discuss the difference between local and remote repositories.
  3. Installing Git:

@noob-master147
noob-master147 / loki.yaml
Created May 23, 2022 18:32
loki and promtail conf
auth_enabled: false
server:
http_listen_port: 3100
ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
@noob-master147
noob-master147 / issue.json
Created February 22, 2022 08:22
JIRA Issue changelog
{
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations,customfield_10010.requestTypePractice",
"id": "10000",
"self": "https://spiked.atlassian.net/rest/api/2/issue/10000",
"key": "IM-1",
"changelog": {
"startAt": 0,
"maxResults": 5,
"total": 5,
"histories": [
@noob-master147
noob-master147 / openapi.yaml
Created January 19, 2022 09:43
insomnia spike open api
openapi: '3.0.2'
info:
title: Spike.sh API
description: Integrate Spike.sh with your API
version: '1.0.0'
servers:
- url: http://localhost:2222/
- url: https://api.spike.sh/
components:
parameters:
\:root
// bootstrap colors
--textColor: #212529
--light : #f8f9fa
--blue : #007bff
--hover-blue : #1caaff
--white : #fff
--light-blue : #E5F2FF
--dark-blue : #205493
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"themeColor": "0076D7",
"summary": "New incident " + `${incident.counterId}`,
"sections": [{
"activityTitle": this.getTitle(incident),
"activitySubtitle": "Spike.sh Alert",
"activityImage": "https://gblobscdn.gitbook.com/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Favatar.png?alt=media",
"facts": [
@noob-master147
noob-master147 / test.txt
Last active May 24, 2021 04:40
uptime.com
{
data: {
service: { id: null },
account: {
id: 150043,
name: 'Spike.sh',
brand: 'uptime',
timezone: 'GMT',
site_url: 'https://uptime.com'
},
let body = {
event: "check.down",
check: {
url: "https://js.stripe.com/v3/",
status: 502,
down: true,
date: 1556506024291,
downtime: 1
},
pings: [{
{
organization_name: 'spike1',
webhook_event_id: 5374391,
organization_id: 157905,
webhook_type: 'AL',
webhook_event_data: {
check_state_name: 'Available',
check_computed_target_response_time: 1000,
application_id: 156939,
recently_started_check_state_name: null,