Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Fabian Williams fabianwilliams

🎯
Focusing
Block or report user

Report or block fabianwilliams

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fabianwilliams
fabianwilliams / iterm2-solarized.md
Created Apr 27, 2018 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)
View iterm2-solarized.md

Default

Default

Powerlevel9k

Powerlevel9k

@fabianwilliams
fabianwilliams / Create Fabian SpekerEvals Docker WebAPI
Created Jul 6, 2017
This Docker Compose file will pull down my image from Dockerhub and create you the WebAPI backed by MSSQL Linux
View Create Fabian SpekerEvals Docker WebAPI
version: "3"
services:
web:
image: "fabianwilliams/fabsevalswebapi"
build: .
ports:
- "8000:80"
depends_on:
- db
db:
@fabianwilliams
fabianwilliams / FabsDockerExperience
Last active Jul 14, 2017
Working with Docker -- Just Tips and Tricks Stuff
View FabsDockerExperience
Docker
docker-machine ls (this list all the machine that you have locally)
docker-machine start [machine name]
docker-machine stop [machine name]
docker-machine env [machine name]
docker-machine ip [machine name]
docker-machine status [machine name]
docker ps (this list all containers)
View TechoramaBE 2017 MSGraph
#Understanding the Graph Metadata Model
https://graph.microsoft.com/beta/$metadata
#Get Information about Users
https://graph.microsoft.com/v1.0/users/admin@fwilliams.onmicrosoft.com
#Now try it with Beta
https://graph.microsoft.com/beta/users/admin@fwilliams.onmicrosoft.com
https://graph.microsoft.com/beta/users/adelev@fwilliams.onmicrosoft.com
#Now try it and pull only certain properties
https://graph.microsoft.com/beta/users/adelev@fwilliams.onmicrosoft.com?$select=displayName,aboutMe,skills
@fabianwilliams
fabianwilliams / ITDevCon-Fabian-GraphAPI
Created Sep 20, 2016
For my session on Office Graph API & Delve, Unleash the Power
View ITDevCon-Fabian-GraphAPI
//Calls to graph Api from Postman for Demos
View Setting Up Node.JS Project w Express and PassPort
1. Navigate to the Directory you want your Project to be in
2. install -g express-generator
3. this will install Express Generator Globally on your system if it is not already installed
4. express projectNameHere
5. this creates a bunch of folders and files for you and will give you the scaffolding you need for your project
its install will include packages that may not be installed on your system and not in your packages.json file so
6. npm install
7. thats it. if you run npm start it will spin up your site
8. you can start to use and customize the app.js file typically i will switch the view engine to use ejs over jade
9. locate the line in app.js and change it from jade to ejs
View Clear SharePoint Designer Cache
// Save the below in a .ps1 file and then execute on the offending computer
Remove-Item "$($env:APPDATA)\Microsoft\Web Server Extensions\Cache\*" -recurse -force
Remove-Item "$($env:USERPROFILE)\AppData\Local\Microsoft\WebsiteCache\*" -recurse -force
View Using passport-strategy
//For Facebook
Strategy.prototype._convertProfileFields = function(profileFields) {
var map = {
'id': 'id',
'username': 'username',
'displayName': 'name',
'name': ['last_name', 'first_name', 'middle_name'],
'gender': 'gender',
'profileUrl': 'link',
'emails': 'email',
View RoadmapToXamarinWithWAMS
Steps to Accomplish Xamarin.Forms with Azure
Steps with Explanatory Notes
Section 1 - Create or Attach to a Windows Azure Mobile Service URI
1. Log into https://manage.windowsazure.com
2. Click on the option to create an Azure Mobile Service (WAMS) if the one you want to use does not exist otherwise just click on the one you will be using in this process. By default you get a ToDo Items Entity and Controller
3. Optional – Adjust your Data Objects(Entitys Add, Edit, etc)
4. Optional – Adjust your Controllers (CRUD-Q Capabilities)
5. Publish your WAMS URI back to Azure
@fabianwilliams
fabianwilliams / JailBreakFromWAMS
Created Jun 26, 2015
WAMS datastructure included
View JailBreakFromWAMS
MongoDB shell version: 3.0.4
connecting to: ds034208.mongolab.com:34208/FabianMongoLab
> db.JailBreak.find().pretty()
{
"_id" : ObjectId("558ddb8791bb5a9e249a55de"),
"Version" : null,
"CreatedAt" : [
NumberLong("635709569354081905"),
0
],
You can’t perform that action at this time.