This file contains hidden or 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
| C:\Windows\System32\runas.exe /netonly /user:username@domainname "mmc %SystemRoot%\system32\dsa.msc /domain=domainname" |
This file contains hidden or 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
| Sub SaveAllAttachments() | |
| '--> Define some constants | |
| Const msoFileDialogFolderPicker = 4 | |
| '--> Define some variables | |
| Dim olkMsg As Object, _ | |
| olkPos As Outlook.PostItem, _ | |
| intIdx As Integer, _ | |
| excApp As Object, _ | |
| objFSO As Object, _ |
This file contains hidden or 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
| Sub DeleteAllAttachments() | |
| Dim olkMsg As Object, intIdx As Integer, strBuffer As String | |
| For Each olkMsg In Application.ActiveExplorer.Selection | |
| For intIdx = olkMsg.Attachments.Count To 1 Step -1 | |
| If Not IsHiddenAttachment(olkMsg.Attachments.Item(intIdx)) Then | |
| strBuffer = strBuffer & olkMsg.Attachments.Item(intIdx).FileName & vbCrLf | |
| olkMsg.Attachments.Item(intIdx).Delete | |
| End If | |
| Next | |
| Select Case olkMsg.BodyFormat |
This file contains hidden or 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
| while true; do sleep 1; curl http://template-ul-demo-ul.apps.10.2.2.2.xip.io/hostname; echo ' ';done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| # .bashrc | |
| ####################### | |
| # Colored bash prompt # | |
| ####################### | |
| ################################################################################ | |
| ## FUNCTIONS ## |
This file contains hidden or 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
| import boto3 | |
| from PIL import Image | |
| from io import BytesIO | |
| import os | |
| class S3ImagesInvalidExtension(Exception): | |
| pass | |
| class S3ImagesUploadFailed(Exception): | |
| pass |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| import sys | |
| import boto3 | |
| import numpy as np | |
| import os | |
| import logging | |
| import json | |
| import random | |
| import http.server | |
| import socketserver |
OlderNewer