Visit my blog or connect with me on Twitter
git init
or
| #!/bin/bash | |
| USERNAME=<username> | |
| PASSWORD=<password> | |
| INSTANCE="<company>.atlassian.net" | |
| LOCATION="./Backups/" | |
| mkdir "Backups" | |
| # Grabs cookies and generates the backup on the UI. |
| #!/bin/bash | |
| ## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
| ## | |
| ## This script is licensed under the terms of the MIT license. | |
| ## https://opensource.org/licenses/MIT | |
| # | |
| # Lockable script boilerplate | |
| ### HEADER ### |
| # (C) 2016, Deepak Kothandan | |
| # This file is part of Ansible | |
| # | |
| # Ansible is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # Ansible is distributed in the hope that it will be useful, |
| HOSTS=host_a host_b | |
| INVENTORY=../data/inventory.inv | |
| PLAYBOOK=../playbooks/test.yml | |
| TIMEOUT=600 | |
| deploy: all_hosts | |
| all_hosts: $(HOSTS) | |
| $(HOSTS): |
| package main | |
| import ( | |
| "html/template" | |
| "io" | |
| "net/http" | |
| "os" | |
| ) | |
| //Compile templates on start |
Visit my blog or connect with me on Twitter
git init
or
| # This gist is compatible with Ansible 1.x . | |
| # For Ansible 2.x , please check out: | |
| # - https://gist.github.com/dmsimard/cd706de198c85a8255f6 | |
| # - https://github.com/n0ts/ansible-human_log | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| #include <Wire.h> | |
| #include "SSD1306.h" | |
| #define SET_BIT_HIGH(__mem, __x, __y) \ | |
| __mem[x + (y >> 3)*128] |= _BV( y - ((y >> 3) << 3) ) | |
| static const uint8_t sinustable[ 0x100 ] = { | |
| 0x80, 0x7d, 0x7a, 0x77, 0x74, 0x70, 0x6d, 0x6a, | |
| 0x67, 0x64, 0x61, 0x5e, 0x5b, 0x58, 0x55, 0x52, | |
| 0x4f, 0x4d, 0x4a, 0x47, 0x44, 0x41, 0x3f, 0x3c, |
| [supervisord] | |
| nodaemon=true | |
| loglevel=debug | |
| [program:amon] | |
| command=gunicorn -c gunicorn.conf.py wsgi | |
| directory=/amon | |
| autostart=true | |
| autorestart=true | |
| redirect_stderr=true |
| - name: Compute Vagrant latest version | |
| sudo: yes | |
| shell: wget -qO - https://dl.bintray.com/mitchellh/vagrant/|sed -n 's/.*href=\"\([^"]*\).*/\1/p'|grep x86_64\.deb|tail -1|cut -d'#' -f2 | |
| register: vagrant_file_name | |
| - name: Download Vagrant latest version | |
| shell: "wget https://dl.bintray.com/mitchellh/vagrant/{{ vagrant_file_name.stdout }} -O {{ vagrant_file_name.stdout }}" | |
| args: | |
| chdir: "./bootstrap/files" | |
| creates: "{{ vagrant_file_name.stdout }}" |