Lalassemble is a Discord server and linkshell community for the Aether datacenter in Final Fantasy XIV.
The current admins and mods are:
- @milk#2755
function toDateRanges(items) { | |
return items | |
.filter(calEvent => { | |
return ( | |
calEvent.start && | |
calEvent.start.dateTime && | |
calEvent.end && | |
calEvent.end.dateTime | |
); | |
}) |
const COUNT = 32; | |
const START_DATE = new Date(2019, 0, 1); | |
const END_DATE = new Date(2019, 11, 31); | |
function randomDate(start, end) { | |
return new Date( | |
start.getTime() + Math.random() * (end.getTime() - start.getTime()) | |
); | |
} |
/** | |
* create a Google Sheet then go to Tools > Script Editor | |
* Paste this code into the editor. Save. | |
* Publish > Deploy as Web App | |
* Set new version, publish as me, who has access - anyone, even anon. | |
* GET to the URL, add on end ?sheet=[sheet name] | |
* Sheet name is the sheet name, manage appropriately (no spaces or symbols to keep it simple) | |
* Request returns JSON representation of the sheet. | |
*/ |
class FBGroupMemberRemover { | |
constructor() { | |
this.adminText = 'Admin'; | |
this.removeMemberModalHeadingText = 'Remove Member'; | |
this.memberElementSelector = '[data-name="GroupProfileGridItem"]'; | |
this.memberContextMenuSelector = 'button[aria-label="Member Settings"]'; | |
this.removeMemberButtonSelector = 'a[data-testid="leave_group"]' | |
this.removalOptions = { |
import Ember from 'ember'; | |
import Changeset from '../lib/changeset'; | |
import validatePresence from '../validators/presence'; | |
let model = { foo: 'bar' }; | |
let validations = { | |
foo: validatePresence() | |
}; | |
let changeset = new Changeset(model, { validations }); |
import Ember from 'ember'; | |
import QueryParams from 'ember-parachute'; | |
export const AppQueryParams = new QueryParams({ | |
query: { | |
as: 'q', | |
defaultValue: 'puppy', | |
refresh: true | |
} | |
}); |