Skip to content

Instantly share code, notes, and snippets.

View fix's full-sized avatar
🏠
Working from home

François-Xavier Thoorens fix

🏠
Working from home
View GitHub Profile
@fix
fix / devinette.html
Last active December 1, 2018 14:42 — forked from JProure07200/devinette.js
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Devinette</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->

Keybase proof

I hereby claim:

  • I am fix on github.
  • I am fixcrypt (https://keybase.io/fixcrypt) on keybase.
  • I have a public key ASARQt_csHh2d9FLDLGEc-1kw6uo7wEik9MMN61EVj2z5Ao

To claim this, I am signing this object:

@fix
fix / testsignature.js
Last active August 11, 2017 14:39
testing nucleid
var arkjs=require("arkjs");
module.exports = function (args) {
var tx = arkjs.transaction.createTransaction.apply(null, args);
return tx.signature;
}
@fix
fix / ark.php
Created August 11, 2017 11:30
embed ark in php
<?php
$output = shell_exec('nucleid -r arkjs -e transaction.createTransaction "AN7BURQn5oqBRBADeWhmmUMJGQTy5Seey3" 1000000000 "" 🦄 --ojson');
echo "<h1>My signed transaction</h1><pre>$output</pre>";
?>
@fix
fix / lisk.php
Created August 11, 2017 11:29
embed lisk into php
<?php
$output = shell_exec(‘nucleid -r “lisk-js” -e “transaction.createTransaction” “123123123123123L” 1000000000 “passphrase”’);
echo “<h1>My signed lisk transaction</h1><pre>$output</pre>”;
?>
private.getKeysSortByVote = function (cb) {
modules.accounts.getAccounts({
isDelegate: 1,
sort: { "vote": -1, "publicKey": 1 },
limit: slots.delegates
}, ["publicKey"], function (err, rows) {
if (err) {
cb(err)
}
{
"timestamp":1460042343916,
"btc":0.01588920,
"usd":6.72,
"eur":5.90
}
@fix
fix / GrailsDotOrgAPI.md
Created January 23, 2013 10:29
Grails.org API

From the URLMapping.groovy file:

        "/api/v1.0/downloads"(controller: "download", action: "apiList")
        "/api/v1.0/download/$version"(controller: "download", action: "apiShow")

        "/api/v1.0/publish"(controller:"repository", action:"publish")
        "/api/v1.0/publish/$plugin/$version"(controller:"repository", action:"publish")
        "/api/v1.0/plugins/$category?"(controller: "plugin", action: "apiList")
        "/api/v1.0/plugin/$name/$version"(controller: "plugin") {
 action = [GET: "apiShow", PUT: "apiUpdate"]
@fix
fix / grails48
Created November 9, 2012 15:06
grails48
Feature1: track user's time
Feature2: manage user contacts (mini CRM)
Feature3: invoicing
Feature4: automagically find gravatar picture
Feature5: create recognisable design, video and
all promotion
Feature6: include online payment
Feature7: use PJAX for smoothing navigation
Feature8: notifications system via email and/or
SMS
@fix
fix / testng-results.xml
Created December 29, 2011 11:03
testng result for purplefox/vert.x issue #37
<testng-results skipped="0" failed="6" total="152" passed="146">
<reporter-output>
</reporter-output>
<suite name="Ant suite" duration-ms="15268" started-at="2011-12-29T11:57:27Z" finished-at="2011-12-29T11:57:42Z">
<groups>
</groups>
<test name="Ant test" duration-ms="15268" started-at="2011-12-29T11:57:27Z" finished-at="2011-12-29T11:57:42Z">
<class name="org.vertx.tests.core.http.RouteMatcherTest">
<test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2011-12-29T11:57:39Z" finished-at="2011-12-29T11:57:39Z">
</test-method>