Skip to content

Instantly share code, notes, and snippets.

Birowsky

Block or report user

Report or block Birowsky

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
@Birowsky
Birowsky / PatchIosProject.ts
Last active Mar 18, 2019
Revise Sentry's iOS patching procedure
View PatchIosProject.ts
import * as fs from 'fs';
import * as xcode from 'xcode';
export {
patchIosProjectIfNotDoneAlready,
};
interface PbxProjectUnparsed {
parse: (handler: (err: any) => void) => void
}
View gist:d03db1083a05e02316a077b7bb5b84fe
var path = require('path');
var HtmlWebpackPlugin = require( 'html-webpack-plugin' );
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = {
context: path.resolve('src/scripts'), //https://webpack.github.io/docs/configuration.html#context
View rtree.js
// Usage:
//
// 1. Put this in the file that gets first loaded by RequireJS
// 2. Once the page has loaded, type window.rtree.map() in the console
// This will map all dependencies in the window.rtree.tree object
// 3. To generate UML call window.rtree.toUml(). The output can be used
// here: http://yuml.me/diagram/scruffy/class/draw
requirejs.onResourceLoad = function (context, map, depMaps) {
if (!window.rtree) {
window.rtree = {};
@Birowsky
Birowsky / gist:4469603
Created Jan 6, 2013
HTML: starting point
View gist:4469603
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="css/style.css">
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
You can’t perform that action at this time.