Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
ammar0466 / gist:058c4c4c975cf946e5b292c02ee67022
Last active Jul 31, 2021
Install Windows 10 on digital ocean
View gist:058c4c4c975cf946e5b292c02ee67022
How to install windows on digital ocean,
use this tutorial :
or if you want to create own image :
this image .gz mirror got from whatuptime :
try first if it working>>
[Microsoft Windows Server 2012]
bradtraversy /
Last active Aug 3, 2021
Online Resources For Web Developers (No Downloading)
czenzel / disable-automatic-image-crop.php
Created Aug 1, 2016
Wordpress - Disable Automatic Image Cropping
View disable-automatic-image-crop.php
Plugin Name: Disable Automatic Image Crop
Author: Wordpress Community
Description: wpse124009 - and
add_action( 'init', 'czc_disable_extra_image_sizes' );
add_filter( 'image_resize_dimensions', 'czc_disable_crop', 10, 6 );
View Install protobuf 3 on Ubuntu
# Make sure you grab the latest version
curl -OL
# Unzip
unzip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/
lukas-h /
Last active Aug 3, 2021
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.


  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  

Translations: (No guarantee that the translations are up-to-date)

mbbx6spp / ALTERNATIVES.adoc
Last active Jun 30, 2021
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
amnuts / phpstorm.bat
Last active Jun 22, 2021
Add context menu to Windows 7 to open file/folder in PhpStorm
View phpstorm.bat
@echo off
SET PhpStormPath=C:\Program Files (x86)\JetBrains\PhpStorm 8.0.2\bin\PhpStorm64.exe
echo Adding file entries
@reg add "HKEY_CLASSES_ROOT\*\shell\Open in PhpStorm" /t REG_SZ /v "" /d "Open in PhpStorm" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open in PhpStorm" /t REG_EXPAND_SZ /v "Icon" /d "%PhpStormPath%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open in PhpStorm\command" /t REG_SZ /v "" /d "%PhpStormPath% \"%%1\"" /f
echo Adding folder entries
View quotes.json
["Life isn’t about getting and having, it’s about giving and being.", "Kevin Kruse"]
["Whatever the mind of man can conceive and believe, it can achieve.", "Napoleon Hill"]
["Strive not to be a success, but rather to be of value.", "Albert Einstein"]
["Two roads diverged in a wood, and I—I took the one less traveled by, And that has made all the difference.", "Robert Frost"]
["I attribute my success to this: I never gave or took any excuse.", "Florence Nightingale"]
["You miss 100% of the shots you don’t take.", "Wayne Gretzky"]
["I’ve missed more than 9000 shots in my career. I’ve lost almost 300 games. 26 times I’ve been trusted to take the game winning shot and missed. I’ve failed over and over and over again in my life. And that is why I succeed.", "Michael Jordan"]
["The most difficult thing is the decision to act, the rest is merely tenacity.", "Amelia Earhart"]
["Every strike brings me closer to the next home run.", "Babe Ruth"]
["Definiteness of purpose is the starting point of all achievement.", "W.
  • Test adding a comment
  • Test second comment
  • test code