Skip to content

Instantly share code, notes, and snippets.

View OscarGodson's full-sized avatar
:shipit:
Workin'

Oscar Godson OscarGodson

:shipit:
Workin'
  • CTO
  • Portland, OR
  • 06:22 (UTC -07:00)
View GitHub Profile

Like

  • Being able to change the brightness and contrast
  • Pull to refresh. It's also not buggy like Twitter's and feels far more natural than 6tags
  • Being able to download videos (6tag doesn't let you do this)
  • The dark theme especially on photo pages.
  • The gotham filter
  • Being able to pick a theme

Don't Like

  • On a dark theme the dark blue doesn't stand out and makes it really hard to read. Especially the small text. A brighter blue would probably be better.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<style>
body, h1 {
font-family: helvetica, arial, sans-serif;
font-size: 70px;
text-align:center;
<script>
/**
* Version 1.1
* Makes Vimeo and YouTube videos on Tumblr larger than the max of 500px that Tumblr forces
* Change the 650 to whatever you want, but do NOT add px or %
* The height, by default, is set to auto which will calculate the 16:9 video size.
* You can set the height to a static number as well if you want.
* If you have any questions feel free to ask me: @oscargodson | oscargodson.com
*/
(function(){
cnoreabbrev <expr> W ((getcmdtype() is# ':' && getcmdline() is# 'W')?('w'):('W'))

Example output, where | is the cursor:

function () {
  |
};
foo(function () {
# http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/#install-from-10gen-builds
# Run curl from wherever you want mongo installed. It will run fine anywhere, but you probably
# don't want to have a mongo folder on your desktop ;)
$ curl http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.4.3.tgz > mongodb.tgz
$ tar -zxvf mongodb.tgz
$ sudo mkdir -p /data/db
$ sudo chown `id -u` /data/db
# After that I have these things in my bashrc file to run mongo:
SomeClass({
handleRequest: function () {
ajax({
onSuccess: function (req) {
if (req.status == 'error') return;
// Blah
}
});
}
});
@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks
// Set multiple vars / obj props to the same value
el.style.width = x;
newWidth = x;
eventData.width = x;
// Set x as the value to these vars / obj props
x => (el.style.width, newWidth, eventData.width);
Can you see mine?