Skip to content

Instantly share code, notes, and snippets.

View iskandar's full-sized avatar
🤖
GREETINGS, HUMAN!

Iskandar Najmuddin iskandar

🤖
GREETINGS, HUMAN!
View GitHub Profile
@iskandar
iskandar / Bootstrap.ps1
Last active February 25, 2018 15:07
Azure Custom Script Extension Bootstrap
# Start logging, overwriting any existing log file.
$LogFile = "C:\cse-bootstrap.log"
Start-Transcript -Path $LogFile
Write-Host "Hello World!"
# Get info about host
# @see https://docs.microsoft.com/en-us/powershell/scripting/getting-started/cookbooks/collecting-information-about-computers?view=powershell-6
@iskandar
iskandar / Bootstrap.ps1
Last active September 29, 2016 22:11
Generic Azure DSC Node registration script
##
# An example DSC node bootstrap shim that fetches and runs a public GitHub gist
##
# Registration details. These are both sensitive secrets!
$RegistrationUrl = 'https://we-agentservice-prod-1.azure-automation.net/accounts/UUID'
$RegistrationKey = 'secretkey'
# The GitHub Gist contains public, generic content.
@iskandar
iskandar / network.bat
Created October 3, 2014 10:04
Windows 8 network setup
# Based on http://superuser.com/a/679330
set interface="Ethernet"
# The extra IP address you want to add
set extra_ip=192.168.19.9
set extra_mask=255.255.255.0
# The base network part of your DHCP-allocated address
set dhcp_base_network=192.168.20
@iskandar
iskandar / keybase.md
Last active April 16, 2020 16:20
keybase.md

Keybase proof

I hereby claim:

  • I am iskandar on github.
  • I am iskandar (https://keybase.io/iskandar) on keybase.
  • I have a public key ASDSJYWyjtmt-0Few6gkovSA7JroWfVtazpucFukT7mVBQo

To claim this, I am signing this object:

@iskandar
iskandar / FB-Page-Post-UTF8-link-name-test.sh
Created March 11, 2013 17:31
Test script for FB Bug 477652302302304
#!/bin/bash
#######
# For FB Bug 477652302302304
# https://developers.facebook.com/bugs/477652302302304
#######
##
## Edit these values
##