Skip to content

Instantly share code, notes, and snippets.

View brianantonelli's full-sized avatar
💭
🐒

Brian Antonelli brianantonelli

💭
🐒
View GitHub Profile
@brianantonelli
brianantonelli / artsyetsy.js
Created April 25, 2022 02:18
Etsy Orders Mods Bookmarklet
// https://caiorss.github.io/bookmarklet-maker/
$.expr[":"].contains = $.expr.createPseudo(function (arg) {
return function (elem) {
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
};
});
const $reset = $(
'<button id="aafilter" style="margin:10px 10px 0 10px;" class="ml3 wt-btn wt-btn--tertiary wt-btn--small">Clear Filter</button>'
@brianantonelli
brianantonelli / iam-role-types-policies.md
Last active December 1, 2021 16:03
iam-role-types-policies

AWS CloudWatch:

{
	"Version":"2012-10-17",
  "Statement":[
		{
	    "Action":"sts:AssumeRole",
      "Effect":"Allow",
      "Principal":{
	      "Service":"logs.amazonaws.com"
@brianantonelli
brianantonelli / index.js
Created September 22, 2017 19:24
POC of voxeljs with AWS
const createGame = require('voxel-engine'),
highlight = require('voxel-highlight'),
player = require('voxel-player'),
voxel = require('voxel'),
fly = require('voxel-fly'),
walk = require('voxel-walk'),
label = require('voxel-label'),
AWS = require('aws-sdk');
// setup engine
@brianantonelli
brianantonelli / iam-role-types.md
Last active January 29, 2020 14:28
Available IAM Role Types for ALKS
@brianantonelli
brianantonelli / slack.groovy
Last active July 14, 2016 18:26
Jenkins Workflow Shared Library
package com.coxautoinc.workflow.jenkins
String sendToSlack (team, token, channel, message, color) {
slackSend channel: channel, teamDomain: team, token: token, color: color, message: message
return "done"
}
@brianantonelli
brianantonelli / resignAnIPA.sh
Created November 2, 2012 02:39
Resign an IPA
#! /bin/sh
echo "Drag IPA file here: "
read -e IPA
unzip $IPA
rm -r "Payload/AutoTrader.app/_CodeSignature" "Payload/AutoTrader.app/CodeResources"2> /dev/null | true
echo "Drag AutoTrader (Non-Distribution) Provisioning Profile here: "
read -e PROV
cp "$PROV""Payload/AutoTrader.app/embedded.mobileprovision"
/usr/bin/codesign -f -s "iPhone Developer" --resource-rules "Payload/AutoTrader.app/ResourceRules.plist" "Payload/AutoTrader.app"