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
| # http://docs.gitlab.com/ce/ci/docker/using_docker_build.html#using-the-gitlab-container-registry | |
| # The docker tag is the first 6 letters of the Git commit id | |
| job_build_dotnet: | |
| stage: build | |
| image: microsoft/dotnet:latest | |
| script: | |
| - dotnet restore | |
| - dotnet publish src/MyProject.Web -c Release | |
| artifacts: |
Make sure all required build tools are installed at build server.
- Install Runner on build server (download the version for OS).
- Configure runner. Enter URL and token from Project > settings > runners page. Choose executor as shell.
- Start command prompt with normal (DO NOT start as Administrator).
$ gitlab-runner register
$ gitlab-runner run
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
| == For 64 bit arch | |
| 1. Download oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm and oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm from Oracle site | |
| 2. install alien: sudo apt-get install alien | |
| 3. install oracle instal client: | |
| 3.1 sudo alien -i oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm | |
| 3.2 sudo alien -i oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm | |
| 4. install php package | |
| 4.1 sudo apt-get install php5-dev | |
| 4.2 sudo apt-get install libcurl3-openssl-dev |
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/sh | |
| # ========================================================= # | |
| # MyEzBkp | |
| # Easy and simple backup of your entire MySQL Server. | |
| # | |
| # Ver: 1.0 | |
| # By: Kriansa | |
| # | |
| # This script requires root privileges to run! | |
| # Tested only in RHEL based distros (Fedora & CentOS) |
Source: http://www.syahzul.com/2016/04/06/how-to-install-oci8-on-ubuntu-14-04-and-php-5-6/
Download the Oracle Instant Client and SDK from Oracle website. (Need to login in Oracle page)
http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
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
| // JS array equivalents to C# LINQ methods - by Dan B. | |
| // Here's a simple array of "person" objects | |
| var people = [ | |
| { name: "John", age: 20 }, | |
| { name: "Mary", age: 35 }, | |
| { name: "Arthur", age: 78 }, | |
| { name: "Mike", age: 27 }, | |
| { name: "Judy", age: 42 }, | |
| { name: "Tim", age: 8 } |
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
| <html> | |
| <head> | |
| <title>Demo for using web workers with pdfmake.js</title> | |
| <style> | |
| body { | |
| width: 100vw; | |
| height: 100vh; | |
| display: flex; | |
| justify-content: center; |