Skip to content

Instantly share code, notes, and snippets.

View mikhael7's full-sized avatar
⌨️
Studying

Mikhael mikhael7

⌨️
Studying
View GitHub Profile
@mikhael7
mikhael7 / .skhdrc
Created August 18, 2022 17:32 — forked from shth/.skhdrc
skhd config
# ################################################################ #
# THE FOLLOWING IS AN EXPLANATION OF THE GRAMMAR THAT SKHD PARSES. #
# FOR SIMPLE EXAMPLE MAPPINGS LOOK FURTHER DOWN THIS FILE.. #
# ################################################################ #
# A list of all built-in modifier and literal keywords can
# be found at https://github.com/koekeishiya/skhd/issues/1
#
# A hotkey is written according to the following rules:
#
@mikhael7
mikhael7 / react-axios-multipart-formdata-file-submission.js
Created August 14, 2022 16:29 — forked from b-juravic/react-axios-multipart-formdata-file-submission.js
React-Axios-multipart/form-data: Sample React form component for sending multipart/form-data via Axios POST request
import React, { useState, useRef } from "react";
import axios from 'axios';
const API_BASE_URL = "http://localhost:3001";
/** FileUploadForm
*
* Form that allows user to upload a file as input.
*
@mikhael7
mikhael7 / laravel-artisan-cheatsheet
Created December 16, 2021 10:28 — forked from hoandang/laravel-artisan-cheatsheet
Laravel artisan cheatsheet
Available commands:
clear-compiled Remove the compiled class file
down Put the application into maintenance mode
env Display the current framework environment
help Displays help for a command
inspire Display an inspiring quote
list Lists commands
migrate Run the database migrations
optimize Cache the framework bootstrap files
serve Serve the application on the PHP development server
@mikhael7
mikhael7 / ssh_authentication.txt
Created November 29, 2021 05:47 — forked from ddeveloperr/ssh_authentication.txt
Test your ssh terminal connection with github account, (ssh authentication)
1. You mast have a public key from your mashine stored on github as SSH key here:
https://github.com/settings/ssh
How to create ssh key on unix/mac os x:
- Open terminal, go to the root typing: $ cd ~ (recommended)
- Type: ssh-keygen -t rsa -C "your@email.address"
- To secure your ssh key ststem will ask you for passphrase (recommended) but you can skip it also
- That's you have the ssh key
- Check it with: $ ls -al ~/.ssh