issues:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Inspired by this API example: https://docs.microsoft.com/en-us/rest/api/securitycenter/jitnetworkaccesspolicies/initiate#examples | |
SCRIPT_NAME=$(basename "$0") | |
echo "$SCRIPT_NAME: Requests JIT (ssh) access to vm via the Security Center API." | |
if [[ "$#" -lt 1 ]]; then | |
echo "Error! Usage: $SCRIPT_NAME <vm name> (<justification>) (<iso860 time duration>)" | |
echo "Example iso860 time durations: PT5M (5 mins - default), PT1H (1 hr)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$WebAppResourceGroup = '...' | |
$WebAppName = '...' | |
$HealthCheckUrl = '/healthcheck' | |
$Resource = Get-AzResource ` | |
-ResourceType Microsoft.Web/sites ` | |
-ResourceGroupName $WebAppResourceGroup ` | |
-ResourceName $WebAppName | |
$Resource.Properties.siteConfig.healthCheckPath = $HealthCheckUrl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Inspired by this API example: https://docs.microsoft.com/en-us/rest/api/securitycenter/jitnetworkaccesspolicies/initiate#examples | |
SCRIPT_NAME=$(basename "$0") | |
echo "$SCRIPT_NAME: Requests JIT (ssh) access to vm via the Security Center API." | |
if [[ "$#" -lt 1 ]]; then | |
echo "Error! Usage: $SCRIPT_NAME <vm name> (<justification>)" | |
exit 1 |
iSH is a Linux shell for iOS (no rly).
curl -LsSf http://bit.ly/setupish | sh
briefly appeared on SO before being killed by mods (OP never made an effort to show their progress)
# source: 00000550000066000007700000880000099
- 6:30PM - We'll try to get the Skillsmatter AV team to do setup their laptop. It's the one they use specially for hangouts. One important thing I learnt from last time, is to have the webcam pointing at at the audience. Should help Niko get some audience feedback. We might be buggered if they need us to turn off the lights though. We'll also try to do a quick hangout test with Niko if possible.
- 6:50PM - Intro - We need volunteers to help with Rust workshops for the Mozilla Festival Oct 27th-29th (there will be a paper to stick your email address on if interested). https://www.mozillafestival.org/
- Niko Matsakis (Rust Core Team) - Compiler internals
- Intro (if you want something to read off here's the bios (from skillsmatter and meetup pages))
- Niko does his talk
- 5-10 mins Q & A
- 5 mins break
- Amanieu d'Antras (member of Brussels Rust group) - Intrusive collections for Rust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A gitignore for dotcore development in Visual Studio Code | |
# inspired by : https://github.com/dotnet/core/blob/master/.gitignore | |
# miscellany and obsolete artifact | |
*.swp | |
*.*~ | |
project.lock.json | |
.DS_Store | |
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io; | |
fn main() { | |
let mut guess = String::new(); // we're going to rename the `guess` that's a string | |
io::stdin().read_line(& mut guess).expect("Failed to read line"); | |
println!("string guess: {}", guess); | |
let guess : u32 = guess.trim().parse().expect("Failed to parse as number"); | |
println!("u32 guess: {}", guess); | |
} |
NewerOlder