Disclaimer: I have no professional education in Compulational Fluid Dynamics, these are various notes on what I found/learned when trying to learn a bit on the topic. Some of the notes lack sources as I wrote them up later often just remembering some StackExchange answer. Some things I might have misinterpreted.
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
### Keybase proof | |
I hereby claim: | |
* I am michaltakac on github. | |
* I am questalion (https://keybase.io/questalion) on keybase. | |
* I have a public key ASAwlfYMZkTdNTEpSHilSbxxqmmA58eVtQSA8mTHbcV0NAo | |
To claim this, I am signing this object: |
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
#include <arrayfire.h> | |
#include <math.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
using namespace af; | |
int main(int argc, char *argv[]) { | |
af::info(); | |
const unsigned nx = 1000, ny = 300; | |
const unsigned total_nodes = nx * ny; |
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
#include <arrayfire.h> | |
#include <math.h> | |
#include <stdio.h> | |
using namespace af; | |
int main(int argc, char *argv[]) | |
{ | |
int nx = 4; | |
int ny = 3; |
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 mongoose from "mongoose"; | |
if (!process.env.MONGODB_URI) { | |
throw new Error("Please define the MONGODB_URI environment variable inside .env.local"); | |
} | |
/** | |
* Global is used here to maintain a cached connection across hot reloads | |
* in development. This prevents connections growing exponentially | |
* during API Route usage. |
2018-03-18: Updating of this guide is taking a backseat to the mainnet version at
This guide is specific to getting LND and bitcoind running on ubuntu 16.04 LTS for testnet.
It does not address mainnet, or using btcd, or neutrino.
Original installation guide:
I hereby claim:
- I am michaltakac on github.
- I am michaltakac (https://keybase.io/michaltakac) on keybase.
- I have a public key ASDzhqrolP04w98A9JRjOHOpQuWnqaZIm50UB1-C2mncwQo
To claim this, I am signing this object:
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
class componentName extends Component { | |
constructor(props) { | |
this.state = { | |
spotreba: '' | |
} | |
} | |
componentWillMount() { | |
var self = this; | |
axios.get(url) | |
.then(function(response) { |
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
<!-- CURSOR ENTITY --> | |
<a-entity position="0 1.8 5"> | |
<a-entity | |
id="camera" | |
camera | |
look-controls | |
rotation="0 0 0" | |
wasd-controls | |
> | |
<!-- MAIN CURSOR --> |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.
NewerOlder