Skip to content

Instantly share code, notes, and snippets.

Crowbar Solutions crowbarsolutions

Block or report user

Report or block crowbarsolutions

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
crowbarsolutions / _README.txt
Last active Jan 25, 2018
Delete Reddit Comments
View _README.txt
- Using your favorite browser, goto your reddit profile page and open the comments list
- Open the browser developer tools (F12)
- Paste the code in this gist into the console and hit enter
- Observe how comments are deleted one by one
- When all comments on the page have been deleted, refresh the page and execute the script again on the remaining comments
crowbarsolutions / gist:d5ae9997bb86168515a5764ee587275b
Created Dec 8, 2016
Deletes all reddit comments/posts/whatever on your user page
View gist:d5ae9997bb86168515a5764ee587275b
(function deleteComments() {
var deleteButtons = document.querySelectorAll('[data-event-action="delete"]');
[], function(element) {;
var trigger = setInterval(function(){
var yesButton = document.querySelector('.yes');
if (yesButton === null) {
var nextButton = document.querySelector(' > a');
View reinstall-preinstalledApps.ps1
# Get all the provisioned packages
$Packages = (get-item 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications') | Get-ChildItem
# Filter the list if provided a filter
$PackageFilter = $args[0]
if ([string]::IsNullOrEmpty($PackageFilter))
echo "No filter specified, attempting to re-register all provisioned apps."
crowbarsolutions / CustomDataSourceRequestAttribute.cs
Last active Dec 26, 2018
Have Kendo or Telerik grid date time filters to ignore or not account for the time in the underlying data
View CustomDataSourceRequestAttribute.cs
using System.Web.Mvc;
using MyProject.ModelBinders;
using Kendo.Mvc.UI;
namespace MyProject.CustomAttributes
public class CustomDataSourceRequestAttribute : DataSourceRequestAttribute
public override IModelBinder GetBinder()
You can’t perform that action at this time.