Skip to content

Instantly share code, notes, and snippets.

View michael-alade's full-sized avatar
🏠
Working from home

Kolawole Michael Alade michael-alade

🏠
Working from home
  • Nigeria
View GitHub Profile
@michael-alade
michael-alade / create_pr.sh
Created September 14, 2024 11:49 — forked from slavingia/create_pr.sh
Create a (draft) pull request using GitHub CLI
#!/bin/bash
# Create a (draft) pull request using GitHub CLI.
# It assigns the PR to the current user, fills in the title from the first commit,
# and uses the PR template file for the description.
set -euo pipefail
# Colors for output
RED='\033[0;31m'
@michael-alade
michael-alade / ffmpeg.md
Created May 26, 2022 23:08 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@michael-alade
michael-alade / clear-browser-cache.js
Created December 3, 2018 16:16 — forked from DavidWells/clear-browser-cache.js
Clear Browser cache. Run in your browsers javascript console
//Cache Buster
(function (){
  var rep = /.*\?.*/,
      links = document.getElementsByTagName('link'),
      scripts = document.getElementsByTagName('script'),
      process_scripts = false;
  for (var i=0;i<links.length;i++){
    var link = links[i],
        href = link.href;
    if(rep.test(href)){
@michael-alade
michael-alade / media-query.css
Created July 17, 2018 22:19 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS