Skip to content

Instantly share code, notes, and snippets.

View codewithtyler's full-sized avatar

Tyler Hughes codewithtyler

View GitHub Profile
@codewithtyler
codewithtyler / .eslintrc
Created February 26, 2019 23:17
Urban Engine Default ESLint Config
// Use this file as a starting point for your project's .eslintrc.
// Copy this file, and add rule overrides as needed.
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
-- Get name of table using the constraint name
SELECT owner, table_name
FROM user_constraints
WHERE constraint_name = '';
Malware Test Lab Components
Hardware
- Single Powerful Desktop/Laptop
- Virtualbox or VMware
- 16 GB RAM
- Decent storage capacity
- 8 port Gigabit switch
Option but not Recommended
private string _distinguishedName = "OU=test,DC=cwn,DC=org";
DirectoryManagement manager = new DirectoryManager( _distinguishedName );
List<Container> containers = manager.Children;
List<Group> groups = containers.Children;
// Add a new container
Container _container = new Container();
manager.Add( _container );
@codewithtyler
codewithtyler / CONTRIBUTING.md
Created December 1, 2016 16:21
Example Contributing, Issue and Pull Request Templates as pulled from Mads Kristensen's WebAccessibilityChecker project.

Contributing

Looking to contribute something? Here's how you can help.

Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.

Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing

@codewithtyler
codewithtyler / Start Outlook at logon.xml
Created November 30, 2016 14:28
Starting Outlook via Task Scheduler
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2016-11-30T08:25:10.4794576</Date>
<Author>INGRNET\thughes</Author>
<Description>Starting Outlook via a delayed start</Description>
<URI>\Start Outlook at logon</URI>
</RegistrationInfo>
<Triggers>
<LogonTrigger>
@codewithtyler
codewithtyler / event.md
Last active September 13, 2016 01:12
Links for creating custom events to various calendar event sites
@codewithtyler
codewithtyler / notes.js
Created September 4, 2016 23:32
Notes for completing issue #44 of BeagleTerm (https://github.com/beagleterm/beagle-term)
portDropdown // COM1
bitrateDropdown // 9600
databitDropdown // eight
parityDropdown // no
stopDropdown // one
flowControlDropdown // false

Helper Methods

  • convertToKelvin

Current Weather Conditions

  • temperature (gets only the temperature from the response and will be in either Fahrenheit or Celisus)
  • conditions (returns full response from source)

Forecast

  • high or highs
  • low or lows
@codewithtyler
codewithtyler / api.js
Created August 9, 2016 00:56
A few ideas I jotted down of how we could integrate API keys into the weather.js project
Weather.init({
key: "12345abcde6789fghij"
});
Weather.getCurrent("Kansas City", function(current) {
console.log(
["currently:",current.temperature(),"and",current.conditions()].join(" ")
);
});