Config is 2vCPU, 2 GB RAM and running Debian 7 on 64 bits.
apt-get update
apt-get upgrade
apt-get install htop
Add localadmin user
adduser localadmin
apt-get install sudo
- name: Use HTTPS for private repo checkout (ctrlgroup/rivescript-js in package.json) | |
run: | | |
git config --global --unset-all url."https://${{ secrets.PRIVATE_REPO_TOKEN }}:x-oauth-basic@github.com/".insteadOf || true | |
git config --global --unset-all url."https://${{ secrets.PRIVATE_REPO_TOKEN }}:x-oauth-basic@github.com".insteadOf || true | |
# Set the one you need out of the following | |
git config --global --add url."https://${{ secrets.PRIVATE_REPO_TOKEN }}:x-oauth-basic@github.com/".insteadOf "https://github.com/" | |
git config --global --add url."https://${{ secrets.PRIVATE_REPO_TOKEN }}:x-oauth-basic@github.com/".insteadOf "git@github.com:" | |
git config --global --add url."https://${{ secrets.PRIVATE_REPO_TOKEN }}:x-oauth-basic@github.com".insteadOf "ssh://git@github.com" |
#!/usr/bin/env node | |
// Channel ID is on the the browser URL.: https://app.slack.com/client/COMPANY_ID/CHANNEL_ID | |
// User id in on the browser URL.: https://app.slack.com/client/COMPANY_ID/CHANNEL_ID/user_profile/USER_ID | |
// Token can get from: https://api.slack.com/custom-integrations/legacy-tokens | |
// Pass it as a parameter: node ./bulk-delete-slack.js TOKEN CHANNEL_ID USER_ID DELAY | |
// Or use it without download the script: curl -Ls RAW_GIST_URL | node - TOKEN CHANNEL_ID | |
// GLOBALS ############################################################################################################# |
Paribu.com - Türkiye'nin Bitcoin Borsası | |
2021 (update) | |
Api endpoint | |
https://v3.paribu.com/app/markets/btc-tl?interval=1000 | |
Ticker |
// connect() is a function that injects Redux-related props into your component. | |
// You can inject data and callbacks that change that data by dispatching actions. | |
function connect(mapStateToProps, mapDispatchToProps) { | |
// It lets us inject component as the last step so people can use it as a decorator. | |
// Generally you don't need to worry about it. | |
return function (WrappedComponent) { | |
// It returns a component | |
return class extends React.Component { | |
render() { | |
return ( |
Config is 2vCPU, 2 GB RAM and running Debian 7 on 64 bits.
apt-get update
apt-get upgrade
apt-get install htop
Add localadmin user
adduser localadmin
apt-get install sudo