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
#Codes to run for HTB GreenHorn | |
#Scan | |
nmap -Pn -p- --min-rate 2000 -sC -sV -oN nmap-scan.txt 10.10.11.25 | |
22/tcp open ssh OpenSSH 8.9p1 Ubuntu 3ubuntu0.10 | |
80/tcp open http nginx 1.18.0 (Ubuntu) | |
3000/tcp open ppp? | |
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
000000 Officially Xerox | |
000001 SuperLAN-2U | |
000002 BBN (was internal usage only, no longer used) | |
000003 XEROX CORPORATION | |
000004 XEROX CORPORATION | |
000005 XEROX CORPORATION | |
000006 XEROX CORPORATION | |
000007 XEROX CORPORATION | |
000008 XEROX CORPORATION | |
000009 powerpipes? |
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
#View packages in a tree view | |
brew deps --tree --installed |
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
#Extract lines from csv file using path | |
#Add below to compose action | |
#This will iterate through each line in csv file and also remove the extra line at the end | |
skip(split(base64ToString(body('Get_file_content')['$content']), decodeUriComponent('%0D%0A')), 1) | |
#Append to Array | |
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
//This is written for the blog post. | |
//Visit full post at: https://n-digits.com.au/blog/2023/01/23/solved-how-to-download-csv-from-power-apps-gallery/ | |
ClearCollect(DownloadData, ForAll(Gallery8.AllItems,{ | |
ID:ThisRecord.ID, | |
Column1:ThisRecord.Column1, | |
'Column 2':ThisRecord.Column2, | |
//Add As many columns here | |
})); |
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
# Generate a new plugin with unit tests | |
$ wp scaffold plugin n-digits | |
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
/* stylelint-disable */ | |
.gform_fields { | |
@extend .list-unstyled; | |
@extend .row; | |
input, select, textarea { | |
@extend .form-control; | |
} | |
textarea { |
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
// When using magnificPopup plugin you might get multiple galleries combined. | |
// To fix this, use .each() function. | |
$('.slides').each(function() { // the containers for all your galleries | |
$(this).magnificPopup({ | |
delegate: 'a', // the selector for gallery item | |
type: 'image', | |
gallery: { | |
enabled:true, | |
}, |