I hereby claim:
- I am zenithar on github.
- I am zenithar (https://keybase.io/zenithar) on keybase.
- I have a public key whose fingerprint is F818 31AF F8EB D14B 8AC8 57F1 E872 2773 022E 7155
To claim this, I am signing this object:
FROM scratch # No parent image | |
MAINTAINER Thibault NORMAND <me@zenithar.org> | |
ADD rootfs.tar / | |
VOLUME ["/var/log/nginx"] | |
VOLUME ["/www"] | |
VOLUME ["/etc/nginx/sites-available"] | |
VOLUME ["/etc/nginx/ssl"] |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/nmcclain/ldap" | |
) | |
var ( |
# | |
# Used to calculate the checksum | |
# http://fr.wikipedia.org/wiki/Relev%C3%A9_d'identit%C3%A9_op%C3%A9rateur | |
# | |
exports.calcChksm = (oo, q, rrrrrr, notel) -> | |
concatenation = "#{oo}#{q}#{rrrrrr}#{notel}" | |
ordre = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+" | |
a = b = c = 0 | |
for i in concatenation |
commit 1fb71794b4d53d203fc64dc5d57baa5850991303 | |
Author: Ken Robertson <ken@invalidlogic.com> | |
Date: Tue Sep 29 12:58:00 2015 -0700 | |
Applied patches for Workstation 11.1.2 on 4.2 kernel. | |
Patches were taken from the VMware forums here: | |
https://communities.vmware.com/thread/517279 |
# Quoted in http://ww.zenithar.org/2012/04/06/iced-coffeescript-minification/ | |
# Based on https://github.com/jashkenas/coffee-script/wiki/%5BExtensibility%5D-Hooking-into-the-Command-Line-Compiler | |
# | |
# Don't forget to install UglifyJS | |
# npm install -g uglify-js | |
# | |
# CoffeeScript = require 'coffee-script' | |
CoffeeScript = require 'iced-coffee-script' | |
{parser, uglify} = require 'uglify-js' |
crypto = require("crypto") | |
# | |
# Hashing algorithm conform to Owasp. | |
# https://www.owasp.org/index.php/Hashing_Java | |
# | |
exports.secureHash = (algorithm, key, message, iterations) -> | |
hash = crypto.createHash(algorithm) | |
hmac = crypto.createHmac(algorithm, key) | |
buf = hash.update(key).digest() + message |
MyCollection = require 'models/mycollections' | |
MyModel = require 'models/mymodel' | |
m1 = new MyModel({id: 1, label: 'tata'}) | |
m2 = new MyModel({id: 14, label: 'tete'}) | |
m3 = new MyModel({id: 2, label: 'titi'}) | |
col = new MyCollection() | |
col.add m1 | |
col.add m2 |
package main | |
import ( | |
"crypto/md5" | |
"crypto/sha1" | |
"crypto/sha256" | |
"crypto/sha512" | |
"fmt" | |
"hash" | |
"hash/crc32" |
var sys = require('util'), | |
fs = require('fs'), | |
rest = require('restler'), | |
async = require('async'), | |
_ = require('underscore'), | |
BASEURL = "http://localhost:8080/icescrum/ws/p/", | |
SPRINTID = 1, | |
PRJKEY = "PRJ1"; | |
IceScrum = rest.service(function(u, p) { |