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
git config --global user.name "Guilherme Ventura" | |
git config --global user.email "guilhermeventura2@gmail.com" | |
git config --global push.default simple | |
git config --global color.ui true | |
git config --global alias.s status | |
git config --global alias.c checkout | |
git config --global alias.co checkout |
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
// https://github.com/lodash/lodash/issues/1696 | |
import {clone, setWith, curry} from 'lodash/fp'; | |
// export const setIn = curry((path, value, obj) => | |
// setWith(clone, path, value, clone(obj)), | |
// ); | |
export const setIn = curry((obj, path, value) => | |
setWith(clone, path, value, clone(obj)), | |
); |
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
/** | |
* @author sellistonball | |
*/ | |
/** | |
* Calculates a check digit for an isin | |
* @param {String} code an ISIN code with country code, but without check digit | |
* @return {Integer} The check digit for this code | |
*/ | |
function calcISINCheck(code) { |
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
function onOpen() { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var entries = [{ | |
name : "Refresh Categories", | |
functionName : "refresh_ynab_categories" | |
}]; | |
sheet.addMenu("YNAB", entries); | |
}; | |
function refresh_ynab_categories() { |
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
//Convert .Net Type to SqlDbType or DbType and vise versa | |
//This class can be useful when you make conversion between types .The class supports conversion between .Net Type , SqlDbType and DbType . | |
using System; | |
using System.Collections; | |
using System.Data; | |
namespace Devintelligence.Common.Data | |
{ | |
/// <summary> |
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
--- | |
layout: nil | |
--- | |
<?xml version="1.0" encoding="utf-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title type="text" xml:lang="en">{{ site.root_desc }}</title> | |
<link type="application/atom+xml" href="http://paulstamatiou.com/feed/" rel="self"/> | |
<link type="text" href="http://paulstamatiou.com" rel="alternate"/> | |
<updated>{{ site.time | date_to_xmlschema }}</updated> |
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
git config --global user.name "Tarcisio Coutinho" | |
git config --global user.email "tcs5cin@gmail.com" | |
git config --global color.ui true | |
git config --global alias.s status | |
git config --global alias.c checkout | |
git config --global alias.b branch | |
git config --global alias.lol log --oneline --graph --decorate |
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
function YNABAccounts(accessToken, budgetId) { | |
const accounts = _getBudgetAccounts(accessToken, budgetId); | |
if(accounts == null) { | |
return null; | |
} | |
const columns = ["Name", "Type", "Budget", "Closed", "Balance"]; | |
const rows = accounts.map(function (acc) { | |
return [ |
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
OlderNewer