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
| Git commands Cheat Sheet | |
| Initialize a new git repository: | |
| git init | |
| Set configuration values for your username and email: | |
| git config --global user.name <your-name> | |
| git config | |
| --global user. email <your-email> | |
| Clone a repository: |
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 | |
| namespace App; | |
| use Carbon_Fields\Field; | |
| use Carbon_Fields\Block; | |
| Block::make( __( 'Gutenberg Block' ) ) | |
| ->set_icon( 'format-chat') | |
| ->add_fields( array( | |
| Field::make( 'rich_text', 'text', __( 'text', 'my-theme' ) ) |
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 | |
| /* | |
| Plugin Name: Twitter Schema | |
| Plugin URI: https://digitalblender.co | |
| Description: Twitter Schema | |
| Author: Prahlad Yeri | |
| Version: .1 | |
| Author URI: https://prahladyeri.com/blog | |
| */ |
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
| @foreach($project_loop as $project_item) | |
| {!! $project_item !!} | |
| @endforeach |
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
| ## This file was meant to make it easy to update IP tables for Cloudflare | |
| ## Use at your own risk. | |
| ## I will not and do not assume any resposibilty for any actions you take to update your servers. | |
| ## Before using for Additional info Please refer to: | |
| https://support.cloudflare.com/hc/en-us/articles/201897700 | |
| https://www.cloudflare.com/ips/ | |
| iptables -I INPUT -p tcp -m multiport --dports http,https -s 173.245.48.0/20 -j ACCEPT |
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
| class Toggle extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = {isToggleOn: true}; | |
| // This binding is necessary to make `this` work in the callback | |
| this.handleClick = this.handleClick.bind(this); | |
| } | |
| true = 'Im On!'; |
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 | |
| /** | |
| * Add or remove the css class if the featured image is set or not | |
| */ | |
| function custom_post_feature_img() | |
| { | |
| if ( has_post_thumbnail() ) { | |
| echo 'custom-post-feature-img'; |
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
| Farm-to-table pharetra proin auctor fixie nam sem urna indie integer integer ipsum bahn mi nec nibh molestie brunch vitae quam. Maecenas bicycle commodo nec vulputate organic tempus sem elementum craft beer a eros lorem hoodie nulla proin congue vegan mattis. Morbi et craft beer lorem enim quam noise-rock maecenas fusce integer wire-rimmed glasses vitae porttitor lectus before they sold out quam. Nibh cursus you probably haven't heard of them et vitae lectus skateboard lectus gravida vulputate Portland lorem tellus eros vim ipsum. Duis ipsum Portland enim ipsum odio vinyl eros fusce justo indie proin sit donec Brooklyn gravida urna congue fixie. Vivamus sodales elementum VHS morbi odio ultricies wire-rimmed glasses odio rutrum sapien farm-to-table non sapien molestie DIY. | |
| [draft_pick rank="auto" first_name="Yeti" last_name="Roberts" position="QB" school="Georgetown" league="nfl" team="124" link_url="https://fansided.com" link_text="Scouting Report" link_url2="https://fansided.com" link_text2="Pick Analysis" |
NewerOlder