This is pre-registered only Service. You may delete your content from within the app. To delete your account and registration, please contact at [email protected] with your login email id. The account will be permanently deleted within 48 hours of receving the email.
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 install Docker on Debian as root: | |
1) apt-get update | |
2) apt-get install ca-certificates curl gnupg lsb-release | |
3) curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
4) echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null | |
5) apt-get update | |
6) apt-get install docker-ce docker-ce-cli containerd.io |
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
const states = { | |
startField: 'startField', | |
startRow: 'startRow', | |
escaped: 'escaped', | |
nonQuoted: 'nonQuoted', | |
quoted: 'quoted', | |
}; | |
const EOF = 'eof'; | |
module.exports.csvParser = (content) => { |
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
const something = () => new Promise((resolve, reject) => { | |
setTimeout(() => reject(new Error('Rejected for some reason')), 1000); | |
}); | |
const somethingElse = () => Promise.reject({}); | |
// await something(); // top level await | |
const onRejected = () => console.log('Caught'); | |
const tryThis = async (asyncFunc) => { | |
try { |
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
def evaluate( | |
nakshatram: int, | |
udayadi_naligai: int, | |
mundaya_naligai: int, | |
nakshatra_iruppu: int, | |
should_reeval: bool, | |
padam: int = 1, | |
): | |
if nakshatram == 0: | |
return "NaksError" |
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
[alias] | |
a = !git add . && git status | |
ac = !git a && git commit | |
c = commit | |
ca = commit --amend | |
cm = commit -m | |
co = checkout | |
cob = checkout -b | |
cp = cherry-pick | |
d = diff |
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
import {applyMiddleware, createStore} from 'redux'; | |
import {State} from './state'; | |
import {composeWithDevTools} from 'redux-devtools-extension'; | |
import {createCheckedReducer} from 'redux-tcomb'; | |
import reducers from './reducers'; | |
import thunk from 'redux-thunk'; | |
const createStore = (reducer) => { | |
const checkedReducers = createCheckedReducer(reducer, State); | |
const middlewareStoreCreator = composeWithDevTools( |
NewerOlder