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 | |
# === INFO === | |
# NoVPN | |
# Description: Bypass VPN tunnel for applications run through this tool. | |
VERSION="3.0.0" | |
# Author: KrisWebDev | |
# Requirements: Linux with kernel > 2.6.4 (released in 2008). | |
# This version is tested on Ubuntu 14.04 and 19.10 with bash. | |
# Main dependencies are automatically installed. |
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
/* | |
* Example adds certain named Product Attribute fields to the product Edit screen ready for completion. | |
* (Pre-requisite ) | |
* This saves the Shop Admin having to add them manually. | |
* | |
* Why might you want to do this instead of adding Custom fields? There's plenty of nice documentation on adding custom fields | |
* for example: http://www.remicorson.com/mastering-woocommerce-products-custom-fields/ | |
* | |
* Well a Product Attributes are a built in WooCommerce feature, using Terms which are a built in Wordpress feature. | |
* - no add-ons required |
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
/* ==UserStyle== | |
@name Slack-Persian | |
@description Improve Slack UI for Persian users | |
@namespace github.com/AmirHosseinKarimi/Persian-Slack | |
@homepageURL https://github.com/AmirHosseinKarimi/Persian-Slack | |
@supportURL https://github.com/AmirHosseinKarimi/Persian-Slack/issues | |
@author Amir hossein Hossein Zadeh Karimi <[email protected]> (https://github.com/AmirHosseinKarimi) | |
@license GPL2 | |
@version 0.0.2 | |
@preprocessor stylus |
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 from "react"; | |
import { Icon as MDIcon } from "@mdi/react"; | |
class Icon extends React.Component { | |
render() { | |
let icon = require(`materialdesign-js/icons/${this.props.icon}`).default; | |
if (!icon) { | |
throw Error(`Could not find materialdesign-js/icons/${icon}`); | |
} | |
return <MDIcon path={icon} />; |