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
| # -- Overrides the version used to determine compatibility of resources with the target Kubernetes cluster. | |
| # This is useful when using `helm template`, because then helm will use the client version of kubectl as the Kubernetes version, | |
| # which may or may not match your cluster's server version. Example: 'v1.24.4'. Set to null to use the version that helm | |
| # devises. | |
| kubeVersionOverride: null | |
| global: | |
| image: | |
| # -- Overrides the Docker registry globally for all images |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am lordnoteworthy on github. | |
| * I am lordnoteworthy (https://keybase.io/lordnoteworthy) on keybase. | |
| * I have a public key ASDtpECLi-LZTEOMHBeEEDXz8LtmB68j7ZuOFC9aUUHpEQo | |
| To claim this, I am signing this 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
| #!/bin/bash | |
| processString=$(ps -ef | grep '[0-9][0-9]:[0-9][0-9]:[0-9][0-9] /usr/bin/vmtoolsd -n vmusr') # get proc$ | |
| tokens=( $processString ) # tokenize | |
| kill "${tokens[1]}" # grab pid and kill it | |
| /usr/bin/vmtoolsd -n vmusr & > /dev/null 2>&1 # restart vmtoolsd |
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
| gevent | |
| libevent | |
| greenlet | |
| eventlet | |
| class Sample(Base): | |
| __tablename__ = 'samples' | |
| id = Column(Integer, primary_key=True) | |
| sha256 = Column(String, nullable=False, unique=True, index=True) |
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
| gevent | |
| libevent | |
| greenlet | |
| eventlet | |
| class Sample(Base): | |
| __tablename__ = 'samples' | |
| id = Column(Integer, primary_key=True) | |
| sha256 = Column(String, nullable=False, unique=True, index=True) |
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
| class Foo (Base): | |
| a = Column(Integer, ForeignKey='sometable.id', primary_key = True) | |
| b = Column(Integer, ForeignKey='other_table.id', primary_key = True) | |
| c = ... | |
| Class Boo (Base): | |
| id = Column(Integer, primary_key = True) | |
| .... | |
| // Association table for many to many relationship between A and B |
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
| typedef LONG (WINAPI * NtUnmapViewOfSection)(HANDLE ProcessHandle, PVOID BaseAddress); | |
| class runPE{ | |
| public: | |
| void run(LPSTR szFilePath, PVOID pFile) | |
| { | |
| PIMAGE_DOS_HEADER IDH; | |
| PIMAGE_NT_HEADERS INH; | |
| PIMAGE_SECTION_HEADER ISH; | |
| PROCESS_INFORMATION PI; | |
| STARTUPINFOA SI; |
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 java.util.Scanner; | |
| public class Prism | |
| { | |
| public static final int ROTATE_LEFT = 1; | |
| public static final int ROTATE_RIGHT = 2; | |
| public static int calcmask(int bitstorotate, int direction) |