Skip to content

Instantly share code, notes, and snippets.

@Garbee
Garbee / CLA.md
Created September 1, 2022 13:33
Project Rabia - Web Component CLA List

Individual Contributor License Agreement

========================================

Thank you for your interest in Project Rabia (the "Company"). In order to clarify the intellectual property license granted with Contributions from any person or entity, the Company must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Company and its users; it does not change your rights to use your own Contributions for any other purpose.

You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Company. In return, the Company shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its bylaws in effect at the time of the Contribution. Except for the license granted herein to the Company and recipients of software distributed by the Company,

#!/usr/bin/env bash
pathToMove="$1"
if [ ! -d "$pathToMove" ]; then
echo 'Path does not exist'
exit 1
fi
function moveFile() {
CREATE OR REPLACE FUNCTION updated_timestamp()
RETURNS TRIGGER AS $$
BEGIN
IF row(NEW.*) IS DISTINCT FROM row(OLD.*) THEN
NEW.updated_at = now();
RETURN NEW;
ELSE
RETURN OLD;
END IF;
END;
@Garbee
Garbee / node.sh
Created July 15, 2014 14:21
install node
curl https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh | bash
source ~/.bashrc #.bash_profile,whatever
nvm install 0.10
nvm alias default 0.10
npm install -G nodejs
#complete and happy
@Garbee
Garbee / mariadb_basics.md
Created July 2, 2014 10:18
MariaDB basics

Create Database

CREATE DATABASE {table name};

Create User

CREATE USER '{user name}'@'localhost' IDENTIFIED BY '{pass}';
[Desktop Entry]
Version=1.0
Type=Application
Name=RuneScape
GenericName=RuneScape
Comment=RuneScape - A Free MMORPG from Jagex Ltd.
Icon=runescape
Terminal=false
Exec=runescape %u
Categories=Game;
  1. Open the start menu
  2. Type cmd and look for the Command Prompt entry
  3. Right click that and run it as an Administrator
  4. Run the following commands in order (capitalization does matter).
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
diff --git a/src/components/Editor/SearchBar.css b/src/components/Editor/SearchBar.css
index 71438b56..872834cb 100644
--- a/src/components/Editor/SearchBar.css
+++ b/src/components/Editor/SearchBar.css
@@ -14,12 +14,6 @@
.search-field .close-btn {
margin-top: 7px;
- display: inline-flex;
-}
#!/bin/bash
packages="gconf-service
libasound2
libatk1.0-0
libc6
libcairo2
libcups2
libdbus-1-3
libexpat1

Title

Chrome without chrome

Description

Automating tasks is one of the best ways to improve our workflows. Puppeteer is a new tool from the Chrome team to help with headless browser automation. Learn how to take advantage of this API and get your questions answered by joining us for Chrome without chrome.