See https://hub.docker.com/_/microsoft-mssql-server
docker pull mcr.microsoft.com/mssql/serverdocker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Password123" -p 1433:1433 --name localsqlserver -d mcr.microsoft.com/mssql/server:latest| import datetime | |
| from github import Github | |
| from helper import fetch_jobs | |
| PAT_TOKEN_PATH = "/Users/shubham1172/.pat_token" | |
| DAPR_CLI_REPO = "dapr/dapr" | |
| LOOKBACK_DAYS = 3 | |
| # read token from file | |
| with open(PAT_TOKEN_PATH, "r") as f: |
| # The time utility has been taken from https://gist.github.com/jpoehls/2206444 | |
| . "C:\Users\shubhash\Documents\WindowsPowerShell\time.ps1" | |
| $DAPR_170_BIN="C:\Users\shubhash\Desktop\dapr_windows_amd64\v1.7.0-rc.2\dapr.exe" | |
| $DAPR_160_BIN="C:\Dapr\dapr.exe" | |
| $SAMPLE_SIZE=100 | |
| Write-Host "############################" | |
| Write-Host " dapr --version" | |
| Write-Host "############################" |
See https://hub.docker.com/_/microsoft-mssql-server
docker pull mcr.microsoft.com/mssql/serverdocker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Password123" -p 1433:1433 --name localsqlserver -d mcr.microsoft.com/mssql/server:latest| // run this script as a trigger for your events spreadsheet to sync all the events with google calendar | |
| function myFunction() { | |
| SpreadsheetApp.getActiveSpreadsheet().getActiveSheet().getDataRange().sort(1) | |
| Logger.log("Fetching calendar data..."); | |
| // TODO: replace calendarId with actual id | |
| var cal = CalendarApp.getCalendarById(calendarId); | |
| var titles = fetchCalendarTitles(cal); |
| import os | |
| import sys | |
| import unshare | |
| import random | |
| import string | |
| import cgroups | |
| if len(sys.argv) == 1: | |
| print(f"Usage {sys.argv[0]} cmd args") | |
| sys.exit(1) |
| #!/bin/sh | |
| # This script helps me update my dot files regularly | |
| # It exists in my anacrontab as: | |
| # | |
| # @daily 10 setup.backup su -c /home/shubham1172/setup/scripts/backup.sh - shubham1172 >> /home/shubham1172/.anacronlogs 2>&1 | |
| cd ${HOME}/setup/ | |
| BACKUP=${HOME}/setup/scripts/backup |