Skip to content

Instantly share code, notes, and snippets.

View masterkawaster's full-sized avatar

masterkawaster masterkawaster

View GitHub Profile
# Android SDK setup
## Install Java
```bash
sudo apt-get update
sudo dpkg --add-architecture i386
sudo apt-get install libbz2-1.0:i386
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
sudo apt-get install openjdk-8-jdk openjdk-8-jre
@masterkawaster
masterkawaster / git-commands
Last active November 12, 2019 09:08
Git simple usage
#Powershell module
Install-Module posh-git
#Ubuntu shell, oh my zsh
git config --global core.autocrlf true
git config --global core.filemode false
#Create Branch
git checkout -b [name_of_your_new_branch]
@masterkawaster
masterkawaster / tools
Last active June 30, 2018 04:16
Tools
https://github.com/robbyrussell/oh-my-zsh
process explorer
logexpert
wireshark
zabbix lub nagios
http://www8.hp.com/us/en/software-solutions/quality-center-quality-management/index.html?jumpid=va_7d3b9mpfks
mremoteNG
autoit
asn reader
@masterkawaster
masterkawaster / docker-windows
Last active June 17, 2019 12:04
docker commands on windows
#visual studio in docker container:
https://blogs.msdn.microsoft.com/heaths/2017/09/18/installing-build-tools-for-visual-studio-2017-in-a-docker-container/
#private registry
https://hub.docker.com/r/stefanscherer/registry-windows/
#to build image run inside the project dir (where Dockerfile is):
docker build . -t <image_name>
#to build without cache and to specify custom dockerfile:
docker build --no-cache -t <image_name> -f <dockerfile> .
#get sql cmd
Install-module -Name SqlServer -Scope CurrentUser -Repository <repository>
# Import the SQL Server Module.
Import-Module Sqlps -DisableNameChecking;
# To check whether the module is installed.
Get-Module -ListAvailable -Name Sqlps;
cd SQLSERVER:\SQL
@masterkawaster
masterkawaster / cipher-suites-matter
Last active July 30, 2018 14:23
cipher suites matter
# problem description and cve's:
https://www.gracefulsecurity.com/tls-ssl-vulnerabilities/
# example attack:
# https://www.youtube.com/watch?v=3I_05zY6ZfM
# install nmap
# list cipher suites:
nmap -sV --script ssl-enum-ciphers -p 443 <host>
#rate based on this: https://github.com/ssllabs/research/wiki/SSL-Server-Rating-Guide
@masterkawaster
masterkawaster / LightroomShortcuts.txt
Last active February 12, 2019 22:55
Lightroom shortcuts
STACK
S - toggle stack
ctrl + G - stack
ctrl + shift + G - unstack
shift + S - move to the top of the stack
VIEW
Show Grid Extras - show keywords and metadata of the photo in grid
Show Badges
@masterkawaster
masterkawaster / OracleAndSqlPlus.sql
Created February 12, 2019 13:52
Oracle and sql plus
--ORACLE SQL DEVELOPER
--ctrl + enter - run selected statement
--F9 compile and run selected statement
--determining the current date format:
SELECT value
FROM nls_session_parameters
WHERE parameter = 'NLS_DATE_FORMAT'
--output: RR/MM/DD
@masterkawaster
masterkawaster / .txt
Created May 10, 2019 05:33
Premiere pro shortcuts
working with timeline
q - ripple delete to the beginning of the clip
w - ripple delete to the end
shift + delete - ripple delete
d - select clip
j - rewind backward
k - stop
l - fast forward
c - razor tool
v - select tool