This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= page_title("Account") %> | |
<%= render 'my_account/shared/header', current_section: "rewards" %> | |
<div class="container"> | |
<div class="tab-content"> | |
<div class="grid"> | |
<div class="col-2-3"> | |
<h3 class="heading">Bonus Points <span>2/8 bonus points earned</span></h3> | |
<p>Get even greater value from your rewards points by redeeming them against these special offers below. These offers are a one time only use and only unlock as and when you reach the Rewards Level required to do so.</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"entries": [{ | |
".tag": "folder", | |
"name": "flashed", | |
"path_lower": "/flashed", | |
"id": "id:aJSxKm7T6cAAAAAAAAAAAg" | |
}, { | |
".tag": "file", | |
"name": "tumblr_nrjpzx4aAl1t7ikjqo1_1280.jpg", | |
"path_lower": "/flashed/tumblr_nrjpzx4aal1t7ikjqo1_1280.jpg", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The examples are in Ruby using RestClient (an http library) | |
# Already have a cursor for this user retreived the last time I called /2/files/list_folder/continue | |
# 1AAFFUB2KR3h0S0317__4aWVmvEQwDmIR2fdxsGL4cZGqiZjavby0HkZT70COXZm6XlswiDTQXSM7ir1qZX9uGoKGI9FbI7dSiquLv9-shzV8qOb126UToXHiKfe_oDFRzCg | |
resp = RestClient.post( | |
"https://api.dropboxapi.com/2/files/list_folder/continue", | |
{ | |
cursor: "1AAFFUB2KR3h0S0317__4aWVmvEQwDmIR2fdxsGL4cZGqiZjavby0HkZT70COXZm6XlswiDTQXSM7ir1qZX9uGoKGI9FbI7dSiquLv9-shzV8qOb126UToXHiKfe_oDFRzCg" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.github.spotify.ngrok</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/ngrok</string> | |
<string>start</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.github.spotify.mac.api</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/node</string> | |
<string>/usr/local/bin/spotify-mac-api</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (robot) -> | |
api_url = process.env.HUBOT_SPOTIFY_MAC_API_URL | |
api_secret = process.env.HUBOT_SPOTIFY_MAC_API_SECRET | |
options = {} | |
options.commands = [ | |
"play (track|artist|album) <name> - Play a given track, artist or album", | |
"play queue <1,2,3> - Play a given search result", | |
"pause - Pause the current song", | |
"toggle - Play/pause the current song", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Save this in ~/.screenrc | |
# Use bash | |
shell /bin/bash | |
autodetach on | |
# Big scrollback | |
defscrollback 5000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From: https://github.com/middleman/middleman/pull/560 | |
require "rubygems" | |
require "middleman-core/load_paths" | |
Middleman.setup_load_paths | |
require "middleman-core" | |
require "middleman-core/preview_server" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global module:false*/ | |
module.exports = function(grunt) { | |
var WEB_SERVER_PORT = 8000, | |
LIVERELOAD_PORT = 35729; | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name ~^(?P<sitename>.+)\.dev\.com$ | |
access_log /var/www/vhosts/$sitename/logs/nginx.access.log; | |
error_log /var/www/vhosts/$sitename/logs/nginx.error.log; | |
root /var/www/vhosts/$sitename/public; | |
autoindex on; | |
index index.php; | |
include global/static-asset-caching.conf; |