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
| Privacy Policy – Meta Cleaner | |
| Effective Date: 6/12/2025 | |
| Meta Cleaner (“we”, “our”, or “us”) is committed to protecting your privacy. This Privacy Policy explains how our app collects, uses, and protects your data. | |
| 1. No Personal Account Required | |
| We do not require you to create an account or provide any personal identifying information to use Meta Cleaner. The app operates entirely on your device. |
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
| type Avatar { | |
| # The original avatar URL | |
| originalUrl: String @fake(type:avatarUrl, options: { imageCategory: people }) | |
| # The thumbnail resized to 64x64px | |
| - thumbnail64Url: String @fake(type:imageUrl, options: { imageWidth: 64, imageHeight: 64, randomizeImageUrl: true }) | |
| + thumbnail64Url: String @examples(values: ["http://example.com/image.jpg", "http://example.com/image2.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
| loic@Loics-MacBook-Pro-32 ~/persistgraphql master npm run compile | |
| > [email protected] compile /Users/loic/persistgraphql | |
| > tsc | |
| node_modules/@types/isomorphic-fetch/index.d.ts(23,14): error TS2300: Duplicate identifier 'BodyInit'. | |
| node_modules/@types/isomorphic-fetch/index.d.ts(24,14): error TS2300: Duplicate identifier 'RequestInfo'. | |
| node_modules/@types/isomorphic-fetch/index.d.ts(28,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'string[] | Headers| { [index: string]: string; }'. | |
| node_modules/@types/isomorphic-fetch/index.d.ts(30,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'mode' must be of type 'string', but here has type 'string | RequestMode'. | |
| node_modules/@types/isomorphic-fetch/index.d.ts(31,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'credentials' must be of type 'string', but here has type 'string | RequestCredential |
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 dyno formation state | |
| heroku ps:scale > mydynoformation | |
| # Scale dynos to 0 | |
| heroku ps:scale $(heroku ps:scale | sed -E 's/=([0-9]+):/=0:/g') | |
| # Scale dynos back to their original state | |
| heroku ps:scale `cat mydynoformation` |
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
| #!/bin/sh | |
| STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".js\{0,1\}$") | |
| if [[ "$STAGED_FILES" = "" ]]; then | |
| exit 0 | |
| fi | |
| PASS=true |
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
| /** | |
| * Copyright 2004-present Facebook. All Rights Reserved. | |
| * | |
| * @providesModule TipsCalculatorApp | |
| * @flow | |
| */ | |
| 'use strict'; | |
| var React = require('react-native'); | |
| var { |
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
| myMap is something like "OrderedMap { 3636: Map { stop: "2015-01-29T22:00:00.000-08:00", }, 3637: Map { stop: "2015-01-31T22:00:00.000-08:00", ... } }" | |
| myMap.sort(function(a, b) { | |
| if (moment(a.get('stop_at')).unix() > moment(b.get('stop_at')).unix()) { | |
| return 1; | |
| } else if (moment(a.get('stop_at')).toDate() < moment(b.get('stop_at')).toDate()) { | |
| return -1; | |
| } else { | |
| return 0; | |
| } |
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
| # Dans app.coffee : | |
| # du coup tu peux push des custom la dedans | |
| validators = require('react-form-builder').Validators | |
| _.each validators, (value, key) -> | |
| window.validators[key] = new value() | |
| # form definition | |
| { |
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
| loadResource: (stateName, callback) -> | |
| @abortRequest(stateName) | |
| console.log "c" | |
| @setState loading: true, => | |
| console.log "log here" |
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
| @QQAdmin.module "Entities", (Entities, App, Backbone, Marionette, $, _) -> | |
| class Entities.Person extends Entities.Model |
NewerOlder