Quick guide on how to setup git signing. Information is aggregated from following sources:
- Open the Link
- Open the Developer console
- And type
setInterval(() => {var a = Date.now(); while(Date.now() - a < 1000);},3000)
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
{ | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"python.languageServer": "Pylance", | |
"[xml]": { | |
"editor.defaultFormatter": "DotJoshJohnson.xml" | |
}, | |
"npm.packageManager": "npm", | |
"editor.rulers": [ | |
120 |
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
{ | |
// 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", |
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 { 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 |
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/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 |
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/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 |
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
/** | |
* 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: { |
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, { 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 { |
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
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 |
NewerOlder