Skip to content

Instantly share code, notes, and snippets.

View arabsalem's full-sized avatar

Arab Salem arabsalem

View GitHub Profile
@leonardofed
leonardofed / README.md
Last active May 3, 2024 01:24
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@jpatters
jpatters / HeidiDecode.js
Last active March 20, 2024 14:29
Decodes a password from HeidiSQL. HeidiSQL passwords can be found in the registry. Use File -> Export Settings to dump all settings. Great for if you forget a password.
function heidiDecode(hex) {
var str = '';
var shift = parseInt(hex.substr(-1));
hex = hex.substr(0, hex.length - 1);
for (var i = 0; i < hex.length; i += 2)
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16) - shift);
return str;
}
document.write(heidiDecode('755A5A585C3D8141786B3C385E3A393'));
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active March 8, 2024 02:11
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@miglen
miglen / aws-certification.md
Last active May 5, 2023 10:04
AWS Certification guide and notes on how to prepare for the aws associate certification architect, sysops and developer exams


AWS Certification notes

Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.

To pass AWS certification, you should have:

  • Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
  • Hands on experience with AWS services.
@matpowel
matpowel / nexo_export_conversion.rb
Last active January 19, 2023 18:13
Automated transformation of Nexo CSV output to Koinly full template format
require 'csv'
if ARGV.empty? || ARGV.length > 2
puts
puts 'Please specific the input file name and optionally output base filename:'
puts ' ruby nexo_export_conversion.rb nexo_transactions.csv output_filename'
puts
puts 'Note that the default output filename is input filename appended with each output format appended, currently:'
puts ' - output_filename_koinly.csv'
puts ' - output_filename_coinstats.csv'
@sl-digital
sl-digital / Amazon-Linux-AMI PHP55
Last active May 24, 2021 11:03
Install Apache, MySQL and PHP 5.5 on Amazon Linux AMI
:: UPDATE YUM ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
sudo yum update -y
:: INSTALL WEBSERVER :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
sudo yum install httpd24
sudo service httpd start
sudo chkconfig httpd on
chkconfig --list httpd
@ifnull
ifnull / yum-security.cron
Created March 7, 2013 01:03
YUM cron for automatic security updates.
#!/bin/sh
yum -y -R 120 -d 0 -e 0 update yum
yum --security -y -R 10 -e 0 -d 0 update
@nurrony
nurrony / AWS-CSA-A-Notes.md
Created March 28, 2017 12:33 — forked from agussman/AWS-CSA-A-Notes.md
Notes from studying for the AWS Certified Solutions Architect Exam. I felt well-prepared for the exam and passed with a 94%. Please reach out with any corrections or questions.

External Resources

@ifnull
ifnull / gist:6102790
Last active December 20, 2015 08:49
Get octal permissions
# Linux
stat -c "%a %n" ~/
# OSX
stat -f %Mp%Lp ~/
@ifnull
ifnull / gist:5055099
Created February 28, 2013 08:10
List permission as numeric values
stat -c "%a %n" .