Desktop puzzle game. Level design resembles Escher's "impossible" drawings and passable path varies depending on where player is located and in which direction he moves.
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
int gcd( int a, int b) | |
{ | |
int temp; | |
while(b>0) | |
{ | |
if(a>b) | |
{temp=a; | |
a=b; | |
b=temp;} |
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
F[A] // A is a Functor | |
M[A] // A is a Monad | |
fa: F[A], a: A // variables used below | |
fa1 |+| fa2 // binary append (SemiGroup) | |
fa1 >| fa2 // map (Functor) | |
fa1 >>= fa2 // flatmap (Bind) | |
fa1 |>| fa2 // foreach (Each) | |
fa <**> fb { (a, b) => c } // apply, produces F[C] |
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
import os | |
from autobahn.resource import WebSocketResource, WSGIRootResource | |
from autobahn.websocket import WebSocketServerFactory, WebSocketServerProtocol | |
from flask import Flask, render_template | |
from twisted.application import internet, service | |
from twisted.internet import reactor | |
from twisted.python.threadpool import ThreadPool | |
from twisted.web.server import Site |
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
require 'rubygems' | |
require 'sinatra' | |
require 'fileutils' | |
# upload with: | |
# curl -v -F "data=@/path/to/filename" http://localhost:4567/user/filename | |
post '/:name/:filename' do | |
userdir = File.join("files", params[:name]) |
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
> module Huffman where | |
> import Control.Arrow | |
> import Data.List | |
> import qualified Data.Map as M | |
> import Data.Function | |
This typeclass is supposed to make life _a bit_ easier. |
Hi guys! Since I started to write Bluebox-ng I've been tracking the different security projects I found written in Node.js. Now we've published the first stable version we think it's the right moment to speak among us (and, of course, everyone interested in it :).
- I think we're rewriting the same stuff in our respective projects again and again. For example, almost any tool supports IPv6 because the functions we need are still not present in the Node core and the libraries I found (IMHO) were not enough.
- There're different projects implementing exactly the same thing, ie: port scanners.
- We're working in a too new environment, so we need to make it together.
https://www.reddit.com/r/JDM_WAAAT/comments/8zgkfj/server_build_nas_killer_v_20_the_terminator_dual/ 2x X5650 from this thread Aside from that build guide, a generic USB3 card and an AMD R9-200
Modify /etc/default/grub and add vfio-pci.ids=dead:beef video=efifb:off
to GRUB_CMDLINE_LINUX_DEFAULT (use the PCI vid/pid of your primary GPU, not dead:beef)
OlderNewer