This file contains 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
{ | |
"compilerOptions": { | |
"target": "esnext", | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"esnext" | |
], | |
"allowJs": true, | |
"skipLibCheck": true, |
This file contains 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
controller: | |
config: | |
client-body-buffer-size: "32M" | |
proxy-body-size: "1G" | |
proxy-buffering: "off" | |
proxy-read-timeout: "600" | |
proxy-send-timeout: "600" | |
retry-non-idempotent: true | |
enable-cors: true | |
use-gzip: false |
This file contains 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
import React, { useState } from "react"; | |
import { throttle, debounce } from "lodash"; | |
import ReactDOM from "react-dom"; | |
import "./styles.css"; | |
const handleInputChange = throttle((newValue, setValue) => { | |
setValue(newValue); | |
}, 10); |
This file contains 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 | |
set -e | |
# Pre-setup - grab keys and installtion deps | |
sudo apt-get update && sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
This file contains 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 | |
set -e | |
# Pre-setup - grab keys and installtion deps | |
sudo apt-get update && sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/workspace/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
This file contains 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
" Autocompletion | |
set wildmenu | |
" Allow cursor keys in insert mode | |
set esckeys | |
" Optimize for fast terminal connections | |
set ttyfast | |
" Add the g flag to search/replace by default | |
set gdefault | |
" Use UTF-8 wihtout BOM | |
set encoding=utf-8 nobomb |
This file contains 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 | |
# Run as k8sexec.sh POD_NAME COMMAND | |
# Go see if they exist | |
PODS=$(kubectl get pods | grep Running | grep $1) | |
if [ $? != 0 ]; then | |
echo "No running pod found matching $1" | |
exit $ERROR_CODE |
This file contains 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
diff --git a/css/autosave_form.css b/css/autosave_form.css | |
index ee97cc4..dfd6dde 100644 | |
--- a/css/autosave_form.css | |
+++ b/css/autosave_form.css | |
@@ -1,8 +1,8 @@ | |
#autosave-notification { | |
display: none; | |
position: fixed; | |
- bottom: 5px; | |
- right: 5px; |
This file contains 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
diff --git a/js/VoteUpDown.js b/js/VoteUpDown.js | |
index 752baed..9dad07c 100644 | |
--- a/js/VoteUpDown.js | |
+++ b/js/VoteUpDown.js | |
@@ -6,23 +6,31 @@ | |
Drupal.behaviors.voteUpDown = { | |
attach: function (context, settings) { | |
- $('.vud-widget a').click(function (e) { | |
+ $('.vud-widget a', context).click(function (e) { |
NewerOlder