Skip to content

Instantly share code, notes, and snippets.

View doct0rX's full-sized avatar
🎯
Calculated.

Mustafa doct0rX

🎯
Calculated.
View GitHub Profile
@doct0rX
doct0rX / photoBoothOriginal.py
Last active June 2, 2018 08:03
This Script is For saving the original Photos from effected photos after you import them somewhere. you Can run the sript by placing it into the directory of the Photo Booth Photos and execute it by openning terminal and moving to the current directory and type: ```python3 photoBoothOriginl.py```
"""
This Script is For saving the original Photos from affected photos after you import them somewhere.
you Can run the sript by placing it into the directory of the Photo Booth Photos and execute it by openning terminal and moving to the current directory and type: python3 photoBoothOriginl.py
"""
import os
directoryPath = "." # This is the current directory you leave it as a dot (".") if you placed the file at the same photos directory.
@doct0rX
doct0rX / iterm-fish-fisherman-meslo-osx.md
Created June 29, 2018 12:55 — forked from ghaiklor/iterm-fish-fisherman-meslo-osx.md
iTerm 2 + fish + fisherman + Material Design + Meslo
@doct0rX
doct0rX / neofetch
Created July 8, 2018 01:12
Need a handy way to display OS, software and hardware information for your machine? Neofetch can help. https://github.com/dylanaraps/neofetch
#!/usr/bin/env bash
# vim: noai:ts=4:sw=4:expandtab
# shellcheck source=/dev/null
# shellcheck disable=2009
#
# Neofetch: A command-line system information tool written in bash 3.2+.
# https://github.com/dylanaraps/neofetch
#
# The MIT License (MIT)
#
@doct0rX
doct0rX / jsSample.js
Created August 10, 2018 21:35
Sample
<p style="line-height: 18px; font-size: 18px; font-family: times;">
Click "<i>Load samples</i>" to view and edit more JS samples.<br>
<br>
Labyrinth generated with JavaScript:<br><br>
<script>
for (var line=1; line<60; line++) {
for(var i=1;i<50;i++) {
var s = (Math.floor((Math.random()*5)%3)) ? "╱" : "╲";
document.write(s);
}
@doct0rX
doct0rX / bashrc.bash
Created August 24, 2018 14:52
This gist hosting some of my bashrc on my Kali machine.
# alis for opening Google Chrome from linux root user --kali
alias chr="gksu -u chromeuser google-chrome"
# alias for opening files from the CLI
alias open="nautilus"
# some more ls aliases
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
@doct0rX
doct0rX / hosts
Last active April 9, 2019 21:32
For Removing Spotify Ads. -- path on Mac "/private/etc/hosts" -- path on Windows "C:\Windows\System32\Drivers\etc\hosts"
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
@doct0rX
doct0rX / DontDeleteThoseFiles.java
Last active March 19, 2019 15:55
Not to delete specified files -- how it work -> simply run it with Java and it'll guide you
/**
* Author: Mustafa Jamal
*
* This program for deleting not selected files.
*/
import java.util.List;
import java.util.ArrayList;
import java.io.BufferedReader;
import java.io.FileReader;
https://gitlab.com/gun1x/razer_keyboard_config/tree/master
@doct0rX
doct0rX / Indent.java
Created March 25, 2019 16:22
script to make a new Indentation of any code file;
import java.util.List;
import java.util.ArrayList;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.PrintWriter;
import java.io.IOException;
class Indent {
static List<String> records = new ArrayList<String>();
@doct0rX
doct0rX / .zshrc
Created August 14, 2019 16:01
my .zshrc (oh-my-zsh) configuration file on Arch Linux
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=99999
SAVEHIST=99999
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/mustafaj4m/.zshrc'
autoload -Uz compinit