Skip to content

Instantly share code, notes, and snippets.

View gist:a36c28d177335e78bd97d5a2c8c3b286
;; init.el --- Spacemacs Initialization File -*- no-byte-compile: t -*-
;;
;; Copyright (c) 2012-2021 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;; This program is free software; you can redistribute it and/or modify
@sunilw
sunilw / package.json
Created Jan 23, 2022
ebuild simple project
View package.json
{
"name": "react tut",
"version": "0.0.1",
"description": "Steps towards a more sufficient build pipeline",
"main": "index.js",
"watch": {
"sass": {
"patterns": [
"./src/sass"
],
View gist:114d4dcb66d7e1a817e6800ba3e09331
/* the function that loads the template with the loop */
function ginza_menu_display() {
if ( class_exists('ACF')) {
ob_start() ;
require get_stylesheet_directory() . '/loops/ginza-menu-display.php' ;
echo ob_get_clean() ;
View gist:0b5adeb40fc3132d61bdf9465d315757
var gulp = require('gulp');
var sass = require('gulp-sass')(require('sass'));
var {watch} = require('gulp');
var sourcemaps = require('gulp-sourcemaps') ;
var pipeline = require('readable-stream').pipeline;
var browserSync = require('browser-sync');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var minify = require('gulp-minify');
View gist:57a9c1e9a526aefdb3778cf16c3b1151
global:
sql_adapter: "default"
local:
vhost: "************"
wordpress_path: "**********************"
database:
name: "*************"
host: "***********"
password: "********"
View gist:e52cf65d8e59a9836269c07ee6d05447
// working
var gulp = require('gulp') ;
var sass = require('gulp-sass') ;
var watch = require('gulp-watch') ;
var sourcemaps = require('gulp-sourcemaps') ;
var browserSync = require('browser-sync');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
View gulpfile.js
var browserify = require('browserify');
var gulp = require('gulp') ;
var sass = require('gulp-sass') ;
var watch = require('gulp-watch') ;
var sourcemaps = require('gulp-sourcemaps') ;
var browserSync = require('browser-sync');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var terser = require('gulp-terser');
var combiner = require('stream-combiner2');
View gist:3ddc3038892a1257290f6bb5479f94a2
function gloria_publish_video_gallery() {
ob_start() ;
// $test_string = '<h1>Got To Test String</h1>' ;
// echo $test_string ;
$test_string = include (get_stylesheet_directory() . '/inc/buzz-slideshow-videos-gallery-template.php');
// echo "<h1>the other test string</h2>" ;
echo $test_string ;
View gist:efdeb6e5f87789a315cc38dc7709a255
var gulp = require('gulp') ;
var sass = require('gulp-sass') ;
var watch = require('gulp-watch') ;
var sourcemaps = require('gulp-sourcemaps') ;
var browserSync = require('browser-sync');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var combiner = require('stream-combiner2');
View gist:47d9223053e951f73189ba753fd2a6f6
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="generator" content="emacs" />
<title></title>
<link rel="stylesheet" href="css/owl.carousel.css" type="text/css" />
<link rel="stylesheet" href="css/owl.theme.default.css" type="text/css" />
<link rel="stylesheet" href="css/test5.css" type="text/css" />