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
| Add the following line to the ConfigureServices() in startup.cs: | |
| services.AddMvc(option => option.EnableEndpointRouting = false); | |
| In the Configure() method, remove the 'app.UseEndpoints()' call. | |
| Replace that line with: | |
| app.UseMvcWithDefaultRoute(); | |
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
| Make a mark on your filament from some physical reference point. | |
| Now extrude 100mm of filament. | |
| Make a new mark on the filament from the same reference point. | |
| Measure the distance between the two marks. This value will be x. | |
| Your new e-steps/mm will be calculated with the following formula: | |
| (100 / x) * <Your current e-steps/mm> |
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
| /* | |
| Assignment Two | |
| SYST30102 - Operating System Analysis and Design | |
| Jeremy Clark, 2019 | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <math.h> |
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 <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| int main(int arc, char *argv[]) { | |
| int fork_a = fork(); | |
| if(fork_a < 0) { |
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
| { | |
| "id": 1, | |
| "name": "Puff", | |
| "age": "4", | |
| "breed": "Pitbull", | |
| "long": -79.798302, | |
| "lat": 43.325989, | |
| "likes_you": false, | |
| "picture": ["https://i.imgur.com/xAkHLcx.jpg", "https://i.imgur.com/eBspIMw.jpg", "https://i.imgur.com/5No83ys.jpg", "https://i.imgur.com/x0JqbWK.jpg", "https://i.imgur.com/OeO1TZr.jpg"] | |
| } |
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
| How to setup React Native and React-Navigation on your stupid Windows machine: | |
| March 22nd, 2019 | |
| Step One: Dependencies | |
| Get choco. | |
| Next, install YARN on your system. This will streamline a lot of the process. Facebook forgets to mention | |
| it but it makes your life a lot easier: |
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
| /*************************************** | |
| * CONWIN: The CONsole WINdowing system | |
| * | |
| * Useful for making basic visual interfaces | |
| * within limited console windows. | |
| * | |
| * Created March 2019, Jeremy Clark | |
| * ****************************************/ | |
| namespace ConWin { |
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
| /* Rotary encoder handler for arduino. | |
| * | |
| * Copyright 2011 Ben Buxton. Licenced under the GNU GPL Version 3. | |
| * Contact: bb@cactii.net | |
| * | |
| */ | |
| #include "Arduino.h" | |
| #include "Mrot.h" |
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
| var Acid = Acid||{}; | |
| Acid.EntityManager = (function() { | |
| var entities = []; //[x % 32][y % 32]; | |
| var subdivision_size = 32; | |
| var IDIterator = 0; | |
| return{ | |
| addEntity : function(entity_) { | |
| if(entities[Math.floor(entity_.x % subdivision_size)] == undefined) { |
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
| package whatever.dude.who.cares; | |
| import android.app.Activity; | |
| import android.os.AsyncTask; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.widget.TextView; | |
| import android.widget.Toast; | |
| import java.io.BufferedReader; |