flow.txt
hello
require('flow.txt'); // hello
fs.writeSync('flow.txt', 'helloagain');| export default function transformer(file, api) { | |
| const j = api.jscodeshift; | |
| return j(file.source) | |
| .find(j.CallExpression, { | |
| callee: { | |
| type: 'Identifier', | |
| name: 'test', | |
| }, | |
| }) |
| git config core.ignorecase false | |
| git rm -rf --cached . | |
| git add -A | |
| const fs = require('fs'); | |
| const walkSync = require('walk-sync'); | |
| const workerpool = require('workerpool'); | |
| const os = require('os'); | |
| const chalk = require('chalk'); | |
| const maxWorkers = Math.ceil(os.cpus().length / 3); | |
| const pool = workerpool.pool(`${__dirname}/worker.js`, { | |
| maxWorkers, |
| import Controller from '@ember/controller'; | |
| export default class ApplicationController extends Controller { | |
| appName = 'Ember Twiddle'; | |
| } |
| git branch | grep -v "master" | xargs git branch -D |
| var obj = [{ | |
| "key": "apple", | |
| "value": 1.90, | |
| "category": ["food", "fruit"], | |
| "nutrition": { | |
| "calories": 10 | |
| } | |
| }, { | |
| "key": "berry", | |
| "value": 1.7 |
flow.txt
hello
require('flow.txt'); // hello
fs.writeSync('flow.txt', 'helloagain');| Application is agent (UIElement) = YES |
| #!/usr/bin/env sh | |
| # | |
| # This script automates images optimization | |
| # is mainly used by a developer who manually | |
| # can execute it when adding new images to the | |
| # project | |
| # | |
| # Download and compile following binaries: | |
| # | |
| # - [jpegtran](http://www.ijg.org/) |
| // NSColor *color = [NSColor colorWithCalibratedRed:0.121f green:0.4375f blue:0.1992f alpha:0.2578f]; | |
| // | |
| // [btnAdd setWantsLayer:YES]; | |
| // btnAdd.layer.backgroundColor = color.CGColor; |