Command:
apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies
Command:
function Get-ProcessPipes{ | |
param( | |
[Parameter(Mandatory=$false)] | |
[string]$CSV, | |
[Parameter(Mandatory=$false)] | |
[switch]$All | |
) | |
Add-Type -TypeDefinition @" | |
using System; |
***Simple and stripped down version of this post: https://www.coderrocketfuel.com/article/how-to-deploy-a-next-js-website-to-a-digital-ocean-server *** | |
1. Create a New Droplet On DigitalOcean | |
a) In the first section, select the Ubuntu operating system for your server | |
b) In the "Authentication" section, make sure the "Password" option is selected and enter a strong root password for your server. | |
2. Access Server Using Root | |
a) ssh root@server_ip_address (connect to server from terminal) | |
3. Add user (OPTIONAL) |
import nuke, operator | |
''' | |
## Add these lines to your menu.py after putting this file somewhere in your NUKE_PATH | |
# Manipulate nodes in the node graph | |
import node_handler | |
nuke.menu('Nuke').addCommand('Edit/Node/Move/Right', 'node_handler.move(1,0)', 'alt+meta+Right') | |
nuke.menu('Nuke').addCommand('Edit/Node/Move/Left', 'node_handler.move(-1,0)', 'alt+meta+Left') | |
nuke.menu('Nuke').addCommand('Edit/Node/Move/Up', 'node_handler.move(0,-1)', 'alt+meta+Up') |
# Adapted from https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile | |
# Install dependencies only when needed | |
FROM node:16-alpine AS deps | |
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. | |
RUN apk add --no-cache libc6-compat | |
WORKDIR /app | |
COPY package.json package-lock.json ./ | |
RUN npm ci | |
# Rebuild the source code only when needed |
$ git log -1 | grep ^commit | cut -d " " -f 2 | |
dab96492ac7d906368ac9c7a17cb0dbd670923d9 | |
$ git log -1 | grep ^commit | awk '{print $2}' | |
dab96492ac7d906368ac9c7a17cb0dbd670923d9 |
function Invoke-SystemCommand { | |
<# | |
.SYNOPSIS | |
Execute a scriptblock as SYSTEM by setting up a temporary scheduled task. | |
.DESCRIPTION | |
Execute a scriptblock as SYSTEM by setting up a temporary scheduled task. | |
.PARAMETER Name | |
The name of the task |