GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
- not equal ~=
- logical AND &&
GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
~=&&| package main | |
| // The aim of this example is to illustrate backpressure using golang channels and go routines. | |
| // | |
| // This is the basis for a simple data processing service which could either be reading from | |
| // some internal queue or a socket of some sort. | |
| import ( | |
| "fmt" | |
| "math/rand" | 
| select | |
| concat( | |
| 'create table ', | |
| table_name, | |
| '(', | |
| string_agg( | |
| concat( | |
| column_name, | |
| ' ', | |
| CASE when is_nullable = 'YES' THEN 'Nullable(' END, | 
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| diff --git a/main.go b/main.go | |
| index fdb5ccf..8a68f58 100644 | |
| --- a/main.go | |
| +++ b/main.go | |
| @@ -34,9 +34,57 @@ type mysqlConnKey struct { | |
| username, pass, session string | |
| } | |
| +type request struct { | |
| + query string | 
| Taxes in asturias | |
| Gross: 420000, Net: 220831 (18402 / mo), Tax: 199168 - 47.42 percent goes to taxes | |
| Gross: 245200, Net: 135179 (11264 / mo), Tax: 110020 - 44.87 percent goes to taxes | |
| Gross: 180000, Net: 103231 (8602 / mo), Tax: 76768 - 42.65 percent goes to taxes | |
| Gross: 157700, Net: 92131 (7677 / mo), Tax: 65568 - 41.58 percent goes to taxes | |
| Gross: 113950, Net: 70256 (5854 / mo), Tax: 43693 - 38.34 percent goes to taxes | |
| Gross: 92075, Net: 59318 (4943 / mo), Tax: 32756 - 35.58 percent goes to taxes | |
| Gross: 70200, Net: 47391 (3949 / mo), Tax: 22808 - 32.49 percent goes to taxes | |
| Taxes in bizkaia |