Skip to content

Instantly share code, notes, and snippets.

View Nolski's full-sized avatar

Mike Nolan Nolski

View GitHub Profile
@Nolski
Nolski / solarized_github.css
Created March 7, 2017 21:40
Revamped combination of Github Dark 2.0 and Github Solarized
/*
* GitHub Dark v2.6.0
* Copyright 2016 Quan You.
* GitHub Project (https://cquanu.github.io/github-dark/)
* Licensed under MIT (https://github.com/cquanu/github-dark/blob/master/LICENSE)
*/
/* HTML Global */
submit(e) {
var fileList = this.refs.fileList._pairFiles();
var _this = this;
mapSeries(fileList.pairs, (fileName, callback) => {
_this; // undefined
});
}
partition([], H, [], [], []).
partition([TailH | TailT], H, [TailH | Less], Same, Greater) :-
TailH < H,
partition(TailT, H, Less, Same, Greater).
partition([TailH | TailT], H, Less, [TailH | Same], Greater) :-
TailH = H,
partition(TailT, H, Less, Same, Greater).
2016-05-06 11:01:33.793 Slow Roll Buffalo[90553:6125085] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mnolan/Library/Developer/CoreSimulator/Devices/95E57FE8-02B5-4794-B50A-5D218AD8E41B/data/Containers/Data/Application/8586A01F-E671-4FA5-A6AB-F51961F0ECC2/Library/Cookies/org.slowrollbuffalo.app.binarycookies
2016-05-06 11:01:33.816 Slow Roll Buffalo[90553:6125085] Apache Cordova native platform version 4.1.1 is starting.
2016-05-06 11:01:33.817 Slow Roll Buffalo[90553:6125085] Multi-tasking -> Device: YES, App: YES
2016-05-06 11:01:33.823 Slow Roll Buffalo[90553:6125085]
Started backup to iCloud! Please be careful.
Your application might be rejected by Apple if you store too much data.
For more information please read "iOS Data Storage Guidelines" at:
https://developer.apple.com/icloud/documentation/data-storage/
To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file
PopcornEditor.listen(PopcornEditor.events.loaded, function () {
$('.butter-toggle-button').click();
$('.butter-editor-close-btn').click();
});
if (typeof scopeVar === 'undefined' ||
typeof scopeVar.defs === 'undefined' ||
typeof scopeVar.defs[0] === 'undefined' ||
typeof scopeVar.defs[0].node.init === 'undefined' ||
scopeVar.defs[0].node.init === null) {
return node.name;
}
@Nolski
Nolski / test.js
Last active October 29, 2015 19:08
import { getVariable } from 'utils'
...
let foo = getVariable(context, 'foo');
console.log(foo); // undefined
{
"template": "basic",
"background": "#FFFFFF",
"data": {
"targets": [{
"id": "Target0",
"name": "video-container",
"element": "video-container",
}],
"media": [{
{
"title": "this is the title",
"description": "this is the description",
"preview_img": "https://link.to/img.jpg",
"video_url": "https://link.to/video.webm"
}
@Nolski
Nolski / editor.js
Last active August 29, 2015 14:27 — forked from tannishk/editor.js
editorerror
$(document).ready(function () {
<<<<<<< HEAD <--- This code belongs to upstream
PopcornEditor.listen(PopcornEditor.events.loaded, function () {
$.get($('#editor').data('url'), {
slug: $('#editor').data('slug')
})
.done(function (response) {
if(response.data) {
PopcornEditor.loadInfo(response);
} else {