SELECT DISTINCT tablename
FROM pg_table_def
WHERE schemaname = 'public'
ORDER BY tablename;
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
| <? | |
| abstract class PropertyBag implements ArrayAccess { | |
| protected $_store = null; | |
| protected $_readOnly = false; | |
| protected function __construct(&$source, $readOnly = false); | |
| public static function fromArray(array &$source, $readOnly = false); | |
| public static function fromObject($source, $readOnly = false); |
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
| dump_dir_name="node_junk_`date +%s%N`" | |
| dump_dir="${HOME}/Temp/${dump_dir_name}/" | |
| echo "NODE/NPM UNINSTALLER v0.0.1 | |
| This uninstaller moves all the node/npm files and folders to ${dump_dir}. | |
| Happy cleaning! | |
| " | |
| paths=( | |
| # The main binaries / executables |
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
| #!elvish | |
| # Personalized based on the original prompt.elv shared by Kurtis Rader | |
| # https://gist.github.com/krader1961/615003e1527950b84a9eef9a45ebcb08 | |
| # NOTES:----------------------------------------------------------------- | |
| # Format of private variables: __variable-name__ Example: __host-name__ | |
| # | |
| # See also: | |
| # - https://github.com/zzamboni/elvish-themes/blob/master/chain.org#use |
New to elvish and playing with the prompt, trying to set a fancy one with this prompt.elv
I am calling elvish ~/.elvish/prompt.elv in my rc.elv (Also tried calling prompt.elv directly at the prompt) but getting this error:
Exception: compilation error: cannot find variable $edit:prompt
~/.local/share/elvish/lib/github.com/zzamboni/elvish-themes/chain.elv, line 289: set edit:prompt = $prompt~
~/.elvish/prompt.elv, line 16: use github.com/zzamboni/elvish-themes/chain
Exception: elvish exited with 2
~/.elvish/rc.elv, line 5: elvish ~/.elvish/prompt.elv
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
| // Real code is down below (scroll): | |
| // Reading the scala 3 documentation on macros (https://docs.scala-lang.org/scala3/guides/macros/macros.html) and trying out this example in that page: | |
| /* | |
| // ----- inspect.scala | |
| def inspectCode(x: Expr[Any])(using Quotes): Expr[Any] = | |
| println(x.show) | |
| x |