This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Ask for the user password | |
| # Script only works if sudo caches the password for a few minutes | |
| sudo true | |
| # Add Docker PPA and install latest version | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
| sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" | |
| sudo apt-get update | |
| sudo apt-get install lxc-docker -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # | |
| # backup_redmine.sh | |
| # modified by [email protected] | |
| # Inspiration: https://gist.github.com/gabrielkfr/6432185 | |
| # | |
| # Distributed under terms of the MIT license. | |
| # -- VARS | |
| DAY=`date +"%Y%m%d"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Built application files | |
| /*/build/ | |
| # Crashlytics configuations | |
| com_crashlytics_export_strings.xml | |
| # Local configuration file (sdk path, etc) | |
| local.properties | |
| # Gradle generated files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # | |
| # backup_redmine.sh | |
| # modified by [email protected] | |
| # Inspiration: https://gist.github.com/gabrielkfr/6432185 | |
| # | |
| # Distributed under terms of the MIT license. | |
| # -- VARS | |
| DAY=`date +"%Y%m%d"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env groovy | |
| @Grab('org.apache.pdfbox:pdfbox:1.8.8') | |
| import org.apache.pdfbox.cos.COSArray | |
| import org.apache.pdfbox.cos.COSString | |
| import org.apache.pdfbox.pdfparser.PDFStreamParser | |
| import org.apache.pdfbox.pdfwriter.ContentStreamWriter | |
| import org.apache.pdfbox.pdmodel.PDDocument | |
| import org.apache.pdfbox.pdmodel.PDPage | |
| import org.apache.pdfbox.pdmodel.common.PDStream | |
| import org.apache.pdfbox.util.PDFOperator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf8 -*- | |
| import sys, os | |
| import sqlite3 | |
| import urllib.request | |
| #import requests | |
| import subprocess | |
| from urwid import * | |
| import pdb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
NewerOlder