Skip to content

Instantly share code, notes, and snippets.

View timothytavarez's full-sized avatar

Timothy Tavarez timothytavarez

View GitHub Profile
@timothytavarez
timothytavarez / developerRampup.md
Created November 29, 2018 23:36
Developer Rampup relevant links
@timothytavarez
timothytavarez / ExtADSch.log
Created February 17, 2018 14:21
ExtADSch.log from Configuration Manager 1711 Technical Preview Install
<02-17-2018 06:13:22> Modifying Active Directory Schema - with SMS extensions.
<02-17-2018 06:13:22> DS Root:CN=Schema,CN=Configuration,DC=ABC,DC=internal
<02-17-2018 06:13:23> Defined attribute cn=MS-SMS-Site-Code.
<02-17-2018 06:13:23> Defined attribute cn=mS-SMS-Assignment-Site-Code.
<02-17-2018 06:13:23> Defined attribute cn=MS-SMS-Site-Boundaries.
<02-17-2018 06:13:23> Defined attribute cn=MS-SMS-Roaming-Boundaries.
<02-17-2018 06:13:23> Defined attribute cn=MS-SMS-Default-MP.
<02-17-2018 06:13:23> Defined attribute cn=mS-SMS-Device-Management-Point.
<02-17-2018 06:13:23> Defined attribute cn=MS-SMS-MP-Name.
<02-17-2018 06:13:23> Defined attribute cn=MS-SMS-MP-Address.
@timothytavarez
timothytavarez / uplift.js
Created June 26, 2017 01:10
Azure Blob Storage Uploader
'use strict';
const azure = require('azure-storage');
const uuidv1 = require('uuid/v1');
const path = require('path');
const blobService = azure.createBlobService('azuredotjsblob', // fill in your value here.
'connection_key', // fill in your value here.
@timothytavarez
timothytavarez / 10_lyn.js
Created January 30, 2017 20:21
learnyounode Exercise 10
'use strict';
let net = require('net'),
port = process.argv[2],
date = new Date();
function formatMonth() {
if (date.getMonth() < 10) {
let month = date.getMonth() + 1;
return ("0" + month.toString());
@timothytavarez
timothytavarez / 9_lyn.js
Created January 30, 2017 19:19
learnyounode Exercise 9
let http = require('http'),
bl = require('bl'),
count = 0,
responseArr = [];
function printResponses() {
responseArr.forEach(res => {
console.log(res);
})
};
@timothytavarez
timothytavarez / isPalindrome.js
Last active January 30, 2017 19:21
Simple algorithm for determining if a string is an palindrome.
'use strict';
/**
@name isPalindrome
@function
@param {string} string
@returns {boolean}
*/
function isPalindrome(string) {
@timothytavarez
timothytavarez / 8_lyn.js
Created January 29, 2017 18:30
learnyounode Exercise 8
'use strict';
const http = require('http');
const conc = require('concat-stream');
const url = process.argv[2];
http.get(url, function(response) {
response.pipe(conc(function(data) {
console.log(data.toString().length);
console.log(data.toString());
@timothytavarez
timothytavarez / 7_lyn.js
Last active January 30, 2017 02:12
learnyounode Exercise 7
'use strict';
const http = require('http');
const url = process.argv[2];
http.get(url, function(response) {
response.setEncoding("utf8");
response.on("data", console.log);
response.on("error", console.error);
});