PS> cd \path\to\Dockerfile
PS> docker build .
View running processes
Display dialog box with custom icon called _icon.icns_ | |
``` | |
display dialog "My custom icon " buttons {"Cancel", "Continue"} default button "Continue" with icon file "Contents:Resources:icon.icns" | |
``` | |
``` | |
set x to ((path to me as text) & "Contents:Resources:myicon.icns") as alias | |
display dialog "your text here" with icon x | |
``` |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Lightroom Image Import Prep v0.2 | |
todayDate="$(date +'%Y%m%d')" | |
sdCard=$"/Volumes/EOS_Digital/DCIM/100CANON/*" | |
newDir=$"$HOME/Desktop/$todayDate" | |
if [ -d "/$HOME/Desktop/$todayDate" ]; then | |
echo "Folder exists, manual import" |
# Contribution License Agreement | |
This Contribution License Agreement ("Agreement") is agreed to by the party signing below ("You"), | |
and conveys certain license rights to RePass Cloud Pty Ltd and its affiliates ("RePass Cloud") for Your | |
contributions to RePass Cloud open source projects. This Agreement is effective as of the latest signature | |
date below. | |
## 1. Definitions | |
**"Code"** means the computer software code, whether in human-readable or machine-executable form, | |
that is delivered by You to RePass Cloud under this Agreement. |
# https://docs.gitlab.com/ee/api/projects.html | |
# https://docs.gitlab.com/ee/api/issues.html | |
# https://docs.gitlab.com/ee/api/notes.html | |
# Project List | |
$r = Invoke-RestMethod -Headers @{ 'PRIVATE-TOKEN'='xxxxx' } -Uri http://xxxxx/api/v4/projects/ | |
$r | Sort-Object -Property id | Format-Table -Property id, name | |
# Issues List | |
$r = Invoke-RestMethod -Headers @{ 'PRIVATE-TOKEN'='xxxxx' } -Uri http://xxxxx/api/v4/projects/<xx>/issues |
########## | |
# Tweaked Win10 Initial Setup Script | |
# Primary Author: Disassembler <disassembler@dasm.cz> | |
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences. | |
# Version: 2.20.2, 2018-09-14 | |
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
# Tweak difference: | |
# | |
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |
function Function-Name { | |
<# | |
.Synopsis | |
The short function description. | |
.Description | |
The long function description | |
.Example | |
C:\PS>Function-Name -param "Param Value" | |
This example does something |
#!/bin/bash | |
echo | |
echo This will remove Office 2008 from your Mac | |
echo | |
echo | |
sleep 5 | |
echo Removing Office from Applications | |
sudo rm -rf /Applications/Microsoft\ Office\ 2008 | |
sleep 5 | |
echo Removing Office Library files |
#!/usr/bin/env bash | |
brew update | |
brew cask update | |
casks=( $(brew cask list) ) | |
for cask in ${casks[@]} | |
do | |
# in the first line there is version |