Skip to content

Instantly share code, notes, and snippets.

@julianburr
julianburr / SqlManager.php
Created April 16, 2015 08:06
SqlManager (PHP Util Class)
<?php
/**
* SQL Manager
*
* Author: Julian Burr
* Version: 1.0
* Date: 2014/02/10
*
* Copyright (c) 2015 Julian Burr
@julianburr
julianburr / BDWordPressPlugin.php
Created June 18, 2015 14:13
WordPress Plugin Template Classes (Core)
<?php
/**
* BDWordPressPlugin
*
* Author: Julian Burr
* Version: 1.0
* Date: 2015/04/30
*
* Copyright (c) 2015 Julian Burr
@julianburr
julianburr / GoogleMap.php
Created June 18, 2015 14:23
Simple helper class to built Google Maps using the Google Map JavaScript API
<?php
/**
* GoogleMap
*
* Author: Julian Burr
* Version: 1.0
* Date: 2015/04/30
*
* Copyright (c) 2015 Julian Burr
@julianburr
julianburr / get-scroll-position.jsx
Last active July 3, 2024 13:27
Medium: RN Position fixed example
class AwesomeComponent extends Component {
...
}
@julianburr
julianburr / todos.js
Last active July 24, 2017 17:43
Node script to list todos notes in code base
/**
* Author: Julian Burr <https://github.com/julianburr>
* License: https://creativecommons.org/publicdomain/zero/1.0/
*
* This script basically just runs through all source files and
* prints out a list of files and lines where it found the TODO
* keyword
*
* If you want to look for other keywords, just changed the
* searchRegEx to your needs :)
@julianburr
julianburr / manifest.json
Last active April 19, 2017 14:05
Medium - Example Sketch plugin manifest
{
"name": "Hello World",
"description": "Just an example for a Sketch plugin",
"author": "Julian Burr <[email protected]>",
"version": 1.0,
"identifier": "com.example.sketch.hello-world",
"bundleVersion": 1,
"commands": [
{
"name": "Hello World",
@julianburr
julianburr / plugin.js
Created April 19, 2017 14:04
Medium - Example Sketch plugin source
const helloWorld = context => {
context.document.showMessage("👋🌍");
}
@julianburr
julianburr / cocoascript.js
Last active April 20, 2017 09:55
Medium - Example showing the different syntax options in cocoascript
// Dot syntax
var openPanel = NSOpenPanel.openPanel();
openPanel.setTitle('Hello World');
openPanel.runModal();
// Bracket syntax
var openPanel = [NSOpenPanel openPanel]
[openPanel setTitle:'Hello World']
[openPanel runModal]
@julianburr
julianburr / conferences-eu.md
Last active May 23, 2017 13:09
Notes from React Amsterdam, CSSConf EU and JSConf EU 2017

Conference Summary (Europe)

Some short notes on the topics of the conference talks.

🖋 - I could write a blog post etc. about it if there is any interest
👨‍🏫 - I can even make a small talk if there is even more interest

⚡ - Lightning talks

@julianburr
julianburr / appcast.xml
Last active September 11, 2017 09:06
Test appcast.xml
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Test Plugin</title>
<link>http://sparkle-project.org/files/sparkletestcast.xml</link>
<description>Brilliant Hello World Plugin</description>
<language>en</language>
<item>
<title>Version 1.1</title>
<description>