Skip to content

Instantly share code, notes, and snippets.

@azraf
azraf / mws_wp_img_disappear_fix.php
Created May 21, 2021 03:02
I got an issue with a client website that all images are getting disappear class automatically. I dont have time to check all the codes. So I just make that class opacity function override. Best practice is to remove the main, class, but if you need some time to fix that, you may use this kind of not-recommended tricks to buy you some time.
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
* Plugin Name: Image Disappear Fix
* Plugin URI: http://makewebsmart.com/
* Description: Image Disappear Fix for "disappear" Class
* Version: 1.0
* Author: Azraf
* Author URI: http://azraf.me
* Author email: c.azraf@gmail.com
@azraf
azraf / config.json
Created December 10, 2014 06:14
BootStrapFull
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@azraf
azraf / apps.js
Created January 22, 2013 12:27 — forked from eliOcs/apps.js
/*jslint node: true */
"use strict";
var express = require("express"),
consolidate = require("consolidate"),
Handlebars = require("handlebars"),
fs = require("fs");
var app = express();