- open mongod.conf
sudo nano /etc/mongod.conf
- Comment security
#security:
# authroization: "enabled"
sudo nano /etc/mongod.conf
#security:
# authroization: "enabled"
Please stop using this extension and Microsoft's C++ extension for Unreal code completion.
The VSCode extension clangd has blazing fast code completion in comparison. I've made a VSCode extension for it:
https://github.com/boocs/unreal-clangd
You will use clangd for code completion(Intellisense) and use Microsoft's C++ extension for Building/Debugging
| /* | |
| AUTO-COMPLETE SNIPPETS FOR GLSL WITHIN VISUAL CODE STUDIO | |
| Lewis Lepton | |
| https://lewislepton.com | |
| useful places that i grabbed info from | |
| http://www.shaderific.com/glsl | |
| https://www.khronos.org/opengl/wiki/OpenGL_Shading_Language | |
| plus various other papers & books | |
| */ |
| # For Windows users# Note: <> denotes changes to be made | |
| #Create a conda environment | |
| conda create --name <environment-name> python=<version:2.7/3.5> | |
| #To create a requirements.txt file: | |
| conda list #Gives you list of packages used for the environment | |
| conda list -e > requirements.txt #Save all the info about packages to your folder |
| # How to uninstall Razer Synapse 2 ( https://www.razerzone.com/synapse-2 ) | |
| # on OS X (10.11-10.13) (El Capitan, Sierra, High Sierra) | |
| # without using Razer's official uninstall tool. | |
| # Tested on OS X 10.11.5 in July 2016. | |
| # Edited with additional steps for later OS X versions, | |
| # contributed by commenters on this gist. | |
| # Step 1: In your terminal: stop and remove launch agents | |
| launchctl remove com.razer.rzupdater |
| #!/bin/bash | |
| # How to use | |
| # 1. Replace the "YOURIP" to yourIP | |
| #sed -i -e 's/YOURIP/192.168.x.x/g' setup-taiga-centos.sh | |
| # 2. Run at the root | |
| #source setup-taiga-centos.sh |
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html (in case that link ever dies.)
Assume you've got homebrew installed.
Download the following files from Oracle
| private function addDistortionTo(target:DisplayObject):void | |
| { | |
| var offset:Number = 0; | |
| var scale:Number = Starling.contentScaleFactor; | |
| var width:int = target.width; | |
| var height:int = target.height; | |
| var perlinData:BitmapData = new BitmapData(width * scale, height * scale, false); | |
| perlinData.perlinNoise(200*scale, 20*scale, 2, 5, true, true, 0, true); | |
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf
File locations:
nginx.conf to /usr/local/etc/nginx/default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-availablehomebrew.mxcl.nginx.plist to /Library/LaunchDaemons/