This file contains 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
--skip-action-mailer | |
--skip-action-mailbox | |
--skip-jbuilder | |
--skip-system-test | |
--asset-pipeline=propshaft | |
--css=tailwind | |
--database=sqlite3 |
This file contains 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
# An example global gitignore file | |
# | |
# Place a copy if this at ~/.gitignore_global | |
# Run `git config --global core.excludesfile ~/.gitignore_global` | |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll |
This file contains 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/bash | |
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it! | |
# IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS. | |
# This script needs to be run from the volume you wish to use. | |
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh | |
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars. | |
# Get active services: launchctl list | grep -v "\-\t0" | |
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents |
This file contains 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
defaults write com.microsoft.VSCode CGFontRenderingFontSmoothingDisabled 0 | |
defaults write com.microsoft.VSCode.helper CGFontRenderingFontSmoothingDisabled 0 | |
defaults write com.microsoft.VSCode.helper.EH CGFontRenderingFontSmoothingDisabled 0 | |
defaults write com.microsoft.VSCode.helper.NP CGFontRenderingFontSmoothingDisabled 0 |
This file contains 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
/_build | |
/deps | |
/doc | |
/tmp | |
/node_modules | |
/assets/node_modules | |
/installer/_build | |
/installer/tmp |
This file contains 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
\pset null 'NULL' | |
\encoding latin1 | |
\set PROMPT1 '%n@%M:%>%x %/# ' | |
\pset pager always | |
\timing on | |
\set qstats92 ' | |
SELECT usename, datname, left(query,100) || ''...'' As query | |
FROM pg_stat_activity WHERE state != ''idle'' ; | |
' |
This file contains 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
--- | |
benchmark: false | |
verbose: false | |
update_sources: true | |
backtrace: true | |
gem: --no-ri --no-rdoc --no-document --suggestions |
This file contains 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
{ | |
"name": "React", | |
"version": "1.0.0", | |
"description": "Starter kit for React and Redux", | |
"scripts": { | |
"prestart": "babel-node tools/startMessage.js", | |
"start": "npm-run-all --parallel test:watch open:src lint:watch", | |
"open:src": "babel-node tools/srcServer.js", | |
"lint": "node_modules/.bin/esw webpack.config.* src tools", | |
"lint:watch": "npm run lint -- --watch", |
This file contains 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
go get -u -v github.com/nsf/gocode | |
go get -u -v github.com/rogpeppe/godef | |
go get -u -v github.com/golang/lint/golint | |
go get -u -v github.com/lukehoban/go-outline | |
go get -u -v sourcegraph.com/sqs/goreturns | |
go get -u -v golang.org/x/tools/cmd/gorename | |
go get -u -v github.com/tpng/gopkgs | |
go get -u -v github.com/newhook/go-symbols | |
go get -u -v golang.org/x/tools/cmd/guru | |
go get -u -v github.com/visualfc/gotools |
This file contains 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/bash | |
# Help menu | |
print_help() { | |
cat <<-HELP | |
This script is used to fix permissions of a Drupal installation | |
you need to provide the following arguments: | |
1) Path to your Drupal installation. | |
2) Username of the user that you want to give files/directories ownership. | |
3) HTTPD group name (defaults to www-data for Apache). | |
Usage: (sudo) bash ${0##*/} --drupal_path=PATH --drupal_user=USER --httpd_group=GROUP |
NewerOlder