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
If missing config.h file: | |
1. Go to the node modules folder | |
cd node_modules/react-native/third-party/glog-{X}.{X}.{X}/ | |
2. Run the config script: | |
./configure | |
Change to release mode: | |
Product -> Scheme -> Edit Scheme and then select Debug under Build | |
Xcode 10 issue: |
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
Open the Run | |
Run the following command | |
shell:AppsFolder | |
https://answers.microsoft.com/en-us/windows/forum/windows_10-windows_store/starting-windows-10-store-app-from-the-command/836354c5-b5af-4d6c-b414-80e40ed14675 |
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
https://www.linode.com/docs/databases/postgresql/how-to-install-postgresql-relational-databases-on-centos-7/ |
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
Do | |
You may try the following but may not succeed: | |
git config --local --unset credential.helper | |
git config --global --unset credential.helper | |
git config --system --unset credential.helper | |
On Mac, the configuration is stored in: | |
/Library/Developer/CommandLineTools/usr/share/git-core/gitconfig |
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
Keeping things alive with: | |
screen |
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
Enable airdrop: defaults write com.apple.NetworkBrowser DisableAirDrop -bool NO | |
Disable airdrop: defaults write com.apple.NetworkBrowser DisableAirDrop -bool YES | |
https://answers.uillinois.edu/page.php?id=56564 |
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
# To look at the start of the file | |
head -(whatever number here) filename |
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
// Commands: | |
mongod --version // Check version | |
which mongo // Check where mongo is | |
// Locations: | |
Logs are stored in /var/log/mongodb | |
Something is stored in /var/lib/mongo | |
Installing | |
// Go to: |
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 { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({name: 'searchFilter'}) | |
export class SearchFilterPipe implements PipeTransform { | |
iterate(obj, searchText) { | |
for (let property in obj) { | |
if (obj.hasOwnProperty(property)) { | |
if (typeof obj[property] === "object") { | |
if (this.iterate(obj[property], searchText)){ | |
return 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShellAsAdmin] | |
@="Open PowerShell window here as administrator" | |
"Extended"="" | |
"HasLUAShield"="" | |
"Icon"="powershell.exe" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShellAsAdmin\command] | |
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -windowstyle hidden -Command \"Start-Process powershell -ArgumentList '-NoExit', '-Command cd %V' -Verb runAs\"" |
NewerOlder