Skip to content

Instantly share code, notes, and snippets.

Jennifer Tesolin jennifert

Block or report user

Report or block jennifert

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jennifert
jennifert / .browserslistrc
Last active Oct 4, 2018
Npm Build Script (will replace Grunt in blog post)
View .browserslistrc
# Browsers that we support
last 2 version
@jennifert
jennifert / Gruntfile.js
Created Jun 1, 2017
Current Grunt file for site resdesign
View Gruntfile.js
module.exports = function(grunt) {
'use strict';
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
View jekyll-post.markdown

layout: post title: "Draft Template" date: 2015-03-17 19:34:21 categories:

  • Tutorial tags:
  • Jekyll summary: Put details that will be in more tag here.
@jennifert
jennifert / .gitignore
Created May 26, 2017
My git ignore - sample file
View .gitignore
# npm
node_modules
npm-debug.log
tmp
# sass
.sass-cache/
*.css.map
#ruby
@jennifert
jennifert / _config.yml
Last active Dec 12, 2019
Sample Jekyll config file
View _config.yml
# Site settings
title: Jennifer Tesolin
description: "This is Jennifer Tesolin's personal web site. Located on this site are tutorials and tips for web developers."
baseurl: ""
url: "https://jenntesolin.com"
timezone : "America/Toronto"
exclude: [Gemfile, Gemfile.lock, README.md, vendor, bin,changelog.md,wordpress.xml,package.json,Gruntfile.js,node_modules, .ruby-version]
markdown: kramdown
@jennifert
jennifert / .deployment
Created May 26, 2017
Sample Jekyl Azure deployfile
View .deployment
[config]
project = _site
@jennifert
jennifert / web.config
Created May 26, 2017
Jekyll Web.config sample
View web.config
<?xml version="1.0"?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<mimeMap fileExtension=".otf" mimeType="font/otf" />
<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
View basic-yql.js
//declare vars
var blogLink = 'https://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select title,link,pubDate,category from rss where url ="http://rss.cbc.ca/lineup/technology.xml"')+'&format=json&diagnostics=false&callback=?';
//end variable declare
jQuery.noConflict();
jQuery(document).ready(function($){
//Call blog feed
$.getJSON(blogLink, function(data){
$.each(data.query.results.item, function(index, item){
$('.blog-post-container' ).append('<div class="row">');
$('.blog-post-container' ).append('<div class="col-md-12">');
@jennifert
jennifert / searchjson
Created May 23, 2015
Also grabbed form my github repor for easy embed to site.
View searchjson
---
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title }}",
"href" : "{{ post.url }}",
"summary" : "{{ post.content | strip_html | strip_newlines | truncatewords: 30 | escape }}",
"category" : [{% for category in post.categories %}"{{ category }}",{% endfor %} null],
"tags" : [{% for tag in post.tags %}"{{ tag }}",{% endfor %} null],
@jennifert
jennifert / search.html
Created May 23, 2015
Grabbed from github to easily embed in site
View search.html
---
layout: default
title: Search Results
---
<h1 id="searchHeader">Search results</h1>
<noscript><p>Sorry, the current site search is form Javascript. Please try this link to search from Google.</p></noscript>
You can’t perform that action at this time.