Skip to content

Instantly share code, notes, and snippets.

View maguri's full-sized avatar
🙏
Lets reconnect the humanity

Oriol Mauri maguri

🙏
Lets reconnect the humanity
View GitHub Profile
@maguri
maguri / hacktorial.js
Last active July 28, 2021 08:02
Script to Post your Factorial shifts automatically
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(window,(function(){return function(e){var o={};function t(n){if(o[n])return o[n].exports;var c=o[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var c in e)t.d(n,c,function(o){return e[o]}.bind(null,c));return n},t.n=function(e){var o=e&&e.__esModule?function(){retur
$ vagrant.exe ssh
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-79-generic i686)
* Documentation: https://help.ubuntu.com/
System information as of Sat Apr 2 15:44:01 UTC 2016
System load: 0.87 Processes: 84
Usage of /: 3.3% of 39.34GB Users logged in: 0
Memory usage: 8% IP address for eth0: 10.0.2.15
default: Guest Additions Version: 4.3.36
default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Mounting shared folders...
default: /home/vagrant/vagrant_data
default: /home/vagrant/vagrant_data => C:/Users/x/Documents/user_name/vagrant/project_name
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chown `id -u vagrant`:`id -g vagrant` /home/vagrant/vagrant_data
#...
config.vm.synced_folder ".", "/home/vagrant/vagrant_data"
#...
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y python3 python3-dev python3-pip
sudo pip3 install Django
#...