Skip to content

Instantly share code, notes, and snippets.

View jpmc3630's full-sized avatar
🎯
Focusing

James McGlone jpmc3630

🎯
Focusing
View GitHub Profile
@claytonrcarter
claytonrcarter / README.md
Last active April 27, 2024 04:09
Bash script to check GitLab pipeline status

A super simple bash script to check the status of a GitLab CI pipeline.

$ git push
...
$ git pipeline-status
Status of last pipeline for user/project on gitlab/master:
"pending"
...
$ git pipeline-status
@poul-kg
poul-kg / valet.conf
Last active September 18, 2024 17:32
CORS Rules for Laravel Valet Nginx
# To enable CORS you should add lines with CORS rules below to your valet.conf file
# Find the file /usr/local/etc/nginx/valet/valet.conf - this is Valet conf for Nginx
# of try to execute `locate valet.conf` and find the `valet.coinf` in `nginx` subdirectory
# after you edit your valet.conf do not forget to execute `valet restart`
server {
listen 80 default_server;
root /;
charset utf-8;
client_max_body_size 128M;
@fago
fago / empty.js
Created March 7, 2017 09:46
Empty javascript file
// This file is empty.