Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ashar Irfan asharirfan

🏠
Working from home
View GitHub Profile
View index.js
console.log( 'Ashar Irfan' );
@asharirfan
asharirfan / webpack.config.js
Last active Apr 1, 2020
Webpack config to extend the default configurations of wp-scripts
View webpack.config.js
/**
* Webpack Custom Config.
*/
const path = require("path");
const postcssPresetEnv = require("postcss-preset-env");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const FixStyleOnlyEntriesPlugin = require("webpack-fix-style-only-entries");
const defaultConfig = require("@wordpress/scripts/config/webpack.config");
const { mode, entry, output, resolve, plugins, stats } = defaultConfig;
@asharirfan
asharirfan / guq-cirs-meta-data-youtube-video.php
Created Feb 11, 2020
GUQ CIRS Drupal View Export Source YouTube Video Meta Data
View guq-cirs-meta-data-youtube-video.php
$view = new view();
$view->name = 'meta_data_youtube_video';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Meta Data YouTube Video';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@asharirfan
asharirfan / guq-cirs-meta-data-research-project.php
Last active Feb 11, 2020
GUQ CIRS Drupal View Export Source Research Project Meta Data
View guq-cirs-meta-data-research-project.php
$view = new view();
$view->name = 'meta_data_research_project';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Meta Data Research Project';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@asharirfan
asharirfan / guq-cirs-meta-data-publication.php
Created Feb 11, 2020
GUQ CIRS Drupal View Export Source Publication Meta Data
View guq-cirs-meta-data-publication.php
$view = new view();
$view->name = 'meta_data_publication';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Meta Data Publication';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@asharirfan
asharirfan / guq-cirs-meta-data-news-item.php
Created Feb 11, 2020
GUQ CIRS Drupal View Export Source News Item Meta Data
View guq-cirs-meta-data-news-item.php
$view = new view();
$view->name = 'meta_data_news_item';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Meta Data News Item';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@asharirfan
asharirfan / guq-cirs-meta-data-event.php
Created Feb 11, 2020
GUQ CIRS Drupal View Export Source Event Meta Data
View guq-cirs-meta-data-event.php
$view = new view();
$view->name = 'meta_data_event';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Meta Data Event';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
View guq-cirs-featured-images-query.sql
@asharirfan
asharirfan / guq-epe-meta-data-testimonials.php
Created Feb 10, 2020
GUQ EPE Drupal View Export Source Testimonials Meta Data
View guq-epe-meta-data-testimonials.php
$view = new view();
$view->name = 'meta_data_testimonials';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Meta Data Testimonials';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@asharirfan
asharirfan / guq-epe-view-export-users.php
Created Feb 10, 2020
GUQ EPE Drupal View Export Source Users
View guq-epe-view-export-users.php
$view = new view();
$view->name = 'user_data';
$view->description = 'List, add, and edit users.';
$view->tag = 'admin';
$view->base_table = 'users';
$view->human_name = 'User Data';
$view->core = 0;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
You can’t perform that action at this time.