In order to access AD data from Linux one should install ldapsearch utility which is a part of openldap-clients package on CentOS:
yum -y install openldap-clients| function run(input, parameters) { | |
| const appName = ""; | |
| const verbose = true; | |
| const scriptName = "close_notifications_applescript"; | |
| const CLEAR_ALL_ACTION = "Clear All"; | |
| const CLEAR_ALL_ACTION_TOP = "Clear"; | |
| const CLOSE_ACTION = "Close"; |
| #!/usr/bin/env bash | |
| # Collection of oneliner scripts to check Git working tree status for multiple repositories in a batch | |
| set -e | |
| # The most simple, prints all the git repos found and outputs not commited changes if any | |
| for dir in $(find . -type d -name '.git'); do pushd $dir/.. >/dev/null; pwd; git status --short; popd >/dev/null; done | |
| # Print paths to repositories with uncommitted changes only |
This guide was tested on CentOS 7 but should be in general applicable for other Linux distros with parted and LVM
WARN You can’t resize partitions on the running OS in CentOS 6 (unless you’re brave enough to mess with the
sfdisk) So the fastest option is to add new disk partition, create LVM PV from it and extend needed LVM VG accordingly Bad luck for you if you’re not using LVM ☠️
Create /jffs/configs/dnsmasq.conf.add and add DHCP option 119 providing the domain search list (home in the example below):
dhcp-option=lan,119,home
Allow custom configs in the nvram:
nvram set jffs2_scripts=1| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "inria-pro-sed/conda-build-osx-10.9-base" | |
| config.vm.box_version = "1.0.0" | |
| #config.vm.network "public_network" |
| ## !!! DO NOT RUN THIS SCRIPT AS IS !!! | |
| ## SOME VALUES ARE JUST AN EXAMPLE AND MUST BE CHANGED | |
| ## ACCORDING TO YOUR INFRASTRUCTURE CONFIGURATION | |
| ## This example script uses the following considerations: | |
| # - vSphere 6.7U3 (or later) is a prerequisite for using CSI and CPI at the time of writing | |
| # - vCenter Datacenter name: DC01 | |
| # - vCenter Cluster name: CLS01 | |
| # - vCenter Datastore names: DATASTORE01, DATASTORE02, DATASTORE03 | |
| # - K8S nodes VMs hostname pattern: example-k8s* (e.g.: example-k8s-master01.example.com) |
| # Cleanup Gradle Daemon logs older than 3hr (180min) | |
| # NOTE: Change path to the .gradle/daemon as needed | |
| 05 */1 * * * root /usr/bin/find /var/lib/jenkins/.gradle/daemon/ -type f -mmin +180 -exec rm -vf '{}' \; | |
| # Cleanup Gradle Daemon empty dirs | |
| # NOTE: Change path to the .gradle/daemon as needed | |
| 10 */1 * * * root /usr/bin/find /var/lib/jenkins/.gradle/daemon/ -type d -empty -exec rm -vrf '{}' \; || true |
| --- | |
| 2021: | |
| pto_days_total: 28 | |
| months: | |
| - name: may | |
| num: 5 | |
| pto_days: | |
| - 6 | |
| - 7 | |