Skip to content

Instantly share code, notes, and snippets.

@ipolyzos
ipolyzos / note_macosx_sublime_default_editor
Created January 16, 2018 18:11
Set sublime 3 as the default editor in MacOSX
## update homebrew
$ brew update
## install duti
brew install duti
## sublimetext 3 default editor for plain text files
duti -s com.sublimetext.3 public.plain-text all
## sublimetext 3 default editor for executable scripts
@svenmuennich
svenmuennich / .profile
Last active November 22, 2018 08:53
A plan for setting up a new Mac for development
# Load NVM
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
# ls coloring etc.
alias ls='ls -Ga'
# Fix Perl locale
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
@codingChewie
codingChewie / README-Template.md
Created December 19, 2017 15:07 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@oliveratgithub
oliveratgithub / emojis.json
Last active October 17, 2025 07:04
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z
@thespacedoctor
thespacedoctor / pinboard_tag_tidy_up.py
Created December 9, 2017 15:49
[Pinboard Tag Homogeniser] Make all pinboard tags lowercase with underscores #tag #pinboard
#!/usr/local/bin/python
# encoding: utf-8
"""
*Tidy up Pinboard Tags*
:Author:
David Young
:Date Created:
November 8, 2017
@DJJonnyFeeke
DJJonnyFeeke / iTunesPlaylistManager.applescript
Created November 21, 2017 12:31
iTunes Playlist Manager
(*
"DJ Jonny F's iTunes Repair" for iTunes
written by Jonathan Feeke
[email protected]
*)
--===========LIST OF DEFAULT VARIABLES===========--
property my_title : "DJ Jonny F's iTunes Repair"
property myFileName : ""
property newName : ""
@oderwat
oderwat / BearGrabber.js
Created November 16, 2017 23:16
Safe Bear URL Grabber Scriptlet
javascript:location.href='bear://x-callback-url/add-text?title=URL-Grabber&mode=prepend&text='+encodeURIComponent('['+document.title+']('+location.href+")")
@Shujito
Shujito / bookmarklets.md
Last active February 9, 2024 21:37
Useful bookmarklets

Useful Bookmarklets

How to use:

Create a bookmark and replace URL with either of the listed codes

Easier: (google chrome)

  • Triple click to the whole thing
  • COPY!
  • Now hit [CTRL] + [D]
@mwerner
mwerner / app_watcher.lua
Created November 1, 2017 20:11
Hammerspoon scripts
function applicationWatcher(appName, eventType, appObject)
if (eventType == hs.application.watcher.activated) then
if (appName == "Finder") then
-- Bring all Finder windows forward when one gets activated
appObject:selectMenuItem({"Window", "Bring All to Front"})
end
end
end
local appWatcher = hs.application.watcher.new(applicationWatcher)