git grep -l 'search_text' | xargs sed -i '' -e 's/old_text/new_text/g'
git grep -l 'search_text' | xargs sed -i 's/old_text/new_text/g'
ID | Name | Abbreviation | Conference | Division | |
---|---|---|---|---|---|
1 | Arizona Cardinals | ARI | NFC | West | |
2 | Atlanta Falcons | ATL | NFC | South | |
3 | Baltimore Ravens | BAL | AFC | North | |
4 | Buffalo Bills | BUF | AFC | East | |
5 | Carolina Panthers | CAR | NFC | South | |
6 | Chicago Bears | CHI | NFC | North | |
7 | Cincinnati Bengals | CIN | AFC | North | |
8 | Cleveland Browns | CLE | AFC | North | |
9 | Dallas Cowboys | DAL | NFC | East |
import { useEffect, useState } from "react"; | |
export const ComponentX: React.FC = () => { | |
const [stateVar, setStateVar] = useState(undefined); | |
const [numberGeoRequests, setNumberGeoRequests] = useState(0); | |
const [lastRequestTime, setLastRequestTime] = useState( | |
new Date().getTime(), | |
); | |
useEffect(() => { |
config: | |
target: "http://localhost:8000" | |
http: | |
timeout: 10 # Responses have to be sent within 10 seconds or the request will be aborted | |
processor: "./processor.js" | |
phases: | |
# Create 100 virtual users every second for 60 seconds | |
- duration: 60 # seconds | |
arrivalRate: 100 # virtual users |
fastlane_version "1.94.0" | |
default_platform :ios | |
platform :ios do | |
desc "Run Unity Editor tests" | |
lane :test_unit do | |
unity( | |
run_editor_tests: true | |
) |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.8.0; | |
/** | |
* @title HotPotato | |
* @dev Implements voting process along with vote delegation | |
*/ | |
contract HotPotato { |
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
const BRANCH = 'demo-app'; | |
const REPO = 'git@gitlab.com:path/to/repo.git'; | |
const DEPLOY_PATH = '/home/ec2-user/AWS_PATH'; | |
const HOST = 'APP.YOUR_URL.COM'; | |
const USER = 'ec2-user'; // AWS user | |
module.exports = { | |
apps: [{ | |
name: 'API', | |
script: 'dist/server.js', |
# Node docker image on which this would be run | |
image: node:latest | |
stages: | |
#- test | |
- deploy | |
# lint and test are two different jobs in the same stage. | |
# This allows us to run these two in parallel and making build faster |