Skip to content

Instantly share code, notes, and snippets.

@sirvine
sirvine / cloudSettings
Last active July 16, 2020 00:07
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-16T00:07:28.825Z","extensionVersion":"v3.4.3"}

Keybase proof

I hereby claim:

  • I am sirvine on github.
  • I am sirvine (https://keybase.io/sirvine) on keybase.
  • I have a public key ASBP94pPZ7U6qu1x3pXI2-TeQEWUmnrMCGCm0Uz5ZEjWmAo

To claim this, I am signing this object:

@sirvine
sirvine / controllers.application.js
Last active March 1, 2017 21:48 — forked from blimmer/controllers.application.js
Group-By Bug (Unable to set key with some symbols)
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@sirvine
sirvine / controllers.application.js
Created June 19, 2016 09:18 — forked from jmimi/controllers.application.js
Pass hash promise to transition
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
actions:{
goTest(){
let hashPrms = {
a: Ember.RSVP.resolve({id: 1}),
b: Ember.RSVP.resolve({posts: [{id: 1, title: 'title0'}, {id: 2, title: 'title1'}]})
};

Picturelife, Inc.
333 Kearny Street, Suite 400
San Francisco, CA 94108

Picturelife is a consumer cloud-based digital photo storage and viewing service that claimed to be able to store users' photos for an annual fee. Picturelife was advertised online and was widely reported as a recommended service for safely storing digital photos. Company representatives and the company's public website claimed publicly that users would be able to recover their photos if they were unsatisfied with the service.

I joined Picturelife on date, and the service worked well until it was acquired by StreamNation in early 2015. Since then, the service has been unavailable for long stretches of time. Users are unable to view or export their photos. My last annual payment to Picturelife was $amount, made automatically via credit card on date.

Meanwhile, Picturelife support is unresponsive to user support requests. I attempted to contact their support email address on numerous occassions from date onward. One need only r

@sirvine
sirvine / A Lawyer's Optimal Settings for Reading Redlined Contracts in Microsoft Word
Last active September 8, 2015 05:33
Here are some view settings that make it easy to see redlined changes in Microsoft Word documents:
1. Choose the 'Review' tab.
2. Click and hold 'Markup Options'.
3. De-select 'Formatting'. (It should be unchecked when you're done.)
4. Click and hold 'Markup Options' again.
5. Hold your pointer over the 'Balloons' sub-menu.
6. Choose 'Show Only Comments and Formatting in Balloons'.
7. In the bottom right corner of your Word window, make sure you're in 'Print Layout' mode.
Note: Word will helpfully forget these settings all the time and doesn't seem to allow you
<snippet>
<content><![CDATA[
“Confidential Information” means any information obtained by the receiving Party from or on behalf of the disclosing Party that relates to the past, present or future business activities of the disclosing Party or its subsidiaries or affiliates, or their respective employees, customers or third party suppliers or contractors, including the terms and conditions of this Agreement, information exchanged in the course of negotiations, any Schedule, and any information relating to the applicable entity's (or person's) plans, pricing, methods, methodologies, processes, financial data, lists, intellectual property rights, ${1:Customer} information, apparatus, statistics, programs, research, development, and/or information technology. Confidential Information of ${1:Customer} includes ${1:Customer} Sensitive Data.
“${1:Customer} Sensitive Data” means personally-identifiable or financial information regarding ${1:Customer}’s former, current or prospective clients, customers or employee
<snippet>
<content><![CDATA[
${1:Customer} may assign this Agreement or any of its rights, duties and/or obligations hereunder or thereunder: (a) to any ${1:Customer} affiliate; or (b) in the case of any merger or sale of its stock or assets, to the successor in a merger of ${1:Customer} or to any entity that acquires all or substantially all of its stock or assets. Otherwise, neither Party may assign this Agreement (whether by operation of law or otherwise) without the other Party's prior written consent, which consent will not be unreasonably withheld or delayed. Any other purported assignment will be void.]]></content>
<tabTrigger>yi</tabTrigger>
</snippet>
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
@sirvine
sirvine / PFTwitterUtils+NativeTwitter.m
Created July 28, 2013 02:24
Reverse OAuth for Twitter API via Parse.com
+ (void)twitterReverseAuthResponseReceived:(NSData *)responseData
{
if (responseData) {
NSString *responseStr = [[NSString alloc]
initWithData:responseData
encoding:NSUTF8StringEncoding];
NSArray *parts = [responseStr componentsSeparatedByString:@"&"];
if (parts.count == 4) {