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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(build/dist/css/.*)$ http://ur-server/cachet_test/Cachet/public/$1 [R=301,L] | |
RewriteRule ^(build/dist/js/.*)$ http://ur-server/cachet_test/Cachet/public/$1 [R=301,L] | |
RewriteRule ^(api/v1/.*)$ http://ur-server/cachet_test/Cachet/public/$1 [R=301,L] | |
</IfModule> |
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 python | |
# | |
# Author: helour | |
# Copyright: 2013-2015 helour | |
# Based on the cr33dog's script Export Layers as PNG (http://registry.gimp.org/node/18440) | |
# License: GPL v3+ | |
# | |
# Version: 0.7 | |
# | |
# GIMP plugin to export layers as a multiple pages PDF file |
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
Parse.Cloud.job("Truncate_Multiple_Ad", function(request, response) { | |
Parse.Cloud.useMasterKey() | |
var adQuery = new Parse.Query(AdObj) | |
var tmpAd= []; | |
var toRemove = [] | |
return adQuery.find().then(function(ads){ | |
var byFbid = _.groupBy(ads, function(a){return a.get('datePublish')}) | |
console.log(_.keys(byFbid).length + ' by date publish') |
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 | |
### BEGIN INIT INFO | |
# Provides: firewall | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Gateway firewall script | |
# Description: Enable service provided by daemon. |
NewerOlder