I hereby claim:
- I am maximrouiller on github.
- I am maximrouiller (https://keybase.io/maximrouiller) on keybase.
- I have a public key ASAzChgehk2OF52sMJsrNUN-nJopQylFGBr_uSetk0HkZwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Directions | |
// Step 1: Click Gist Raw, then Copy/Paste entire gist into Bookmarklets.org/maker/ | |
// Step 2: Change the first 3 variables: alias, event, docs | |
// Step 3: At the bottom of the Bookmarklets.org page, drag the Bookmarklet Hyperlink to your Browser ToolBar | |
// Step 4: Enjoy | |
javascript: | |
( | |
function () { | |
var alias = 'marouill'; |
Param ( | |
[Parameter(Mandatory = $true)] | |
[string]$RepositoryUrl, | |
[string]$org | |
) | |
$RepositoryName = $RepositoryUrl.Split('/')[4] | |
git clone $RepositoryUrl | |
cd $RepositoryName | |
git checkout -b repositoryurl |
#build stage for a Node.js application | |
FROM node:lts-alpine as build-stage | |
WORKDIR /app | |
COPY package*.json ./ | |
RUN npm install | |
COPY . . | |
RUN npm run build | |
#production stage | |
FROM nginx:stable-alpine as production-stage |
$resourceGroupName = "rgServiceFabricCluster" | |
$location = "eastus" | |
# Create our resource group | |
az group create --location $location --name $resourceGroupName | |
# Create our KeyVault Standard instance | |
az keyvault create --name my-sfcluster-keyvault --location $location --resource-group $resourceGroupName --enabled-for-deployment | |
# This command export the policy on file. |
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"resourceNameSuffix": { | |
"defaultValue": "deployment", | |
"type": "String" | |
} | |
}, | |
"variables": { |
http://10printhello.com/rss/ | |
http://beyond-code.com/rss.xml | |
http://blog.bloomca.me/atom.xml | |
http://blog.davidebbo.com/atom.xml | |
http://blog.galasoft.ch/posts/feed/ | |
http://blog.maartenballiauw.be/syndication.axd | |
http://blog.paranoidcoding.com/atom.xml | |
http://cecilphillip.com/rss/ | |
http://codebetter.com/blogs/MainFeed.aspx | |
http://daveaglick.com/feed.rss |
// Required Package: @azure/storage-blob and dotenv | |
// API Docs: https://docs.microsoft.com/en-us/rest/api/storageservices/copy-blob-from-url | |
require('dotenv').config(); | |
const { BlobServiceClient } = require('@azure/storage-blob'); | |
const path = require('path'); | |
let now = new Date(); | |
const AZURE_STORAGE_CONNECTION_STRING = process.env.AZURE_STORAGE_CONNECTION_STRING; |
search: | |
\[FunctionName\("(\w+)"\)\] | |
replace: | |
[FunctionName(nameof($1))] |
string githubToken = Environment.GetEnvironmentVariable("GitHubKey", EnvironmentVariableTarget.Process); | |
const string owner = "dotnet"; | |
string user = "WhatsNewBot"; | |
string repo = "docs"; | |
var date = DateTime.UtcNow.ToString("yyyyMMdd-HHmmss"); | |
string branchName = $"whats-new-{date}"; | |
string filename = $"{DateTime.UtcNow:yyyy-MM-dd}.md"; | |
var client = new HttpClient(); |