This file contains 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
"Unsplash": { | |
"prefix": "unsplash", | |
"body": [ | |
"<img src=\"https://source.unsplash.com/${1:1600}x${2:900}/?${3:nature,water}\" alt=\"${4:Placeholder image from Unsplash}\" />" | |
], | |
"description": "Image from unsplash" | |
} |
This file contains 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
.monaco-editor .cursors-layer .cursor { | |
background: transparent; | |
border-radius: 100%; | |
width: 30px !important; | |
background: conic-gradient(yellow 55deg, transparent 0 125deg, yellow 0); | |
transform: rotateZ(180deg); | |
animation: eat 0.5s linear infinite; | |
} | |
@keyframes eat { |
This file contains 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
/******************************************************************************* | |
1. DEPENDENCIES | |
*******************************************************************************/ | |
var gulp = require('gulp'); // gulp core | |
sass = require('gulp-sass'), // sass compiler | |
uglify = require('gulp-uglify'), // uglifies the js | |
jshint = require('gulp-jshint'), // check if js is ok | |
rename = require("gulp-rename"); // rename files | |
concat = require('gulp-concat'), // concatinate js |
This file contains 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// chech our JS | |
jshint: { | |
options: { | |
"bitwise": true, |
This file contains 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
<FilesMatch ".(ttf|otf|eot|woff|font.css)$"> | |
<IfModule mod_headers.c> | |
Header set Access-Control-Allow-Origin "*" | |
</IfModule> | |
</FilesMatch> |
This file contains 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 | |
// Makes an array with own query wich not affects the ain loop | |
$events = new WP_Query(array("post_type" => "event")); | |
if ($events->have_posts()): while($events->have_posts()): $events->the_post(); | |
get_template_part("loop"); | |
the_content(); | |
endwhile; endif; |
NewerOlder