Skip to content

Instantly share code, notes, and snippets.

@azman0101
azman0101 / gist:5594062
Created May 16, 2013 18:45
Error at generate
Full error log (with -X option):
mvn me.noroutine:tobacco:generate -X
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /usr/share/maven
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
@azman0101
azman0101 / gist:5633100
Created May 23, 2013 06:29
Compiling error
azman0101@imac-de-julien:workersites-webapp$ mvn package t7:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Application 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.1:create (default) @ workersites-webapp ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
@azman0101
azman0101 / gist:5638138
Created May 23, 2013 18:08
mvn versions:display-property-updates
mvn versions:display-property-updates
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Application 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.0:display-property-updates (default-cli) @ workersites-webapp ---
[INFO]
[INFO] The following version properties are referencing the newest available version:
@azman0101
azman0101 / gist:5655422
Created May 27, 2013 06:10
Spring social Linkedin problem
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Application 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.1:create (default) @ workersites-webapp ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /Users/azman0101/Documents/SDK/projet_NFE114/workersites/workersites-webapp && git rev-parse --verify HEAD
@azman0101
azman0101 / .vimrc
Last active December 23, 2015 11:00
set nocompatible " be iMproved
" filetype on "Avoid errors on close
filetype off " required!
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" Bundles {{{-
" let Vundle manage Vundle
" required!
curl -s https://alias.sh/user/813/alias >> ~/.bash_aliases
wget -q -O - "@$" http://goo.gl/f1jNXi
@azman0101
azman0101 / gist:6851620
Created October 6, 2013 09:21
Python snippet
#print([x for x in self.object.__dict__.keys() if not x.startswith('_')])
Before compiling, install nginx-naxsi package. This package is compiled with the option --without-http_uwsgi_module.
Uninstall it but without purge for keeping configuration files.
Check https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source
---------- OLD ----------
543 wget https://dl.google.com/dl/page-speed/psol/1.6.29.5.tar.gz
->> https://github.com/pagespeed/ngx_pagespeed <<--
549 wget http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gz
553 wget http://nginx.org/download/nginx-1.5.8.tar.gz
@azman0101
azman0101 / TODO
Last active December 25, 2015 14:39 — forked from anonymous/gist:6992233
1 - Etendre la classe User
2 - Apporter des fonctions de décompte du nombre de log à la classe User étendu
3 - Utilisez ce décompte pour verifier que l'Admin (is_staff) d'index 1 se log pour la premier fois.
-> Lancer la fonction fileupload.task.update_All_Icon_from_Icon_db() si l'utilisateur se log pour la premiere fois
TO TEST:
Tout est à tester ! Aucun test n'a été rédigé.
Spécifiquement:
models.py et tasks.py
- Tester l'ajout d'une nouvelle icon par upload dans la partie Admin puis voir une solution pour le renommage de l'icone conformémant au principe ext.png -> .ext
http://uwsgi-docs.readthedocs.org/en/latest/Namespaces.html