sudo apt-get install tightvncserver
vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565
- Set up a password for access (optional)
sudo vi /etc/init.d/tightvncserver
/* | |
* Gridism | |
* A simple, responsive, and handy CSS grid by @cobyism | |
* https://github.com/cobyism/gridism | |
*/ | |
/* Preserve some sanity */ | |
.grid, | |
.unit { | |
-webkit-box-sizing: border-box; |
James Kirkpatrick sent me some questions about designing in the browser, and design workflows in general to help with his dissertation at the University of Ulster. Here are my responses.
I think it is definitely on its way to becoming the standard, especially with the improvements in the pipeline in terms of what’s possible within developer tools (source-map support for Sass, CoffeeScript and so forth). It’s not catching on as quickly as I feel it should be though (given the benefits I feel it has), and honestly I feel like that’s simply because it’s hard for people to drop the tools they know and love cold-turkey. It can take a while to adjust to new tools and workflows, and to be able to afford the time in-between where you just have to accept that you won’t be as productive as usual is
/Volumes/Untitled
.With that volume in place, and with the macOS installer sitting in /Applications/Install\ macOS\ [VERSION].app
,
run the following command in your terminal to create a bootable install media (for Sierra):
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction
##################################### | |
# Rake tasks for Heroku Deployments # | |
##################################### | |
# | |
# Assumptions: | |
# - You’re using Heroku to deploy a Rails application or similar. | |
# - You have two remotes, one called 'production', and one called 'staging'. | |
# - You have a 'master' branch, and it usually contains stable code. | |
# | |
# Usage: |
diff --git a/jekyll-logo.svg b/jekyll-logo.svg | |
index d448ed7..64bf54b 100644 | |
--- a/jekyll-logo.svg | |
+++ b/jekyll-logo.svg | |
@@ -19,7 +19,7 @@ | |
</i:pgfRef> | |
</foreignObject> | |
<g i:extraneous="self"> | |
- <g id="logo-bg-dark"> | |
+ <g id="logo-bg-dark" display="none"> |
I’m a noob about python dependency management—here’s what’s confusing me. Using virtualenvwrapper
, with no existing venvs, let’s say I create a new directory and save a copy of the system packages I have installed with pip
:
coby at vulcan in ~/tmp
➜ mkdir python-test && cd python-test
coby at vulcan in ~/tmp/python-test
➜ pip freeze > system-requirements.txt
#!/bin/bash | |
# Run the same Heroku command on `production` and `staging` remotes, | |
# and then diff the output. | |
if [ `git remote | grep production | wc -l ` == "1" ] && \ | |
[ `git remote | grep staging | wc -l ` == "1" ]; then | |
echo "As you wish..." | |
command="" | |
for var in "$@" | |
do | |
command=$command"$var " |
var my_teams = ["@github/css", "@github/design"] // Add any teams you want autodetected to this list | |
var base_label = ["GitHub"] | |
var my_teams_regex = new RegExp('(' + my_teams.join('|') + ')') | |
function GitHubThread(thread) { | |
this._thread = thread | |
// Determine why we got this message and label the thread accordingly. | |
// |
# make this URL an endpoint that returns something like the users.json file in this gist. | |
baseUrl = "…" | |
robot.respond /remote me/i, (msg) -> | |
if Math.random() < 0.01 | |
msg.send "https://f.cloud.github.com/assets/1476/552951/f1a15572-c370-11e2-8ddd-db568c36d27a.jpg" | |
return | |
msg.finish() | |
msg.http(baseUrl) | |
.headers(headers) |