Skip to content

Instantly share code, notes, and snippets.

View holazt's full-sized avatar
🐧
Learning everything...

Ahmed holazt

🐧
Learning everything...
  • Geeker
  • City of Science
View GitHub Profile
@holazt
holazt / cracking.md
Created November 4, 2020 12:48
Cracking guide for Sublime Text 3 Build 3203/3200 and Sublime Merge - Build 1111/1109 (Linux x86_64) - Updated #4 (20190401)

Script for patching Sublime Text 3 and Sublime Merge - Linux x64!

Only for builds 3207 and 1111

License key required: NO

3203_big

@holazt
holazt / .vimrc
Created September 13, 2020 12:11 — forked from mjd507/.vimrc
set nu " 显示行号
syntax on " 语法高亮
filetype plugin indent on " 文件类型检测
set cursorline " 光标所在行高亮
set nobackup
set backspace=indent,eol,start " 解决插入模式下 delete 建无效问题
if has('persistent_undo')
set undofile
set undodir=~/.vim/undodir
if !isdirectory(&undodir)
@holazt
holazt / gen-menu.py
Last active August 31, 2020 11:32 — forked from grandams/gen-menu.py
mkdosc auto-gennerate navigation
#!/usr/bin/python3
# NOT WORKING with python2 !!!
# inspired from https://gist.github.com/zamber/af5086cb9c097be5c002
import os
import re
import yaml
# Config
root_doc_dir = 'docs'
@holazt
holazt / print256colours.sh
Created August 27, 2020 12:41 — forked from HaleTom/print256colours.sh
Print a 256-colour test pattern in the terminal
#!/bin/bash
# Tom Hale, 2016. MIT Licence.
# Print out 256 colours, with each number printed in its corresponding colour
# See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163
set -eu # Fail on errors or undeclared variables
printable_colours=256
@holazt
holazt / README.md
Created May 14, 2020 12:30 — forked from chuyik/README.md
macOS 给 Git(Github) 设置代理(HTTP/SSH)
@holazt
holazt / 0_python_email.md
Created May 5, 2020 15:10 — forked from nickoala/0_python_email.md
Use Python to send and receive emails

Use Python to:

  • send a plain text email
  • send an email with attachment
  • receive and filter emails according to some criteria
@holazt
holazt / starulm.md
Created April 15, 2020 08:19 — forked from DrYazid/starulm.md
StarUml 3.0 full version

StarUML 3.0

  • 1- install staruml. : staruml
  • 2- install node.js : node.js
  • 3- go to ...\AppData\Local\Programs\StarUML\resources
  • 4- open CMD As admin
  • 5- execute
@holazt
holazt / settings.xml
Created March 30, 2020 03:58 — forked from y0ngb1n/maven-mirrors.md
使用阿里云公共仓库加速 Maven
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!--
仓库的优先级:本地仓库 > settings 中的 profile > pom 中的 repository > mirror
-->
<localRepository>${user.home}/.m2/repository</localRepository>
@holazt
holazt / tex2clip.sh
Created March 28, 2020 03:42 — forked from psaikko/tex2clip.sh
Read LaTeX source from standard input, render to PNG and move to clipboard. Paste nice equations anywhere.
#!/usr/bin/env bash
tmpdir="$(mktemp -d)"
texfile="$tmpdir/tmp.tex"
echo "\documentclass[varwidth]{standalone}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{color}
\usepackage[utf8]{inputenc}
\begin{document}
" > "$texfile"