How to Setup Verified Commits
Quick guide on how to setup git signing. Information is aggregated from following sources:
Quick guide on how to setup git signing. Information is aggregated from following sources:
setInterval(() => {var a = Date.now(); while(Date.now() - a < 1000);},3000)
{ | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"python.languageServer": "Pylance", | |
"[xml]": { | |
"editor.defaultFormatter": "DotJoshJohnson.xml" | |
}, | |
"npm.packageManager": "npm", | |
"editor.rulers": [ | |
120 |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "DebugWebpack", |
import { LinearGauge, RadialGauge } from 'canvas-gauges' | |
import React, { useEffect, useRef } from 'react' | |
export default (props) => { | |
const { value, isRadial = false } = props; | |
const gaugeDOM = useRef(); | |
const gauge = useRef(); | |
useEffect(() => { | |
const options = Object.assign({}, props, { | |
renderTo: gaugeDOM.current |
#!/bin/sh /etc/rc.common | |
# OpenWrt /etc/init.d/ script to automatically add ipsets across reboots | |
# For more info about how to write init scripts https://openwrt.org/docs/techref/initscripts | |
# | |
# howto: | |
# - upload this file as /etc/init.d/autoipset | |
# - # chmod 755 /etc/init.d/autoipset | |
# - # /etc/init.d/autoipset enable | |
# - # /etc/init.d/autoipset start |
#!/bin/sh /etc/rc.common | |
# OpenWrt /etc/init.d/ script to backup and restore the rrd (collectd) database, to preserve data across reboots | |
# | |
# | |
# howto: | |
# - upload this file as /etc/init.d/rrdbackup | |
# - (optional) adjust BACKUP_DIR below to point to a different target directory for the backup (e.g., a USB drive) | |
# - # chmod +x /etc/init.d/rrdbackup | |
# - # /etc/init.d/rrdbackup enable |
/** | |
* IMPORTANT: This file only contains theme JSS of the Publisher app, Don't add other configuration parameters here. | |
* This theme file is an extension of material-ui default theme https://material-ui.com/customization/default-theme/ | |
* Application related configurations are located in `<PUBLISHER_ROOT>site/public/theme/settings.js` | |
*/ | |
const userThemes = { | |
light(theme) { | |
return ( | |
{ | |
overrides: { |
import React, { Component } from 'react'; | |
import User from '../data/User'; | |
import Utils from '../data/Utils'; | |
/** | |
* Logout component | |
* @class Logout | |
* @extends {Component} Logout component | |
*/ | |
class Logout extends Component { |
const Configurations = { | |
/* Refer devportal/source/src/defaultTheme.js */ | |
custom: { | |
languageSwitch: { | |
active: true, | |
languages: [ | |
{ | |
key: 'en', | |
image: '/site/public/images/flags/en.png', | |
imageWidth: 24, // in pixles |