Skip to content

Instantly share code, notes, and snippets.

View alphaolomi's full-sized avatar
🎯
Focusing

Alpha alphaolomi

🎯
Focusing
View GitHub Profile

Kali Linux Meta Packages

sudo apt install kali-linux-core
@alphaolomi
alphaolomi / sql_server.md
Last active May 31, 2023 06:59
SQL Server for Linux(Debian/Ubuntu)

SQL Server

Install the SQL Server command-line tools

  • Import the public repository GPG keys.
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
@alphaolomi
alphaolomi / tsql_cheat.md
Created June 24, 2020 16:50
T-SQL for SQL Server Cheat Sheet

T-SQL for SQL Server Cheat Sheet

In short T-SQL is an extension of SQL language.

T-SQL(Transact-SQL) is a set of programming extensions from Sybase and Microsoft that add several features to the Structured Query Language (SQL), including transaction control, exception and error handling, row processing and declared variables

Databases

@alphaolomi
alphaolomi / pgp.txt
Created December 5, 2019 20:03
My Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: https://keybase.io/download
Version: Keybase Go 5.0.0 (linux)
xsFNBF3pYmQBEACdCmGDus5GD3qDuZ4YvVDqUB7BQumhdm5xZdUVu6T/G5xgpT01
6JWTvD+oNLA9nW/lyfDVY83H/W52Ex579omlI9sbRJ8cB5WGgR0lj/zxHi+zEfFJ
Vy1Io6RPhhnGb6EoTpPFki3c5GLmFYvrDq7a/JBuD3WGCgg6ABPVsCbdD2MV+tSO
YbbVlU675NMiXbDVZs+arwaRKrb826tbeKdmXJ8ihb5HhRVUI6I/qC1U29MbO41G
f+4jkn9KdpxetY63J/EWxy3QqFzrjcOg4XVegrCiIBzN6ujOzQHcVbSscKn7vQAG
lCvl8Z3plaPVKQzvYuTMJ2VViAui5PQQ7ttr2vgIR/vxSayM5FbjSs5YN0Z1xuTe
@alphaolomi
alphaolomi / keybase.md
Created December 5, 2019 19:57
Keybase

Keybase proof

I hereby claim:

  • I am alphaolomi on github.
  • I am c0de1 (https://keybase.io/c0de1) on keybase.
  • I have a public key ASCJLZPlbe0uorpIcXDqQr5XH-48vrFXBruu0Q9PhQrOTQo

To claim this, I am signing this object:

/* *******************************************************************************************
* REACT.JS CHEATSHEET
* DOCUMENTATION: https://reactjs.org/docs/
* FILE STRUCTURE: https://reactjs.org/docs/faq-structure.html
* ******************************************************************************************* */
```
npm install --save react // declarative and flexible JavaScript library for building UI
npm install --save react-dom // serves as the entry point of the DOM-related rendering paths
/* *******************************************************************************************
* GLOBAL CONFIG
* Vue.config is an object containing Vue’s global configurations.
* You can modify its properties listed below before bootstrapping your application.
* https://vuejs.org/v2/api/#Global-Config
* ******************************************************************************************* */
// Configure whether to allow vue-devtools inspection
Vue.config.devtools = true
@alphaolomi
alphaolomi / heroku_cheat_sheet.sh
Created October 30, 2019 17:24
HEROKU TOOLBELT COMPLETE GUIDE
# ##############################################################################
##### HEROKU TOOLBELT COMPLETE GUIDE ###########################################
################################################################################
# Installing Heroku toolbelt using command line
# For MacOS...
brew tap heroku/brew && brew install heroku
@alphaolomi
alphaolomi / php_timer.php
Created October 29, 2019 19:09
PHP Timer
<?php
$start = microtime(true);
// Do stuff
dd(microtime(true) - $start);
@alphaolomi
alphaolomi / setting_up_laravel_app.md
Last active October 6, 2019 18:11
How to clone and set up a laravel app

Setting up a Laravel

Using a git repository

  • Step 1: Clone repository

    git clone https://....
  • Step 2: Install required dependecies