Skip to content

Instantly share code, notes, and snippets.

View coderblower's full-sized avatar

CodeBlower coderblower

  • Dhaka, Bangladesh
View GitHub Profile
*********START CODE************
@ECHO OFF
del /s /f /q %userprofile%\Recent\*.*
del /s /f /q C:\Windows\Prefetch\*.*
del /s /f /q C:\Windows\Temp\*.*
{"lastUpload":"2020-11-10T18:55:23.847Z","extensionVersion":"v3.4.3"}
<?php
//save theme active time
function my_theme_activation_init() {
// Check if already saved the activation date & time
// to prevent over-writing if user deactive & active theme
// multiple time
if(!get_option('mytheme_activation_time', false)){
// Generate Current Date & Time in MySQL Date Time Formate
$activation_datetime = current_time( 'mysql' );
// Save it in `wp_options` table
@coderblower
coderblower / Sublime
Last active September 8, 2017 08:40
// some magic expand in css
jsut type 'tro' and expand with emmet and see here you go