Skip to content

Instantly share code, notes, and snippets.

View thisandagain's full-sized avatar

Andrew Sliwinski thisandagain

View GitHub Profile

Keybase proof

I hereby claim:

  • I am thisandagain on github.
  • I am thisandagain (https://keybase.io/thisandagain) on keybase.
  • I have a public key whose fingerprint is F287 5050 6007 C5AF C2A1 4884 9866 8F77 BE20 50EE

To claim this, I am signing this object:

@thisandagain
thisandagain / index.html
Last active August 29, 2015 14:14
Button Styles
<!--<link rel="stylesheet" href="//code.cdn.mozilla.net/fonts/fira.css">-->
<button class="btn">Open My App</button>
@thisandagain
thisandagain / discover.json
Last active August 29, 2015 14:20
/discover
[
{
"id": 1,
"version": "0.0.0",
"title": "Yam Fries",
"featured": true,
"history": {
"created_at": "2015-04-20T16:11:13.961Z",
"updated_at": "2015-04-20T16:11:13.961Z",
"deleted_at": null
@thisandagain
thisandagain / user.json
Last active August 29, 2015 14:20
/users/:user
{
"id": 1234,
"username": "billmurray",
"locale": {
"language": "bn",
"country": "bd"
},
"history": {
"created_at": "2015-04-20T16:11:13.961Z",
"updated_at": "2015-04-20T16:11:13.961Z",
@thisandagain
thisandagain / project.json
Last active August 29, 2015 14:20
/users/:user/projects/:project
{
"id": 1,
"version": "0.0.0",
"title": "Yam Fries",
"featured": true,
"history": {
"created_at": "2015-04-20T16:11:13.961Z",
"updated_at": "2015-04-20T16:11:13.961Z",
"deleted_at": null
},
@thisandagain
thisandagain / page.json
Last active August 29, 2015 14:20
/users/:user/projects/:project/pages
[
{
"id": 1,
"x": 0,
"y": 0,
"history": {
"created_at": "2015-04-20T16:11:13.961Z",
"updated_at": "2015-04-20T16:11:13.961Z",
"deleted_at": null
},
@thisandagain
thisandagain / element.json
Last active August 29, 2015 14:20
/users/:user/projects/:project/pages/:page/elements/:element
{
"id": 1,
"type": "image",
"attributes": {
"src": "https://cat.com/my/image/path.png"
},
"styles": {
"top": "0%",
"left": "0%",
"z-index": 1
package mozilla.org.webmaker.activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.RelativeLayout;
import mozilla.org.webmaker.R;
import mozilla.org.webmaker.WebmakerActivity;
import mozilla.org.webmaker.view.WebmakerWebView;
@thisandagain
thisandagain / gist:3411499
Created August 21, 2012 04:20
4.2 to 4.3 Symlinks
# Developer directory
sudo ln -s /Applications/Xcode.app/Contents/Developer/ /Developer
# Private frameworks
sudo ln -s /Applications/Xcode.app/Contents/OtherFrameworks/DevToolsCore.framework /Developer/Library/PrivateFrameworks/
sudo ln -s /Applications/Xcode.app/Contents/OtherFrameworks/DevToolsCParsing.framework /Developer/Library/PrivateFrameworks/
sudo ln -s /Applications/Xcode.app/Contents/OtherFrameworks/DevToolsFoundation.framework /Developer/Library/PrivateFrameworks/
sudo ln -s /Applications/Xcode.app/Contents/OtherFrameworks/DevToolsInterface.framework /Developer/Library/PrivateFrameworks/
sudo ln -s /Applications/Xcode.app/Contents/OtherFrameworks/DevToolsKit.framework /Developer/Library/PrivateFrameworks/
sudo ln -s /Applications/Xcode.app/Contents/OtherFrameworks/DevToolsRemoteClient.framework /Developer/Library/PrivateFrameworks/
@thisandagain
thisandagain / install-redis.sh
Created August 29, 2012 02:19
Woo! Redis party!
#!/bin/bash
# from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/
# and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server
###############################################
# To use:
# wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh
# chmod 777 install-redis.sh
# ./install-redis.sh
###############################################
echo "*****************************************"