Skip to content

Instantly share code, notes, and snippets.

View Funi1234's full-sized avatar
🎯
Focusing

Dylan Conway Funi1234

🎯
Focusing
View GitHub Profile
@Funi1234
Funi1234 / fixContent.js
Created February 19, 2016 21:08
Fix ImageSet Content.json for iOS Image Resize
"use strict";
var fs = require('fs');
var processContents = function (path, contents) {
var imagedata = contents['images'] !== undefined ? contents['images'] : null
if (imagedata == null) {return}
@Funi1234
Funi1234 / iOS_Image_Resize.jsx
Last active August 5, 2016 14:00
Generate iOS Images @1, @2, @3
// Photoshop Script to Create UI Images for pixel densities
//
//
// Copyright (c) 2016 Dylan Conway
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@Funi1234
Funi1234 / Zigbee Coordinator C1 Log
Last active August 25, 2015 21:41
Zigbee Use Case 3 Node logs
<?xml version="1.0" encoding="UTF-8"?>
<!-- NOTE: The time stamps (frame_date) within this log are incorrect by +3 seconds.
The node M2 was selected as the key reference point for time in this experiment.
The desynchronisation between M2 and C1 has been adjusted to compensate for this within the document. -->
<data>
<console_session type="api2">
<module_name></module_name>
<module_mac>0013A2004099D823</module_mac>
var neverGonna = ["give you up", "let you down", "run around and desert you", "make you cry", "say goodbye", "tell a lie and hurt you"];
for (var i=0; i<neverGonna.length; i++){
console.log("Never gonna " + neverGonna[i]);
}