-
----------------------------
### Package manager commands -
\# Update installed packages
```
sudo apt-get update &&
sudo apt-get -y upgrade
```
\# Fix & Cleanup Up Apt Packages, etc. -…
-
```rego
package test
import rego.v1
foo if {
false
}
test_foo if {
not foo
}
```
As far as I can tell, this test excercises all possible code paths (as there is only one, reall…
-
The details are a bit fuzzy now, and IRC searches have not clarified much, but I remember heavily advocating for moving the behavior of `-e` invocations from `no strict` to `use strict`. Enough others…
-
Hey @cecileane and @coraallencoleman, here are my solutions using sed!
## Task 1 .
gsed -E -i 's/^([^,]+),"([^,]+),([^,]+),([^,]+)"/\1,\2\3\4/' tableofSNPs.csv
\# Will break in the case o…
-
Original issue: https://github.com/vsoch/usrse.github.io/issues/63 posted by @cosden with discussion from @mtbc
![image](https://user-images.githubusercontent.com/814322/136670041-e824d830-0581-4e…
vsoch updated
2 years ago
-
How should a method be formatted which contains a one-line assignment? Use cases:
``` kotlin
// mutating methods:
var x = 0
fun mutateX(d: Int) {
x += d
}
// trivial custom property setters
var …
-
The one-line output formats that include the location currently return the user input as location name, and (if there is no match) data from either Oymyakon (after `curl` request) or Ban Not, Vietnam …
-
## Description of the issue
Currently the Python example for using the data is shown as a one liner, even though the source has line breaks.
![grafik](https://github.com/OpenEnergyPlatform/oeplatf…
-
```python
# SELECT a+1, d*3, g FROM data ORDER BY b
df = data.sort_values(["b"], ascending=[1])
df = df.assign(a0=(df.iloc[:,0]) + (1.0),a1=(df.iloc[:,3]) * (3.0),g=df.iloc[:,6])[['a0', 'a1', 'g']]…
-
Just want to add another hack to toc2 (https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/toc2), that is, install it standalone b…