Skip to content

Instantly share code, notes, and snippets.

View d12frosted's full-sized avatar
⚠️
war time

Boris Buliga d12frosted

⚠️
war time
View GitHub Profile
@d12frosted
d12frosted / FindDependentAssets.cs
Created May 5, 2017 14:28 — 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.
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()
  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=http://modernie.ngrok.com:##### 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:
From 11f74c32af3f2f5385407672cdeabcd2b9079958 Mon Sep 17 00:00:00 2001
From: Boris Buliga <boris@d12frosted.io>
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
From de7a046b4585db2d7cb054157f39bac608b04034 Mon Sep 17 00:00:00 2001
From: Boris Buliga <boris@d12frosted.io>
Date: Thu, 7 Jun 2018 08:59:13 +0300
Subject: [PATCH 1/1] allow to resize undecorated frame
Signed-off-by: Boris Buliga <boris@d12frosted.io>
---
src/nsterm.m | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From 2724d26e5f6cc8bfa9c9ca86d35e3df396bcd2ba Mon Sep 17 00:00:00 2001
From: Boris Buliga <boris@d12frosted.io>
Date: Thu, 7 Jun 2018 20:11:34 +0300
Subject: [PATCH] allow to resize undecorated frame
---
src/nsterm.m | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/nsterm.m b/src/nsterm.m

Keybase proof

I hereby claim:

  • I am d12frosted on github.
  • I am d12frosted (https://keybase.io/d12frosted) on keybase.
  • I have a public key whose fingerprint is 5E8F 3282 1421 9477 A44A C324 0273 2815 0F06 4FA8

To claim this, I am signing this object:

From 95160c34b4f41e867761f29239db02e8e7232bbe Mon Sep 17 00:00:00 2001
From: Alan Third <alan@idiocy.org>
Date: Mon, 29 Oct 2018 15:37:35 +0000
Subject: [PATCH] Fix more drawing bugs in NS port (bug#32932)
* src/nsterm.m (ns_row_rect): New function.
(ns_clip_to_row): Remove function.
(ns_copy_bits): Fix mistake.
(ns_draw_fringe_bitmap): Stop using ns_clip_to_row.
(ns_draw_window_cursor): Stop using ns_clip_to_row and move
commit 23236f26d2f5839f2fdb7022039dcf102dcf3a3b
Author: Dhruva Krishnamurthy <address@hidden>
Date: Mon Dec 23 14:49:51 2019 -0800
Initialize ImageMagick runtime environment before use
diff --git a/src/image.c b/src/image.c
index 70d932f9ed..50d90ccb55 100644
--- a/src/image.c
+++ b/src/image.c
@d12frosted
d12frosted / migrate_git
Created July 8, 2020 11:59
quick code migration from one repository to another
#!/usr/bin/env bash
#
# Requirements:
#
# 1. git >= 2.25
# 2. git-filter-repo
# 3. bash >= 4.0
#
# Installation:
#!/usr/bin/env bash
set -e
ACTION=$1
emacs_d=$HOME/.config/emacs
if [[ -d "$XDG_CONFIG_HOME" ]]; then
emacs_d="$XDG_CONFIG_HOME/emacs"
fi