- 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/
[{"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 |
// Do not user fat arrow function | |
const print = function (){ | |
console.log(...[...arguments]); | |
} |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
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.
-- 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>) |
var controller = angular.element("[ng-controller='ControllerName']"); | |
var scope = controller.scope(); |
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]; |
function Post(url, data, options) { | |
var deferred = $q.defer(); | |
$http.post(url, data, options) | |
.success(function(res) { | |
deferred.resolve(res); | |
}).error(function(error, status) { | |
deferred.reject({ error: error, status: status }); | |
}); | |
return deferred.promise; | |
} |