- Alert Contact Type: Web-Hook
- URL to Notify:
https://discordapp.com/api/webhooks/CHANGEME/CHANGEME?
- Must end with
?
- Must end with
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
import React, { Component } from 'react'; | |
import './App.css'; | |
const ShowingYourName = (props) => { | |
return ( | |
<p>{props.firstName}</p> | |
) | |
} | |
class App extends Component { |
While this method is indeed a bit hacky, it does work! Perhaps in due course wayfire will make this a bit more straight forward...
🚨 🚨 For some reason wayfire will (occasionally) add back in the
<min>0.0</min>
line and will also remove the<max>1.0</max>
(see Step 2. If you notice natural scroll not working, this is most likely the cause. Just repeat this step andsudo reboot
... hey I said it was hacky 🤷🏻♂️
vi ~/.config/wayfire.ini
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
Add the following to your `functions.php` | |
```php | |
function vc_before_init_actions() { | |
require_once( get_template_directory().'/functions/shortcodes/vc-text-image.php' ); | |
} | |
add_action( 'vc_before_init', 'vc_before_init_actions' ); | |
``` | |
And now create a file in the location specified above with the following (customise accordingly): |
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
<!-- wp:heading --> | |
<h2>Heading Block (H2)</h2> | |
<!-- /wp:heading --> | |
<!-- wp:heading --> | |
<h3>You are looking at one. (H3)</h3> | |
<!-- /wp:heading --> | |
<!-- wp:heading --> | |
<h2>Subhead Block</h2> |
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
/* -------------------------------------------------------------------------- */ | |
// All Bootstrap 4 Sass Mixins [Cheat sheet] | |
// Updated to Bootstrap v4.5.x | |
// @author https://anschaef.de | |
// @see https://github.com/twbs/bootstrap/tree/master/scss/mixins | |
/* -------------------------------------------------------------------------- */ | |
/* | |
// ########################################################################## */ | |
// New cheat sheet for Bootstrap 5: |
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
jQuery( document ).ready( function(){ | |
var myListController = Marionette.Object.extend({ | |
initialize: function() { | |
// Listen to the value change for Checkbox List fields. | |
this.listenTo( Backbone.Radio.channel( 'listcheckbox' ), 'change:modelValue', this.onChangeModelValue ); | |
}, | |
onChangeModelValue: function( fieldModel ) { |
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
// ==UserScript== | |
// @name Medium: remove location hash | |
// @namespace http://efcl.info/ | |
// @description Remove location hash from medium | |
// @include https://medium.com/*#* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
function removeLocationHash(){ |
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
<?php | |
class WP_HTML_Compression | |
{ | |
// Settings | |
protected $compress_css = true; | |
protected $compress_js = true; | |
protected $info_comment = true; | |
protected $remove_comments = true; | |
// Variables |
NewerOlder