Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| /* | |
| Erosion noise implementation in C# (with the Unity.Mathematics package), | |
| ported one-to-one from the Shadertoy shader code by Fewes and clayjohn. | |
| Please note that while the majority of the code is provided under the MIT license, | |
| the quite central "erosion" function is adapted from code shared under the | |
| Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. | |
| Shadertoy comment by Fewes from https://www.shadertoy.com/view/7ljcRW : |
| { | |
| // See https://go.microsoft.com/fwlink/?LinkId=733558 | |
| // for the documentation about the tasks.json format | |
| "version": "2.0.0", | |
| "tasks": [ | |
| /* | |
| Configure Windows Ninja LLVM | |
| */ | |
| { | |
| "label": "Configure Windows Ninja LLVM Debug", |
| sysctl -w fs.file-max=12000500 | |
| sysctl -w fs.nr_open=20000500 | |
| ulimit -n 4000000 | |
| sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000' | |
| sysctl -w net.ipv4.tcp_rmem='1024 4096 16384' | |
| sysctl -w net.ipv4.tcp_wmem='1024 4096 16384' | |
| sysctl -w net.core.rmem_max=16384 | |
| sysctl -w net.core.wmem_max=16384 | |
| wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
| sudo dpkg -i erlang-solutions_1.0_all.deb |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| var request = require('supertest'), | |
| should = require('should'), | |
| app = require('../server'); | |
| var Cookies; | |
| describe('Functional Test <Sessions>:', function () { | |
| it('should create user session for valid user', function (done) { | |
| request(app) | |
| .post('/v1/sessions') |
| --colour | |
| -I app |
| /* | |
| * jQuery selectbox plugin | |
| * | |
| * Copyright (c) 2007 Sadri Sahraoui (brainfault.com) | |
| * Licensed under the GPL license and MIT: | |
| * http://www.opensource.org/licenses/GPL-license.php | |
| * http://www.opensource.org/licenses/mit-license.php | |
| * | |
| * The code is inspired from Autocomplete plugin (http://www.dyve.net/jquery/?autocomplete) | |
| * |