Skip to content

Instantly share code, notes, and snippets.

View mrchief's full-sized avatar
🎯
Focusing

Hrusikesh Panda mrchief

🎯
Focusing
View GitHub Profile
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
# 💀 DO NOT MAKE ANY COMMITS to master directly - they should always come from rebasing develop
# 💀 ensure ALL actions in develop are GREEN ✅
# ensure you have no pending changes locally
git pull origin develop
# make sure you have no pending changes locally
git pull origin master
git checkout master

Keybase proof

I hereby claim:

  • I am mrchief on github.
  • I am mrchief (https://keybase.io/mrchief) on keybase.
  • I have a public key ASBCG_2O-mstOYu9loEZPFDXB816gCyKhYAxGnFSNgkTDwo

To claim this, I am signing this object:

@mrchief
mrchief / remove_promoted_reddit_posts.js
Last active September 9, 2020 14:44
Remove Promoted Reddit Posts the simple way
// ==UserScript==
// @name Remove Promoted Reddit Posts
// @namespace http://reddit.com/
// @version 1.0
// @description try to take over the world!
// @author You
// @match https://www.reddit.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
@mrchief
mrchief / Deploy-Windows-Service-Via-MSBuild.proj.xml
Last active November 23, 2020 09:19
MSBuild Script to deploy Windows Service to remote or local machine
<Project DefaultTargets="CopyOutputs;DeployService" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<!-- These settings control what the service's name, description etc appear in services.msc task panel. -->
<PropertyGroup Label="ServiceMetaData">
<ServiceName>ShinyNewService</ServiceName>
<ServiceDisplayName>Shiny New Service</ServiceDisplayName>
<ServiceDescription>A shiny new service, that changes the world for the greater good.</ServiceDescription>
</PropertyGroup>
<Choose>
body {
white-space: pre;
font-family: monospace;
background: rgba(34,47,53,1);
color: rgba(96,125,138,1);
}
.property {
font-weight: bold;
color:rgba(0,253,255,1);
@mrchief
mrchief / setup.md
Last active July 1, 2021 19:10
Storybook setup for gh-pages

Storybook setup for gh-pages

Initialize empty gh-pages

  • Create a new orphan branch: git checkout --orphan gh-pages
  • Clean all (untracked) files: git reset --hard or git rm -rf .
  • Create first commit: git commit --allow-empty -m "Initializing gh-pages branch"
  • Push the new branch on your repo: git push origin gh-pages

Enable gh-pages in your repo

@mrchief
mrchief / ServiceStackJsonFormatter.cs
Created November 9, 2012 05:11
Swap ASP.NET WebAPI JsonFormatter with ServiceStack.Text JSON formatter
public class ServiceStackJsonFormatter : MediaTypeFormatter
{
public ServiceStackJsonFormatter()
{
SupportedMediaTypes.Add(new MediaTypeHeaderValue("application/json"));
SupportedEncodings.Add(new UTF8Encoding(false, true));
SupportedEncodings.Add(new UnicodeEncoding(false, true, true));
}
@mrchief
mrchief / LICENSE.md
Last active March 23, 2024 12:28
Add "Open with Sublime Text 2" to Windows Explorer Context Menu (including folders)

MIT License

Copyright (c) [year] [fullname]

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 furnished to do so, subject to the following conditions: