Skip to content

Instantly share code, notes, and snippets.

View Artistan's full-sized avatar

Charles Peterson Artistan

View GitHub Profile
@Artistan
Artistan / add gitlab admin labels.md
Last active January 8, 2021 11:41
Add gitlab labels to your repo from admin labels

in addition to @Xunnamius package. you may use the dbconsole if your are feeling brave and want to check and update just the labels that are off in color or case. Also, I deleted only the labels that did not exist in the admin labels, and then ren teh gitlab-fix-labels ... add all to add the missing labels to all our projects.

login to your server

sudo gitlab-rails dbconsole

template (admin) labels.

@Artistan
Artistan / checkbox.css
Created January 26, 2018 21:12
a fontawesome css checkbox?
/* default setup for fontawesome */
.fafter::before {
font-family: "Font Awesome 5 Pro";
font-weight: 400;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
@Artistan
Artistan / README.md
Created January 25, 2018 17:00
Test javascript link in gist

test javascript link in gist

VU🐓

@Artistan
Artistan / A Link Javascript.md
Last active August 21, 2023 02:35
Add Dark Theme Bookmark
@Artistan
Artistan / A Readme for Adding Certs.md
Last active March 11, 2024 21:12
Add new certificate (cert) from local/internal intranet to your mac

Add a cert to you macbook

USAGE

~/add_cert.sh my.intra.net

you will be asked for your password to add thit to keychain

  • downloads pem file
  • adds to trusted root certificates
@Artistan
Artistan / Ruby Environment.md
Last active January 25, 2018 15:04 — forked from andrewroycarter/Cocoapods Environment.md
Directions on installing chruby, ruby, ruby-build, and bundler.

Setting up a good Ruby environment

Before you start

Make sure that you have the latest version of Xcode installed from the Mac App Store, and that you have the command line tools installed. To install the command line tools, open Xcode, click Xcode->Preferences->Downloads->Command Line Tools

Install brew if needed.

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2017-12-22T13:23:47.2746069</Date>
<Author>Artistan</Author>
<URI>\Startup Slack</URI>
</RegistrationInfo>
<Triggers>
<CalendarTrigger>
<StartBoundary>2017-12-22T08:20:00</StartBoundary>
pertinent to laravel homestead boxes
@Artistan
Artistan / redis_cli_install_update.sh
Last active January 26, 2024 01:08
Install redis-cli on your other machines.
if [[ -d redis ]]
then
cd redis
git pull
else
git clone http://github.com/antirez/redis.git
cd redis && git checkout 4.0
fi
make redis-cli
@Artistan
Artistan / sync laravel files.sh
Last active February 12, 2018 03:06
Sync Laravel
#!/bin/bash
# usage
# ./files.sh root@myserver.com apache:apache
# copy and mode the directory itself, so the . (dot) files are affected also.
# if you try to copy html/*, then the . (dot) files are not always included (depends on system)
read -p "Do you want to overrite EVERYTHING? (Y)" -n 1 -r
echo ""