Skip to content

Instantly share code, notes, and snippets.

View ilyesAj's full-sized avatar

ilyes Ajroud ilyesAj

View GitHub Profile
@aws-scripting-guy
aws-scripting-guy / vs_code_behind_proxy
Created March 7, 2016 13:35
Visual Studio Code - working with git behind proxy
git config --global http.proxy http://myproxyserver:8080
@voor
voor / make-kiosk.sh
Created March 17, 2017 12:14
Configuring Kiosk Mode on CentOS
#!/bin/bash
# KIOSK generator for Scientific Linux and CentOS (versions 5; 6 and 7)
# Created using Scientific Linux
# Wasn't made and never tested on different distros than SL/CentOS/EL!
# Version 1.4 for i386 and x86_64
#
# Feel free to contact me: marcin@marcinwilk.eu
# www.marcinwilk.eu
# Marcin Wilk
@juanarbol
juanarbol / chmodCheatSheet.md
Last active April 10, 2024 19:17
Chmod cheat sheet

Chmod codes cheat sheet

How to use chmod codes in UNIX:

  1. There are three types of permissions in files and folders in unix
    1. Read (r)
    2. Write (w)
    3. Execute (x)
  2. And, there is a classification of users called UGO (explained bellow):
  3. U ~> User (usually, you)
@StevenACoffman
StevenACoffman / fluent-filebeat-comparison.md
Last active April 2, 2024 22:34
Fluentd Fluent-bit FileBeat memory and cpu resources

Fluent-bit rocks

A short survey of log collection options and why you picked the wrong one. 😜

Who am I? Where am I from?

I'm Steve Coffman and I work at Ithaka. We do JStor (academic journals) and other stuff. How big is it?

Number what it means
101,332,633 unique visitors in 2017
@Wagahai
Wagahai / nifi-basic-mft-demo.md
Last active June 29, 2020 12:46
Nifi for Managed File Transfer

Complete overkill, but fun to learn and play with..

Basic steps:

  • Install NiFi
  • Secure NiFi (see NiFi Toolkit for home use)
  • Create process group for the transfer
  • Drag "ListSFTP" to the canvas, set host, port, user, pass.
  • Drag "FetchSFTP" to the canvas, set host, port, user, pass.. set remote file to ${path}/{file}
    Also set the settings tab to terminate the relationship for everything except success.
  • Drag "PutFile" to the canvas, set directory to put the files in.
    On the settings tab, click the terminate boxes for both Success and Failure.
    (Alternately you cansend to SFTP or other destinations)
  • Drag the arrow from ListSFTP to FetchSFTP and set it to Success when prompted.