Skip to content

Instantly share code, notes, and snippets.

View vasilenka's full-sized avatar
🇮🇩
#dowhatyoulove

.h vasilenka

🇮🇩
#dowhatyoulove
View GitHub Profile
@keeguon
keeguon / countries.json
Created April 5, 2012 11:11
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007
@joyrexus
joyrexus / README.md
Last active March 22, 2025 12:57 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@soheilhy
soheilhy / nginxproxy.md
Last active April 11, 2025 06:29
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@jojobyte
jojobyte / ContextCmder-Disable.reg
Last active February 8, 2025 01:56
Cmder Context (Right-Click) Menu for Windows 7, 8, 10 & 11
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@leny
leny / .eslintrc.json
Last active August 3, 2024 16:44
ESLint config file for node.js + ES6 projects.
{
"env": {
"node": true,
"es6": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParameters": true,
@studiocaro
studiocaro / [WordPress] Automated setup with Bedrock, Sage and Valet
Last active September 24, 2024 21:48
My workflow contains Bedrock, Sage and Valet from Laravel. The latter is something you'll have to install first, otherwise this script won't work!
#!/bin/sh
echo "🎉 👏 Congrats with the new project! 🎉 👏
I'm setting up your fresh WordPress install for you."
# Make new folder
printf "Enter folder name of your choice -> "
read FOLDER
mkdir $FOLDER
cd $FOLDER
@Decicus
Decicus / SteamCurrencyCodes.json
Created June 10, 2016 19:18
List of Steam currency codes with their corresponding names - Parsed from https://steamdb.info/
{
"ae": "UAE Dirham",
"az": "CIS - U.S. Dollar",
"br": "Brazilian Real",
"ca": "Canadian Dollar",
"ch": "Swiss Franc",
"cl": "Chilean Peso",
"cn": "Chinese Yuan",
"co": "Colombian Peso",
"eu": "Euro",