start new:
tmux
start new with session name:
tmux new -s myname
#!/usr/bin/python | |
""" | |
Reads EAC log, generates musicbrainz disc TOC listing for use as discid. | |
Opens browser with discid query on musicbrainz.org. | |
Warning: may work wrong for discs having data tracks. May generate wrong results on other non-standard cases. | |
MIT License | |
Copyright (c) 2018 Konstantin Mochalov |
# 1. Pull latest changes from remote repository | |
$ git pull | |
# Git will tell you if you have conflict. If so, fix each file individually and commit the fix. | |
# 2. Starting a new feature | |
# Create a "feature branch". Each new piece of functionality lives in it's own branch | |
$ git checkout -b my_new_feature | |
# 3. Work and commit your changes. Keep commits small and self-contained. Commit messages should be descriptive. |
// ==UserScript== | |
// @name OBSOLETE: StackExchange, Add kbd shortcut | |
// @description Adds a button and a keyboard shortcut (Alt-K) to add <kbd> tags. | |
// @version 1.3 | |
// @match *://*.askubuntu.com/* | |
// @match *://*.onstartups.com/* | |
// @match *://*.serverfault.com/* | |
// @match *://*.stackapps.com/* | |
// @match *://*.stackexchange.com/* | |
// @match *://*.stackoverflow.com/* |
Now, you might think the answer I'm going to give you is already obvious because I'm using GiHub right now, but it's not. Both GitHub and Bitbucket offer great Git services, but each has its own features and pricing plans. In the following... thing, I'm going to compare the two and then offer a final solution that should work for most people.
TL;DR: Both. Use GitHub for open source and public repos (you'll spend most of your time here) and Bitbucket for private repos. But, sign up for GitHub first, then import account into Bitbucket. Also, check comments for updates. P.S. I personally prefer GitHub.
#Bash Keyboard Shortcuts
###Cursor movement:
Ctrl + a Go to the beginning of the line (Home)
Ctrl + e Go to the End of the line (End)
Ctrl + p Previous command (Up arrow)
Ctrl + n Next command (Down arrow)
Alt + b Back (left) one word
Alt + f Forward (right) one word
function check(resolved) { | |
console.log(resolved); | |
var tag = resolved.split('/').pop(-1); | |
var latest = tag.slice(1); | |
var current = atom.getVersion(); | |
if (latest != current) { | |
atom.notifications.addInfo('new version available: ' + resolved); | |
// TODO detect platform | |
// var filename = 'atom-amd64.deb'; // or 'atom.x86_64.rpm' | |
// var url = 'https://github.com/atom/atom/releases/download/' + tag + '/' + filename; |
So, you might be asking yourself, what is GistLog?
GistLog is a blogging "platform" for people who want to quickly write and publish content, in Markdown, and don't want to bother with yet another platform and yet another login and yet another group hoarding their content. With GistLog, you use your pre-existing GitHub login, you store the data in your own GitHub account, and you can publish with a single click.
https://gistlog.co/your-github-username/gist-id