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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: francisvarga | |
* Date: 7/21/15 | |
* Time: 12:12 PM | |
*/ | |
Route::get('/', function () { | |
return view('admin.index'); |
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 bash | |
xcode-select --install && | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && | |
brew doctor && | |
brew tap caskroom/versions && | |
brew tap caskroom/versions && | |
brew tap josegonzalez/php && | |
brew tap homebrew/dupes && | |
brew install git automake percona-server |
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
<style> | |
.gwd-page-size { | |
width: 620px; | |
height: 330px; | |
} | |
.gwd-div-gpxq { | |
position: absolute; | |
width: 620px; | |
height: 100px; |
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
<? | |
/** | |
* @param $queryData | |
* | |
* @return StreamedResponse | |
*/ | |
protected function _exportAsCsv($queryData) | |
{ | |
$container = $this->container; | |
$response = new StreamedResponse( |
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 bash | |
rm -rf Temp3/* | |
mv web-backend.tar.gz Temp3/ | |
tar xzf Temp3/web-backend.tar.gz -C Temp3/ | |
sudo stop web-backend | |
sudo start web-backend | |
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
- hosts: all | |
sudo: false | |
tasks: | |
- name: Install python-apt | |
sudo: true | |
apt: name=python-software-properties state=installed update_cache=yes cache_valid_time=3600 | |
- name: Install unzip |
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 | |
if [ -d "/tmp/build_mnt" ]; then | |
echo "/tmp/build_mnt already mounted - skip" | |
else | |
echo "Mount NAS to /tmp/build_mnt" | |
mkdir /tmp/build_mnt | |
mount -t smbfs //{{user}}:{{password}}@{{path}}/build {{mount_point}} | |
fi |
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
sudo docker run --name='gitlab' -it --rm -p 10022:22 -p 10080:80 -e 'GITLAB_PORT=10080' -e 'GITLAB_SSH_PORT=1022' -e 'GITLAB_HOST=*' -e 'GITLAB_PROJECTS_VISIBILITY=public' -e 'GITLAB_BACKUPS=daily' -v /home/francis/ops/gitlab-data:/home/git/data sameersbn/gitlab:latest |
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
[ERROR in query 51] Table 'pfe-frontend.dfp_daily_stats' doesn't exist | |
[ERROR in query 128] Cannot load from mysql.proc. The table is probably corrupted | |
[ERROR in query 129] Cannot load from mysql.proc. The table is probably corrupted | |
[ERROR in query 130] Cannot load from mysql.proc. The table is probably corrupted | |
[ERROR in query 131] Cannot load from mysql.proc. The table is probably corrupted | |
[ERROR in query 132] Cannot load from mysql.proc. The table is probably corrupted | |
Import cancelled! |
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
2014-05-14 15:50:55.999 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP: Connection problems with URI http://127.0.0.1:8091/pools ...skipping | |
java.io.IOException: Server returned HTTP response code: 401 for URL: http://127.0.0.1:8091/pools | |
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1626) | |
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:423) | |
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:209) | |
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:146) | |
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:313) | |
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:252) | |
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:217) | |
at adapters.CouchbaseAdapter.<init>(CouchbaseAdapter.java:36) |