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
| code --install-extension ms-vscode.sublime-keybindings | |
| code --install-extension msjsdiag.debugger-for-chrome | |
| code --install-extension PeterJausovec.vscode-docker | |
| code --install-extension PKief.material-icon-theme | |
| code --install-extension redhat.vscode-yaml | |
| code --install-extension Shan.code-settings-sync | |
| code --install-extension william-voyek.vscode-nginx |
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
| // https://askubuntu.com/a/51953 | |
| // If you want all new files in a particular directory to be owned by a particular group, just apply the setgid bit on it: | |
| chgrp www-data /some/dir | |
| chmod g+s /some/dir | |
| // If you have an existing tree of directories that you want to apply this behaviour to, you can do so with find: | |
| find /some/dir -type d -exec chgrp www-data {} + |
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
| PROMPT_DIRTRIM=3 | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\]$ " |
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
| [Desktop Entry] | |
| Name=Spark | |
| Version=2.7.7 | |
| GenericName=Spark | |
| X-GNOME-FullName=Spark | |
| Comment=ignite realtime Spark IM client | |
| Type=Application | |
| Categories=Application;Utility; | |
| Path=/opt/spark | |
| Exec=/opt/spark/Spark |
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
| import React from 'react'; | |
| export default function App() { | |
| const Form = ({ validationSchema, ...props }) => { | |
| function recursiveMap(children, fn) { | |
| return React.Children.map(children, child => { | |
| if (!React.isValidElement(child)) { | |
| return child; |
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
| // https://askubuntu.com/a/51953 | |
| // If you want all new files in a particular directory to be owned by a particular group, just apply the setgid bit on it: | |
| chmod -R 755 /some/dir | |
| chgrp www-data /some/dir | |
| chmod g+s /some/dir | |
| // If you have an existing tree of directories that you want to apply this behaviour to, you can do so with find: |
NewerOlder