Skip to content

Instantly share code, notes, and snippets.

View dgikonyo's full-sized avatar
💻
Currently doing some discovery.

Gikonyo Kimani dgikonyo

💻
Currently doing some discovery.
View GitHub Profile
@dgikonyo
dgikonyo / arch_cheatsheet.txt
Created December 27, 2022 12:40 — forked from yufengwng/arch_cheatsheet.txt
Arch Linux Commands Cheatsheet
pacman
======
view logs: /var/log/pacman.log
update system
# pacman -Syu
list installed packages
# pacman -Q
@dgikonyo
dgikonyo / Response.php
Created October 14, 2022 06:58 — forked from jeffochoa/Response.php
Laravel HTTP status code
<?php
// This can be found in the Symfony\Component\HttpFoundation\Response class
const HTTP_CONTINUE = 100;
const HTTP_SWITCHING_PROTOCOLS = 101;
const HTTP_PROCESSING = 102; // RFC2518
const HTTP_OK = 200;
const HTTP_CREATED = 201;
const HTTP_ACCEPTED = 202;