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
| import { NgModule } from '@angular/core'; | |
| ... | |
| import { environment } from '../environments/environment'; | |
| @NgModule({ | |
| ... | |
| providers: [{ | |
| provide: LocationStrategy, | |
| useClass: environment.production ? PathLocationStrategy : HashLocationStrategy, | |
| }], |
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
| sed -i "s/RELEASE=.*/RELEASE=$(git log --pretty="%h" -n1 HEAD)/" .env |
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
| /** | |
| * Create a Carbon instance from a specific format. | |
| * | |
| * @param string $format | |
| * @param string $time | |
| * @param \DateTimeZone|string|null $tz | |
| * | |
| * @throws \InvalidArgumentException | |
| * | |
| * @return static |
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
| /** | |
| * Create a DSN string from a configuration. | |
| * | |
| * @param array $config | |
| * @return string | |
| */ | |
| protected function getDsn(array $config) | |
| { | |
| // First we will create the basic DSN setup as well as the port if it is in |
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
| ^(master|pr\/[0-9]+)$ |
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
| const fs = require('fs'); | |
| const readline = require('readline'); | |
| const rl = readline.createInterface({ | |
| input: process.stdin, | |
| output: process.stdout | |
| }); | |
| // Load the participants and questions from the files. | |
| fs.readFile('participants.txt', 'utf8', (err, participantsData) => { | |
| if (err) { |
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
| rollup () { | |
| local -a exts=() | |
| local -a exclude_dirs=(node_modules dist .next) | |
| while (( $# )) | |
| do | |
| case "$1" in | |
| (-x | --exclude) shift | |
| IFS=',' read -r -a exclude_dirs <<< "${1:-}" ;; | |
| (*) exts+=("$1") ;; | |
| esac |
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
| cat ~/.claude/settings.json | |
| { | |
| "attribution": { | |
| "commit": "", | |
| "pr": "" | |
| }, | |
| "permissions": { | |
| "allow": [ | |
| "Read", | |
| "Edit", |
OlderNewer