Skip to content

Instantly share code, notes, and snippets.

View explooosion's full-sized avatar
🏡
Working from home

Robby explooosion

🏡
Working from home
View GitHub Profile
@explooosion
explooosion / ccdl.command
Created January 20, 2022 12:06
Adobe Offline Package Generator v0.1.4 (macOS only)... Added M1 https://github.com/Drovosek01/adobe-packager if you want to install it another way.
#!/bin/bash
CYAN="$(tput bold; tput setaf 6)"
RESET="$(tput sgr0)"
clear
if command -v python3 > /dev/null 2>&1; then
if [ $(python3 -c "print('ye')") = "ye" ]; then
clear
# Thanks to this post:
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x
$ brew install cabextract
$ cd ~/Downloads
$ mkdir consolas
$ cd consolas
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe
$ cabextract PowerPointViewer.exe
$ cabextract ppviewer.cab
@explooosion
explooosion / motto.md
Last active September 27, 2019 22:51
motto

motto

  • Always google before you start working.
  • Good design is as little design as possible.
  • Never trust the client side.
@explooosion
explooosion / Add a no-cache option to docker-compose build.md
Last active February 1, 2019 17:15
Add a no-cache option to docker-compose build
 docker-compose rm --all &&
 docker-compose pull &&
 docker-compose build --no-cache &&
 docker-compose up -d --force-recreate
@explooosion
explooosion / angular-cli.md
Created December 6, 2018 11:11
Angular CLI command
ng config -g cli.packageManager yarn
@explooosion
explooosion / manifest.json
Created December 4, 2018 07:04
manifest sample file
{
"name": "Magic Leap - Magic Leap",
"short_name": "Magic Leap",
"start_url": "/",
"theme_color": "#fbfafa",
"background_color": "#fbfafa",
"display": "standalone",
"icons": [
{
"src": "/static/icons/android-chrome-36x36.png?v=20171114",
@explooosion
explooosion / git.md
Created September 30, 2018 15:11
git default pull origin master
git config branch.master.remote origin
git config branch.master.merge refs/heads/master
@explooosion
explooosion / repo-reset.md
Created September 7, 2018 09:08 — forked from heiswayi/repo-reset.md
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
@explooosion
explooosion / pr-rule.md
Created August 20, 2018 08:24
Rules for PR

Rules

Commits

  • Use this commit message format (angular style):

    [<type>] <subject> <BLANK LINE> <body>