Skip to content

Instantly share code, notes, and snippets.

View tonidy's full-sized avatar

toni dy tonidy

View GitHub Profile
8/6/2016 12:18:58 PM [NORMAL] - Method "Main" at line 145 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\Program.cs
PowerShell Editor Services Host v0.6.1.356 starting (pid 4044)...
Host application details:
Name: Visual Studio Code Host
ProfileId: Microsoft.VSCode
Version: 0.6.1
@tonidy
tonidy / abp-error.sh
Created August 31, 2016 14:13
abp-error
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
@tonidy
tonidy / README.md
Created September 28, 2016 09:54 — forked from addyosmani/README.md
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@echo off
IF [%1] == [] GOTO paramEmpty
egghead-downloader -c https://egghead.io/courses/%1 %1
:paramEmpty
echo.Please set parameter
echo.Example: egd courseName

Homebrew Permissions Denied Issues Solution

Installing and fixing node.JS


brew install node

Keybase proof

I hereby claim:

  • I am tonidy on github.
  • I am tonidy (https://keybase.io/tonidy) on keybase.
  • I have a public key ASAF-b8TxTCEA4EOcjkRVnBHWzNj_OB4aQfJlS1Yf8ecSwo

To claim this, I am signing this object:

@tonidy
tonidy / install.sh
Created June 4, 2018 06:52
Install Android SDK on MacOS
# Source: https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03#gistcomment-2376496
# Update:
# Use Homebrew to install Android dev tools:
brew cask install android-sdk
brew cask install android-ndk
# Update your environment variables:
export ANDROID_NDK_HOME=/usr/local/share/android-ndk
export ANDROID_SDK_ROOT=/usr/local/share/android-sdk
private void InitialiseConfiguration(string webConfigPath)
{
// Resetting is based on http://stackoverflow.com/questions/6150644/change-default-app-config-at-runtime
AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", webConfigPath);
typeof(ConfigurationManager).GetField("s_initState", BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, 0);
typeof(ConfigurationManager).GetField("s_configSystem", BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, null);
typeof(ConfigurationManager).Assembly.GetTypes().Where(x => x.FullName == "System.Configuration.ClientConfigPaths")
.First()
.GetField("s_current", BindingFlags.NonPublic | BindingFlags.Static)
@tonidy
tonidy / gist:cd9e1783b75bfe9b195a55f9424d613a
Last active December 31, 2018 16:40
So Easy Pattern (really?)
n=1
x
n=2
x
x x
x
n=3
x
@tonidy
tonidy / gist:d8252d21fcb4e09ee010f87991db6cf3
Last active February 24, 2019 05:01
After installed manjaro
1. Update manjaro awesome
2. Install google chrome
3. Turn on account sync in chrome
4. Install Linuxbrew (http://linuxbrew.sh/)
5. https://thiagoreis.netlify.com/essential-things-to-do-after-install-manjaro-18
6.