Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Boris Buliga d12frosted

I may be slow to respond.
View GitHub Profile
View 0001-increase-size-of-remembered_data.patch
From 11f74c32af3f2f5385407672cdeabcd2b9079958 Mon Sep 17 00:00:00 2001
From: Boris Buliga <>
Date: Thu, 24 May 2018 21:19:03 +0300
Subject: [PATCH] increase size of remembered_data
src/pdumper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pdumper.c b/src/pdumper.c
d12frosted / FindDependentAssets.cs
Created May 5, 2017 — forked from winkels/FindDependentAssets.cs
Unity editor script to find all assets that depend on the currently selected asset (i.e. assets that have serialized references to the selected asset). NOTE: Currently only works on OS X.
View FindDependentAssets.cs
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class FindDependentAssets
[MenuItem("Assets/Find Dependent Assets")]
public static void FindAssets()
d12frosted /
Created Oct 10, 2016 — forked from yogsototh/
Starting Emacs in GUI with shell environment variables correctly set


When starting on Mac, the Emacs doesn't have some environment variable set correctly. Typically it is terrible when you use GPG, pinentry-mac, gpg-agent But also a lot of different variables used to make git works correctly, etc...


  1. Create the file ~/bin/

Keybase proof

I hereby claim:

  • I am d12frosted on github.
  • I am d12frosted ( on keybase.
  • I have a public key ASDWalCe2USqwkWak_d8e3TZ-jDp0M6w66lrUc4TQcLViQo

To claim this, I am signing this object:

d12frosted / projectile-replace-regexp.el
Created Feb 27, 2016
A version of projectile-replace function that works with regexps. Be careful when using it on huge projects.
View projectile-replace-regexp.el
(defun projectile-replace-regexp ()
"Replace a string in the project using `tags-query-replace'.
Less efficient than `projectile-replace' but at least allows
usage of regular expressions. See for more details
on `projectile-replace' issue with regexps."
(interactive "P")
(let* ((old-text (read-string
(projectile-prepend-project-name "Replace: ")
d12frosted / EmacsKeyBinding.dict
Last active Aug 29, 2015 — forked from jwreagor/EmacsKeyBinding.dict
Global Emacs Key Bindings for OS X
View EmacsKeyBinding.dict
/* Keybindings for emacs emulation. Compiled by Jacob Rus.
* This is a pretty good set, especially considering that many emacs bindings
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and
* perhaps a few more, are already built into the system.
* This file uses the Option key as a meta key. This has the side-effect
* of overriding Mac OS keybindings for the option key, which generally
d12frosted / MarIO.lua
Created Jun 15, 2015
MarI/O by SethBling
View MarIO.lua
-- MarI/O by SethBling
-- Feel free to use this code, but please do not redistribute it.
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM.
if gameinfo.getromname() == "Super Mario World (USA)" then
Filename = "DP1.state"
ButtonNames = {
  1. Decide on a subdomain to use with ngrok. This makes the whole process easier.
  2. Open up a Command Prompt in Administrator mode and run the following command to register the URL with HTTP.sys replacing "modernie" with your subdomain and ##### with your VisualStudio/IISExpress application's port.
netsh add urlacl url= user=everyone
  1. Edit your applicationhost.config. The easiest way to is start up the site and right-click the IISExpress icon in the System Tray. Click "Show All Applications" and select your website running at localhost:#####. Click the path next to "Config" to open the file in an editor.
  2. Search for you site's <bindings> configuration. The easiest way is to search for *:#####:localhost, which should bring you to the <bindings> section for your site. Edit them to include the following:
View Log.cs
using UnityEngine;
namespace Assets.Phunk.Core
public static class Log
#region Error
public static void ErrorFormat(UnityEngine.Object context, string template, params object[] args)
var message = string.Format(template, args);
function f
set -l glob name "hello"
# for comment case
if something_true
begin; do_not_ignore_inliners; end
begin; echo "1"; end; begin; echo "2"; end