Skip to content

Instantly share code, notes, and snippets.

@fasl
fasl / GM365DevBootcamp_MGraphAPI.md
Created November 23, 2019 01:26 — forked from Rinatamu/GM365DevBootcamp_MGraphAPI.md
Global Microsoft 365 Developer Bootcamp 2019 Tokyo:Microsoft Graph API
@fasl
fasl / RoleAssignmentManagement.ps1
Created September 28, 2018 08:02 — forked from SharePointX/RoleAssignmentManagement.ps1
PowerShellでSharePointの権限設定
# サイトURLを指定
$webUrl = "http://yamasp2016/sites/es2_20160726"
# ページURLを指定
$pageUrl = "Pages/page1.aspx"
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
#サイトを取得
$web = Get-SPWeb $webUrl
#ページ(SPFile)取得
@fasl
fasl / download_sp.py
Created June 8, 2018 04:45 — forked from mckoss/download_sp.py
SharePoint downloader for Python
"""
Download all document links from a web page.
Used to extract all the docouments from a Sharepoint document library.
by Mike Koss, September, 2009
Notes:
9/14/09 mck:
Using Beautiful soup version 3.0.7a. The current version (3.1.0.1) is NOT resilient
@fasl
fasl / download_sp.py
Created June 8, 2018 04:45 — forked from mckoss/download_sp.py
SharePoint downloader for Python
"""
Download all document links from a web page.
Used to extract all the docouments from a Sharepoint document library.
by Mike Koss, September, 2009
Notes:
9/14/09 mck:
Using Beautiful soup version 3.0.7a. The current version (3.1.0.1) is NOT resilient
@fasl
fasl / upload.rb
Created January 29, 2018 04:47 — forked from schacon/upload.rb
ruby script to upload a file to GitHub downloads section
#! /usr/bin/env ruby
#
# ruby upload.rb user pass user/repo file '(description)'
#
require 'json'
if ARGV.size < 4
puts "\nUSAGE: upload.rb [user] [pass] [user/repo] [filepath] ('description')"
exit
@fasl
fasl / github_issues_to_csv.rb
Created September 22, 2017 02:35 — forked from tkarpinski/github_issues_to_csv.rb
Exports Github issues to CSV (API v3)
require 'octokit'
require 'csv'
require 'date'
# Github credentials to access your private project
USERNAME="USER_NAME"
PASSWORD="SEKRIT"
# Project you want to export issues from
USER="REPO_OWNER"
PROJECT="REPO_NAME"
@fasl
fasl / curl.md
Created September 14, 2017 06:03 — forked from btoone/curl.md
A curl tutorial using GitHub's API

Introduction

An introduction to curl using GitHub's API.

The Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin