Tool | Timing (s) |
---|---|
Symbolica | 4.1 |
Mathematica | 89 |
Sympy | 3663 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
// gcc -c -g test.c -o libnautilus-seafile.o -fPIC `pkg-config --cflags glib-2.0`; | |
// gcc -shared libnautilus-seafile.o -o libnautilus-seafile.so `pkg-config --libs libccnet libseafile` | |
#include <stdio.h> | |
#include <glib.h> | |
#include <searpc-client.h> | |
#include <ccnet.h> | |
#include <searpc.h> | |
#include <seafile/seafile.h> |
Please publicly post the following Gist, and name it keybase.md
I hereby claim:
- I am benruijl on github.
- I am benruijl (https://keybase.io/benruijl) on keybase.
- I have a public key ASD-AVhC9lA8iAbcSDA14mUmXd_e6oZwmKgdi5a3esxplAo
This file contains 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
package pathfinding; | |
import pathfinding.Grid2d; | |
public class Example { | |
public Example() { | |
double[][] map = { { 0, 1, 2 }, { 3, 3, 2 }, { 0, -1, 0 } }; | |
Grid2d map2d = new Grid2d(map, false); | |
System.out.println(map2d.findPath(0, 0, 2, 2)); | |
} |
This file contains 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
shopt -s extglob | |
declare -A access | |
access=(); | |
cutoff=$(date +%s -d "1 week ago"); | |
packages=$(pacman -Ql | tail -n 5000); | |
IFS=$'\n' | |
for package in $packages; do | |
pname=$(echo $package | cut -f1 -d' '); |