- \u{g} – ğ
- \u{G} – Ğ
- \c{c} – ç
- \c{C} – Ç
- \c{s} – ş
- \c{S} – Ş
- \”{u} – ü
- \”{U} – Ü
- \”{o} – ö
- \”{O} – Ö
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Prints user name, groups, home directory and disabled status | |
# | |
$adsi = [ADSI]"WinNT://$env:COMPUTERNAME" | |
$adsi.Children | where { $_.SchemaClassName -eq 'user' } | Foreach-Object { | |
$groups = $_.Groups() | Foreach-Object { | |
$_.GetType().InvokeMember('Name', 'GetProperty', $null, $_, $null) | |
} | |
$user = Get-WmiObject Win32_UserAccount -filter "LocalAccount=True AND Name='$($_.Name)'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dummy.datatables.example; | |
import java.util.Optional; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.data.domain.Page; | |
import org.springframework.data.domain.PageRequest; | |
import org.springframework.data.domain.Sort; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Print (and write to JSON file) system information in a cross-platform manner. | |
Output contains information about platform, BIOS, CPU, memory, disk, GPU, network, peripheral devices, installed | |
packages, motherboard and users. | |
This script heavily relies on psutil and some other bash/powershell commands. See requirements.txt for dependency list. |
- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
Press minus + shift + s
and return
to chop/fold long lines!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# application.yml file of the config server (Spring Cloud Config Server) | |
server: | |
port: 9999 # or whatever | |
spring: | |
application: | |
name: config-service | |
cloud: | |
config: | |
server: | |
git: |
Add regular-expression filter under /etc/fail2ban/filter.d/keycloak.conf
:
[INCLUDES]
before = common.conf
[Definition]
_threadName = [a-z][-_0-9a-z]*(\s[a-z][-_0-9a-z]*)*
_userId = (null|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})
OlderNewer