Skip to content

Instantly share code, notes, and snippets.

View ibobcode's full-sized avatar

Dylan HEIRSTRAETEN ibobcode

  • Payfit
  • Paris
View GitHub Profile
[]
#!/bin/bash
is_mounted_test() {
if test -d "/fs"; then
printf "> Mounted fs : \t OK\n"
else
printf "> Mounted fs : \t KO\n"
fi
}
echo "all good" > results.log
#!/bin/bash
allowed_time=$(date -d '+10 hour' +%H:%M:%S)
testnwrap() {
./test.sh
tar -cf results.tar /fs
cp results.tar /fs
cp results.log /fs
}
[
{
"name": "Daily Fred",
"trigger": {
"type": "text",
"content": "@dailyoyan"
},
"upload": [
"https://scontent-cdg2-1.xx.fbcdn.net/v/t1.15752-9/52459033_2147539375326409_5802182254876688384_n.jpg?_nc_cat=101&_nc_ht=scontent-cdg2-1.xx&oh=18dda671ddf9043d3701d847192402b0&oe=5CDDFD89",
"https://scontent-cdg2-1.xx.fbcdn.net/v/t1.15752-9/52474460_1682860965193553_8690086224251060224_n.jpg?_nc_cat=102&_nc_ht=scontent-cdg2-1.xx&oh=df268f8ea04b9b85aa4eb47a5e6df6e3&oe=5D11CC52"
# initialization file (not found)
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->