Skip to content

Instantly share code, notes, and snippets.

View LukasSchauffele's full-sized avatar
👻

Lukas Schauffele LukasSchauffele

👻
  • Fleetwood Australia
  • Melbourne
View GitHub Profile
{
"openapi": "3.0.1",
"info": {
"title": "Business Central",
"description": "",
"version": "beta"
},
"servers": [{
"url": "https://fleetwood-api-management.azure-api.net/beta"
}],
@LukasSchauffele
LukasSchauffele / powerapps-interview-q1.yaml
Created March 15, 2022 03:42
ERPIT Register - Functional Area based on operating segement
If(
drpOperating.Selected.Value = "Building Solutions",
Filter(
Choices([@'ERPIT Register'].'Functional Area'),
Value = "General" || Value = "Sales & Marketing" || Value = "Operations VIC" || Value = "Operations SA" || Value = "Operations WA" ||Value = "Operations QLD" || Value = "Operations NSW" || Value = "HR" || Value = "HSEQ" || Value = "Design"
),
If(
drpOperating.Selected.Value = "RV Solutions",
Filter(
Choices([@'ERPIT Register'].'Functional Area'),

1 - Discover hosts (IP Addresses) on a network

nmap -sP 192.168.1.0/24

2 - Determine Operating Systems of the hosts

Set firewall

firewall-cmd --permanent --zone=public --add-service=http

firewall-cmd --permanent --zone=public --add-service=https

firewall-cmd --reload

Start apache and mysql

Set IP address / mask / gateway / dns / domain

Windows 7:

  1. Set IP to 192.168.<workstation>.2

  2. Set gateway and DNS as Windows 2012 server.

  3. Change domain to network after setting IP on Windows 2012

@LukasSchauffele
LukasSchauffele / osx-for-hackers.sh
Created March 26, 2016 07:23 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'