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
[{"key":"AccountsDisplayDensity","value":false},{"key":"AccountsEmphasizedInflows","value":false},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AccountsStripedRowsColor","value":"#fafafa"},{"key":"AccountsStripedRowsDarkColor","value":"#1e1e1f"},{"key":"AutoDistributeSplits","value":false},{"key":"AutoEnableRunningBalance","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":false},{"key":"BottomNotificationBar","value":false},{"key":"BudgetProgressBars","value":false},{"key":"BulkEditMemo","value":true},{"key":"BulkManagePayees","value":false},{"key":"CalculateIRR","value":false},{"key":"CalendarFirstDay","value":false},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":false},{"key":"ChangeEnterBehavior","value":false},{"key":"ChangeMemoEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection |
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
// Do not user fat arrow function | |
const print = function (){ | |
console.log(...[...arguments]); | |
} |
- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
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
VBoxManage.exe modifymedium path\to\hdd.vdi --resize {size_in_mb} |
While you should not disable the UAC prompts for the whole computer, you may want to disable it for certain applications. Using the Microsoft Application Compatibility Toolkit and following the steps below, you can disable the UAC prompts for one or more specific applications which you trust. This will NOT disable the User Account Control feature for the whole computer.
- Create a system restore point first.
- Download and install the Microsoft Application Compatibility Toolkit 5.0. (https://www.microsoft.com/en-us/download/details.aspx?id=7352)
- In the Start menu, locate the new folder. Find the shortcut icon for Compatibility Administrator. Right click it and click Run as administrator.
- In the left-hand pane, right-click on the database under Custom Databases and select Create New, and select Application Fix.
- Enter the name and other details of the application you want to alter behavior on and then browse to it to select it. Click Next.
- Click Next until you are in the Compatibility Fixes scre
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
-- To check the active activity | |
select * from pg_stat_activity where state = 'active'; | |
-- To cancle an activity | |
select pg_cancel_backend(<pid of the process>) | |
-- To Terminate an activity | |
select pg_terminate_backend(<pid of the process>) |
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
var controller = angular.element("[ng-controller='ControllerName']"); | |
var scope = controller.scope(); |
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
fact = (function(){ | |
var memo = {}; | |
function clousre(n){ | |
console.log(n); | |
if (n == 0 || n == 1) | |
return 1; | |
if (n in memo) | |
return memo[n]; | |
memo[n] = n * clousre(n - 1); | |
return memo[n]; |
NewerOlder