Skip to content

Instantly share code, notes, and snippets.

View Manbearpixel's full-sized avatar

Pixxl Manbearpixel

  • Chicago
View GitHub Profile
@Manbearpixel
Manbearpixel / Auto-Order-PS5.md
Last active February 28, 2021 01:11
Bookmarklet for pre-ordering PS5

Class Mod: Order PS5

Current Version: 1

Right now it is hard-coded to attempt to add the PHYSICAL DISC PS5 into your cart. It does not matter what page you're on when you click the bookmark SO LONG as you are at least on Target.com. If you are not on the website it will not work.

What does it do?

If you click the bookmark while on Target.com you will see a mini window appear that says "Setting up". After 10 seconds one of two things will happen:

  1. Your PS5 will be added to your cart and you'll be redirected to your cart to checkout;
  2. The text will update to "Attempt failed #X"
@Manbearpixel
Manbearpixel / radlistview-multipletemplates.ts
Created April 4, 2019 09:31
RadListView--Example--MultipleTemplates--Component
import { Component } from '@angular/core';
class User {
// These properties are publicly exposed
public name: string;
public status: string;
// Accept an optional name and status when being instantiated
constructor(name?: string, status?: string) {
this.name = name ? name : 'Default Name';
@Manbearpixel
Manbearpixel / radlistview-multipletemplates.html
Created April 4, 2019 09:01
RadListView--Example--MultipleTemplates--View
<RadListView [items]="userCollection" [itemTemplateSelector]="userCollectionTemplateSwitch">
<ng-template tkListItemTemplate let-user="item" let-i="index">
<Label textWrap="true">
<FormattedString>
<Span text="Default Template: "></Span>
<Span [text]="user.name"></Span>
</FormattedString>
</Label>
</ng-template>
This file has been truncated, but you can view the full file.
Loading extensions.
Asserting extension nativescript-cloud is installed.
Extension nativescript-cloud is installed.
Asserting extension nativescript-starter-kits is installed.
Extension nativescript-starter-kits is installed.
Trying to get macOS version.
Exec system_profiler SPSoftwareDataType -detailLevel mini
stdout: Software:
System Software Overview:
Mac OS X Build Instructions and Notes
====================================
This guide will show you how to build bitcoind(headless client) for OSX.
Notes
-----
* Tested on OS X 10.7 through 10.10 on 64-bit Intel processors only.
* All of the commands should be executed in a Terminal application. The
@Manbearpixel
Manbearpixel / Bookmarklet.html
Last active October 17, 2016 22:42
Bookmarklet for showing BTC worth of altcoin on Poloniex
<h3>Show Poloniex BTC USD Value</h3>
<p>Drag and drop the link below to your bookmark toolbar in order to use this bookmark to show the USD worth (in BTC) for altcoins on Poloniex Exchange.</p>
<p>The source has been added to give complete transparency to how this works and to ensure nothing is being stolen</p>
<hr/>
<p><a id="OutputHref" ng-attr-href="{{ output }}" href="javascript:(function(){if(1==window.__superAwesomeThingy)return%20console.warn(%22--%20SuperAwesomeThingy%20BTC%20shower%20is%20already%20active!%22),console.info(%22--%20Disabling%20SuperAwesomeThingy%20BTC%20shower!%22),clearInterval(window.__superAwesomeThingID),window.__superAwesomeThingID=null,window.__superAwesomeThingy=!1,!1;window.__superAwesomeThingy=!0;var%20runSwitch=function(currentBTC){console.info(%22--%20adjusting%20BTC%20value%20--%22),jQuery(%22%23marketBTC%20%3E%20tbody%20%20%3E%20tr%22).each(function(){var%20currentRow=jQuery(this),currentPriceCol=currentRow.find(%22.price%22);if(-1!=currentPriceCol.text().indexOf(%22;;%22
All digits including commas and periods
/[\d,\.]+/
All digits in format 123 | 123,456 | 123,456.789 | 123,456,789.12
/((\d{1,3}(,?\d{3})+)|(\d+))(\.\d+)?+/