Skip to content

Instantly share code, notes, and snippets.

@yuan3y
yuan3y / install_prevent_lock_screen_dim.sh
Last active March 7, 2018 21:27
This script prevents lock screen from dimming. Tested on Ubuntu 16.04.2 LTS with default Unity interface.
#!/bin/bash
# Copyright (c) 2017 @yuan3y
# Released under MIT License
# Tested on Ubuntu 16.04.2 LTS with default Unity interface
#
# USAGE:
# chmod +x install_prevent_lock_screen_dim.sh
# ./install_prevent_lock_screen_dim.sh
scriptFile=~/.prevent_lock_screen_dim.sh
@yuan3y
yuan3y / Countries.csv
Last active February 3, 2017 10:52 — forked from lenguyenthedat/Countries.csv
Country - Continent codes and names
continent_code country_code continent_name country_name country_iso3 country_number country_full_name
AS AF Asia Afghanistan AFG 004 Islamic Republic of Afghanistan
EU AX Europe Åland Islands ALA 248 Åland Islands
EU AL Europe Albania ALB 008 Republic of Albania
AF DZ Africa Algeria DZA 012 People's Democratic Republic of Algeria
OC AS Oceania American Samoa ASM 016 American Samoa
EU AD Europe Andorra AND 020 Principality of Andorra
AF AO Africa Angola AGO 024 Republic of Angola
NA AI North America Anguilla AIA 660 Anguilla
AN AQ Antarctica Antarctica ATA 010 Antarctica the territory South of 60 deg S
@huy-viki
huy-viki / regions2.json
Created September 4, 2013 05:19
Country Regions Hierachy (format 2). Continent -> Region -> Sub-region -> Country
{
"continents": {
"Africa": [
"Africa"
],
"Antarctica": [
"Antarctica"
],
"Asia": [
"Asia"
@huy-viki
huy-viki / regions.json
Last active February 6, 2017 02:00
Country Regions Hierachy. From top to bottom: Continent -> Region -> Sub-region -> Country
{
"_": [
"ap",
"rd",
"zz"
],
"Africa": {
"Africa": {
"North Africa": [
"dz",
@jmnwong
jmnwong / ST2 Cycle Tabbing
Created June 28, 2013 15:24
Makes CTRL-Tab cycle tabs in order for Sublime Text.
Put in (Preferences -> Key Bindings - User):
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }