This file contains hidden or 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
/* eslint-disable */ | |
/* globals wp */ | |
// @TODO: Need to change markup once it is finalized on FE. | |
const { __ } = wp.i18n; | |
const { InspectorControls, RichText } = wp.blockEditor; | |
const { PanelBody, RadioControl } = wp.components; | |
const { apiFetch } = wp; | |
const { Component } = wp.element; |
This file contains hidden or 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
.yO { | |
background: rgba(243,243,243,.85); | |
color: #202124; | |
padding: 6px 0; | |
} | |
.yW { | |
font-size: 13px; | |
font-family: arial,sans-serif; | |
} |
This file contains hidden or 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
{"prizes":[{"year":"2017","category":"physics","laureates":[{"id":"941","firstname":"Rainer","surname":"Weiss","motivation":"\"for decisive contributions to the LIGO detector and the observation of gravitational waves\"","share":"2"},{"id":"942","firstname":"Barry C.","surname":"Barish","motivation":"\"for decisive contributions to the LIGO detector and the observation of gravitational waves\"","share":"4"},{"id":"943","firstname":"Kip S.","surname":"Thorne","motivation":"\"for decisive contributions to the LIGO detector and the observation of gravitational waves\"","share":"4"}]},{"year":"2017","category":"chemistry","laureates":[{"id":"944","firstname":"Jacques","surname":"Dubochet","motivation":"\"for developing cryo-electron microscopy for the high-resolution structure determination of biomolecules in solution\"","share":"3"},{"id":"945","firstname":"Joachim","surname":"Frank","motivation":"\"for developing cryo-electron microscopy for the high-resolution structure determination of biomolecules in solutio |
This file contains hidden or 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
javascript:(!function(n){function c(){var c=n(this).parents(".cv-container").children(".cv");c.hasClass("hidden")?c.slideDown():c.slideUp(),c.toggleClass("hidden")}function t(n){var c=RegExp("","i");for(i=e.length;i--;)if(c.compile(e[i],"i"),n.match(c)&&""!==n.match(c)[0])return!0;return!1}var e=["^\\.*","README.*","bower.json","package-lock.json","\\.pot","\\.css","\\.sass",".*css.map",".*js.map",".*\\.min\\..*","\\.md","\\.html"];n(".cv-container .ct .ct_path").off("click").on("click",c),n(".cv-container .ct .ct_path").children("a.path_item.path_item--current").each(function(c,i){var e=n(i).attr("href").split("/").pop().split("?")[0];t(e)&&n(i).parents(".cv-container").children(".cv").addClass("hidden").slideUp()})}(jQuery))(); |
This file contains hidden or 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
Sick of resizing and moving applications like Sublime Text? Me too! | |
Details run-through: https://apple.stackexchange.com/questions/175215/how-do-i-assign-a-keyboard-shortcut-to-an-applescript-i-wrote | |
And tl;dr-> | |
1. You need to create an Automator script: https://dl.dropboxusercontent.com/s/l9pidneeeyzyvzb/2017-06-28%20at%203.15%20PM.png | |
2. The script you need is: | |
tell application "System Events" to tell application process "Sublime Text" |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
[{"year":"2011","position":null,"name":" ","time":null,"class":null,"class_place":null},{"year":"2011","position":"1","name":"Colin Fewer","time":"51:19","class":"LM30-34","class_place":"1\/131"},{"year":"2011","position":"2","name":"Graydon Snider","time":"52:27","class":"LM30-34","class_place":"2\/131"},{"year":"2011","position":"3","name":"Grant Handrigan","time":"53:14","class":"LM25-29","class_place":"1\/107"},{"year":"2011","position":"4","name":"Michael King","time":"54:38","class":"LM25-29","class_place":"2\/107"},{"year":"2011","position":"5","name":"Peter Power","time":"55:05","class":"LM45-49","class_place":"1\/136"},{"year":"2011","position":"6","name":"Peter Bazeley","time":"55:40","class":"LM25-29","class_place":"3\/107"},{"year":"2011","position":"7","name":"Will Fitzgerald","time":"55:58","class":"LM30-34","class_place":"3\/131"},{"year":"2011","position":"8","name":"David Freake","time":"55:59","class":"LM25-29","class_place":"4\/107"},{"year":"2011","position":"9","name":"Joseph Dunford","ti |
This file contains hidden or 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
[{"position":null,"name":" ","time":null,"class":null,"class_place":null},{"position":"1","name":"Colin Fewer","time":"51:19","class":"LM30-34","class_place":"1\/131"},{"position":"2","name":"Graydon Snider","time":"52:27","class":"LM30-34","class_place":"2\/131"},{"position":"3","name":"Grant Handrigan","time":"53:14","class":"LM25-29","class_place":"1\/107"},{"position":"4","name":"Michael King","time":"54:38","class":"LM25-29","class_place":"2\/107"},{"position":"5","name":"Peter Power","time":"55:05","class":"LM45-49","class_place":"1\/136"},{"position":"6","name":"Peter Bazeley","time":"55:40","class":"LM25-29","class_place":"3\/107"},{"position":"7","name":"Will Fitzgerald","time":"55:58","class":"LM30-34","class_place":"3\/131"},{"position":"8","name":"David Freake","time":"55:59","class":"LM25-29","class_place":"4\/107"},{"position":"9","name":"Joseph Dunford","time":"56:35","class":"LM35-39","class_place":"1\/189"},{"position":"10","name":"Adam Snow","time":"57:11","class":"LM25-29","class_place":"5\ |
This file contains hidden or 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
// Works! | |
// this does create a .min.css file | |
.pipe(filter('*.css')) | |
.pipe(gulpif(process.env.NODE_ENV == 'production', prefix("last 2 versions"))) | |
.pipe(replace(/\/\*\sline(.+?)(?=\*\/)\*\//g,'')) | |
# .pipe(replace(/fonts\/britco-icons.eot/g,'../../fonts/britco-icons.eot')) | |
.pipe replace "<%= STATIC_URL %>", TEMPLATE_DATA.STATIC_URL | |
.pipe(gulp.dest(dest)) | |
.pipe(debug()) | |
.pipe(cssmin()) |
NewerOlder