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
| Host dashword | |
| HostName heroku.com | |
| User [email protected] | |
| IdentityFile ~/.ssh/dash_rsa |
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
| LSM will be setting up their first event workshop at the end of August. | |
| They are looking for a few hands-on local reps to help them setup and run the event. | |
| If you are interested, go to this link: | |
| https://leanstartupmachine.wufoo.com/forms/founding-organizer-application/ | |
| Straight from the event organizer's mouth, this is what they are looking for: | |
| LOCAL REP's (i.e, Founding Organizers) | |
| -Napkin notes: |
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
| 13:53 ~ $ pip | |
| Traceback (most recent call last): | |
| File "/usr/local/bin/pip", line 5, in <module> | |
| from pkg_resources import load_entry_point | |
| File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> | |
| working_set.require(__requires__) | |
| File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require | |
| needed = self.resolve(parse_requirements(requirements)) | |
| File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve | |
| raise DistributionNotFound(req) # XXX put more info here |
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
| function parse_git_branch { | |
| git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| RED='\[\033[0;31m\]' | |
| YELLOW='\[\033[0;33m\]' | |
| GREEN='\[\033[0;32m\]' | |
| PS1="$RED\$(date +%H:%M) \w$YELLOW \$(parse_git_branch)$GREEN\$ " |
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
| 2012-07-30T20:31:50+00:00 heroku[web.1]: Starting process with command `python dashword/dashword.py` | |
| 2012-07-30T20:31:51+00:00 app[web.1]: File "/app/dashword/handlers/UserHandler.py", line 1, in <module> | |
| 2012-07-30T20:31:51+00:00 app[web.1]: from models.Passwords import Password | |
| 2012-07-30T20:31:51+00:00 app[web.1]: File "dashword/dashword.py", line 5, in <module> | |
| 2012-07-30T20:31:51+00:00 app[web.1]: Traceback (most recent call last): | |
| 2012-07-30T20:31:51+00:00 app[web.1]: from handlers.UserHandler import LoginHandler, LogoutHandler, RegisterHandler, ProfileHandler, PasswordHandler, TeamHandler | |
| 2012-07-30T20:31:51+00:00 app[web.1]: ImportError: No module named Passwords | |
| 2012-07-30T20:31:52+00:00 heroku[web.1]: Process exited with status 1 | |
| 2012-07-30T20:31:53+00:00 heroku[web.1]: State changed from starting to crashed |
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
| function parse_git_branch { | |
| git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| RED='\[\033[0;31m\]' | |
| YELLOW='\[\033[0;33m\]' | |
| GREEN='\[\033[0;32m\]' | |
| PS1="$RED\$(date +%H:%M) \w$YELLOW \$(parse_git_branch)$GREEN\$ " |
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
| .js-loading-overlay { | |
| position:absolute; | |
| top:0; bottom:0; | |
| left:0; right:0; | |
| z-index:199; | |
| background:#fff; | |
| opacity:0.5; |
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
| public static class Utils{ | |
| public static void Using<T>(T x, Action<T> func) where T: IDisposable | |
| { | |
| try { | |
| func(x); | |
| }catch(){ | |
| }finally{ | |
| x.Dispose(); | |
| } |
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
| fn parse<'de, T>(body: Bytes) -> Option<T> | |
| where T: Deserialize<'de> | |
| { | |
| serde_json::from_reader(body.into_buf()).unwrap_or_default() | |
| } |
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
| struct NVTextField<V: Hashable>: UIViewRepresentable { | |
| @Binding var text: String | |
| var id: V | |
| @Binding var firstResponder: V? | |
| private var onReturn: () -> Void | |
| init(text: Binding<String>, id: V, firstResponder: Binding<V?>, onReturn: @escaping (() -> Void) = {}) { | |
| self.id = id | |
| _text = text | |
| _firstResponder = firstResponder |