Skip to content

Instantly share code, notes, and snippets.

View cagcak's full-sized avatar
😱
ExpressionChangedAfterItHasBeenCheckedError

Çağrı cagcak

😱
ExpressionChangedAfterItHasBeenCheckedError
View GitHub Profile
@cagcak
cagcak / postman_install.sh
Created July 26, 2018 06:20 — forked from oleg-sh-test/postman_install.sh
Postman install Ubuntu 18.04
#!/bin/bash
# Get postman app
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
#Create a Desktop Entry
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
@cagcak
cagcak / example.js
Last active August 26, 2019 18:12 — forked from millermedeiros/example.js
execute multiple shell commands in series on node.js
// USAGE ------
// ============
var shell = require('./shellHelper');
// execute a single shell command
shell.exec('npm test --coverage', function(err){
console.log('executed test');
}});