Add these fun keyboard shortcuts to your system! Works especially well if you're writing @muan a lot (◍•ᴗ•◍)♡
Here's how on OS X:
Press cmd
+ space
and search and open System Preferences, then select Keyboard, then Text ヽ(´∇`)ノ
Note
var d3 = require('d3') | |
var textures = require('textures').textures | |
var types = ["squares", "nylon", "waves", "woven", "caps", "crosses", "hexagons"] | |
var colors = ["peachpuff", "deepskyblue", "tomato", "aquamarine", "hotpink"] | |
setInterval(render, 500) | |
function render() { | |
var type = types.pop() |
var menubar = require('menubar') | |
var exec = require('child_process').exec | |
var fs = require('fs') | |
var mb = menubar() | |
mb.on('ready', function ready () { | |
console.log('Ready!') | |
fetchTimes() | |
}) |
var path = 'atom-electron-b4403fa/docs/api/accelerator.md' | |
// wanted: 'docs/latest/api/accelerator' | |
// - add 'latest/' after 'docs/' | |
// - remove 'atom-electron-b443fa' | |
// - remove file extension at the end | |
function constructRedirectUrl (path) { | |
var a = path.split('/') | |
a.splice(2, 0, 'latest').splice(0, 1) | |
var c = a.join('/') |
{ | |
'variables': { | |
# Enalbe using proprietary codecs. | |
'proprietary_codecs': 1, | |
'ffmpeg_branding': 'Chrome', | |
# And the gold's flags are not available in system's ld neither. | |
'linux_use_gold_flags': 0, | |
# Make Linux build contain debug symbols, this flag will add '-g' to cflags. | |
'linux_dump_symbols': 1, | |
# The Linux build of libchromiumcontent.so depends on, but doesn't |
BLUE='\e[0;34m'; | |
RED="\e[4;31m" | |
CYAN="\e[0;36m" | |
WHITE="\e[0;37m" | |
export PS1="$BLUE\${BRANCH}\e[m $WHITE@\u $CYAN\w:\[\e[0m\] " | |
function get_branch { | |
if [ -d .git ]; then | |
BRANCH="$(git branch | awk '/\*/ { print $2 }') ☁︎ " |
{"core":[{"name":"about","author":{"name":"Machisté N. Quintana","email":"[email protected]"},"main":"./lib/about","version":"1.1.0","description":"View useful information about your Atom installation.","keywords":[],"repository":{"type":"git","url":"https://github.com/atom/about.git"},"license":"MIT","engines":{"atom":">=0.210.0 <2.0.0"},"dependencies":{"atom-space-pen-views":"^2.0.5"},"devDependencies":{"coffeelint":"^1.9.7"},"bugs":{"url":"https://github.com/atom/about/issues"},"homepage":"https://github.com/atom/about#readme","_shasum":"1e9cc8cb5bebb9a7c5cab378f521c397b875be4d","_resolved":"file:../../../../tmp/d-115811-16353-17qcm25/package.tgz","_atomModuleCache":{"version":1,"dependencies":[],"extensions":{".js":["lib/about-view.js","lib/about.js"]},"folders":[{"paths":["lib",""],"dependencies":{"atom-space-pen-views":"^2.0.5"}}]}},{"name":"archive-view","version":"0.60.0","description":"View the files and folders inside archive files","main":"./lib/archive-editor","dependencies":{"at |
var printPDFBton = document.getElementById('print-pdf'); | |
var ipc = require('electron').ipcRenderer; | |
printPDFBton.addEventListener('click', function (event) { | |
ipc.send('print-to-pdf'); | |
}); | |
ipc.on('wrote-pdf', function (event, path) { | |
// TODO should we open the pdf? or put it somewhere else? | |
var message = 'Wrote PDF to: ~' + path; |
var app = require('app'); | |
var BrowserWindow = require('browser-window'); | |
var glob = require('glob'); | |
var mainWindow = null; | |
// Require and setup each JS file in the main-process dir | |
glob('main-process/**/*.js', function (error, files) { | |
if (error) return console.log(error); | |
files.forEach(function (file) { |
I’m working on a talk about the relationship between community participation and careers, and want to hear from people who feel like open source has impacted their career. Tell me your story!
Below are some questions related to get you started. Feel free to either fork this gist, blog your answers and send me the link, or email them directly to me at [email protected]. I will ask your permission before sharing anything about your story publicly.
How do you feel your participation in open source has impacted your career, both good and bad?
Open source has had a greatly positive impact on my career. I believe my career opportunities have come from my contributions to open source with my interests and skills being public.
How did you first get exposed to open source? Why did you decide to learn more about it?
I believed in the importance of sharing knowledge but it wasn't until I started as a Code for America fellow that I realized it had a name, open source, and an active community. In my first