I hereby claim:
- I am lajlev on github.
- I am lajlev (https://keybase.io/lajlev) on keybase.
- I have a public key whose fingerprint is 0CCE 9020 6843 944A 325C FBBE F930 C27C 3BAF 7BBE
To claim this, I am signing this object:
#!/usr/bin/ruby | |
tmp = "{query}" | |
# If there was a query, then parse the query | |
unless tmp.nil? || tmp == 0 | |
args = tmp.split | |
num = args.at(0) | |
char_limit = args.at(1) | |
else |
I hereby claim:
To claim this, I am signing this object:
module.exports = function(grunt) { | |
require('load-grunt-tasks')(grunt) | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
svgmin: { | |
dist: { | |
expand: 'true', |
function pixels() { | |
echo -e "w x h | $(sips -g pixelWidth $1 | tail -n1 | cut -d" " -f4) x $(sips -g pixelHeight $1 | tail -n1 | cut -d" " -f4)" | |
} |
function m(){ | |
git add . -A | |
if [ -z "$1" ] | |
then | |
N=0 | |
COMMITS=('Feature' 'Hotfix' 'Visual improvement' 'Various changes') | |
for i in "${COMMITS[@]}" | |
do | |
N=`expr $N + 1` | |
echo "[${N}] ${i}" |
body.expired:before { | |
content: ""; | |
display: block; | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0; | |
z-index: 9999; |
Remove | |
<div class="status-header">Chat</div> | |
<div class="status-tab chat-open">Open</div> | |
Move | |
<a id="join-pair-chat" class="btn btn-success pairchat hide" href="#" style="display: inline;">Enter</a> |
<?php | |
######################################################## | |
# delapacheuserfiles.php | |
# | |
# Author: Claudio Kuenzler | |
# Company: Nova Company GmbH www.novacompany.ch | |
# Purpose: Deletes files and folders created by Apache user | |
# | |
# Version History |
# Attempt to load files from production if they're not in our local version. Put this file in upload folder. | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule (.*) http://cyberhus.dk/sites/default/files/$1 | |
</IfModule> |
On Mac OS X (Leopard), the Apache HTTP Server runs under the user account, _www which belongs to the group _www. To allow WordPress to configure wp-config.php during installation, update files during upgrades, and update the .htaccess file for pretty permalinks, give the server write permission on the files.
One way to do this is to change the owner of the wordpress directory and its contents to _www. Keep the group as staff, a group to which your user account belongs and give write permissions to the group.
$ cd //Sites/