create or replace database wp_site3 character set utf8mb4 collate utf8mb4_unicode_520_ci;
create or replace database wp_site4 character set utf8mb4 collate utf8mb4_unicode_520_ci;
create or replace database wp_site5 character set utf8mb4 collate utf8mb4_unicode_520_ci;
create or replace database wp_site6 character set utf8mb4 collate utf8mb4_unicode_520_ci;
create or replace database wp_site7 character set utf8mb4 collate utf8mb4_unicode_520_ci;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 1. Retrieve `thread_id` 1ykhop6itgiao6rxyqu10a5g and share your request and the API response. | |
*/ | |
import nylas from "./index.js"; | |
const thread = await nylas.threads.find("1ykhop6itgiao6rxyqu10a5g"); | |
console.log(thread); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Clones/refreshes repositories for VIP premier sites (production environments) | |
# Dependencies: jq, git, vipgo | |
vipgo api GET "/sites?pagesize=550&support_package=enterprise%20support&environment_name=production" > ./premier-production-environments.json | |
sites=$( jq -cr '.data[] | @base64' ./premier-production-environments.json ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Hide the default tabs toolbar | |
* I manage tabs as a sidebar using Sidebery addon: https://addons.mozilla.org/en-US/firefox/addon/sidebery/ | |
*/ | |
#main-window[tabsintitlebar="true"] #TabsToolbar > .toolbar-items { | |
opacity: 0; | |
pointer-events: none; | |
} | |
#main-window:not([tabsintitlebar="true"]) #TabsToolbar { | |
visibility: collapse !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The full project features a page builder on the backend, with various "Flexible Components" | |
the user can select from to build their page. Each of these corresponds to a Vue compoennt | |
on the frontend. | |
There are two ways to use the component: | |
- Manually use a specific Flex component | |
- Automatically load all Flex components (when used on page that supports it) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name climb.localhost *.climb.localhost; | |
root /home/curtis/Wordpress; | |
listen 80; | |
listen [::]:80; | |
# Catch all php files first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup variable extra_args with -newer argument if our tracking file exists | |
# Find all files with extension jpg/jpeg/png, case insensitive | |
# For jpg/jpeg, execute jpegoptim | |
# For png, execute pngquant | |
# Log output to compress-all-images.log | |
# https://stackoverflow.com/questions/38965254/jpegoptim-save-shell-last-run-and-check-files-or-folders-after-this-date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Fix Wireless Driver on Lenovo IdeaPad Yoga 13 | |
# Realtek Semiconductor Corp. RTL8723AU 802.11n WLAN Adapter | |
# SUCCESSFUL on Ubuntu 16.04. | |
# FAILED on Ubuntu 16.10, and 17.04. | |
# On 16.04, Wireless is (usually) able to connect, albeit at <1 Mbps. | |
# Enough to install git and clone the driver repo. | |
# If not, will have to use a good ol' USB drive. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, | |
// Auto-space within parentheses | |
{ "keys": [" "], "command": "insert_snippet", "args": {"contents": " $0 "}, "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\($", "match_all": true }, | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^\\)", "match_all": true } | |
] | |
}, |
NewerOlder