This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RED_ON='\e[0;31m'; | |
GREEN_ON='\e[0;32m'; | |
YELLOW_ON='\e[0;33m' | |
OFF='\e[0m' | |
# Python 3 Virtual Env !!! replace with your own !!! | |
source ~/Projects/tensorflowp3/bin/activate | |
# Set arguments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Make sure ruby is installed | |
2. Add this to your bash profile: | |
# emoji prompt | |
export PS1="\w \$(~/.emoji.rb) " | |
2(alt). Or, if you are using zsh, edit your theme and add this to the PROMPT (I put it at the end with a couple spaces after) | |
$(~/.emoji.rb) | |
3. create .emoji.rb and place in same directory as bash profile and with contents: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using MonoTouch.Foundation; | |
using MonoTouch.ObjCRuntime; | |
using MonoTouch.UIKit; | |
namespace iOSLib | |
{ | |
public static class ViewExtensions | |
{ | |
public static String ViewDisposed = "ViewExtension_ViewDisposed"; |