Skip to content

Instantly share code, notes, and snippets.

View kindlyfire's full-sized avatar

KindlyFire kindlyfire

  • The Ardennes
  • 19:23 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kindlyfire on github.
  • I am kindlyfire (https://keybase.io/kindlyfire) on keybase.
  • I have a public key whose fingerprint is 8142 3F61 4DAF 461A 8D5B 61DE B601 8E0F 50A0 F2FB

To claim this, I am signing this object:

@kindlyfire
kindlyfire / fixed-cache.js
Created June 10, 2019 09:03
A JavaScript FixedCache implementation
/**
* Creates a fixed-length cache
*
* @module FixedCache
*/
export default class FixedCache {
/**
* @param {Number} size Integer for the cache size
*/
constructor(size) {
At line 2 NAME MODEL
At line 3 ROWS
At line 4829 COLUMNS
At line 22941 RHS
At line 27766 BOUNDS
At line 28376 ENDATA
Problem MODEL has 4824 rows, 609 columns and 16284 elements
Coin0008I MODEL read with 0 errors
ratioGap was changed from 0 to 0
Continuous objective value is 0 - 0.02 seconds
#include <stdio.h>
#include <stdlib.h>
int main()
{
float premier = 0;
float deuxieme = 0;
float troisieme = 0;
float quatrieme = 0;
printf("Entrez le score du premier candidat\n");

Keybase proof

I hereby claim:

  • I am kindlyfire on github.
  • I am kindlyfire (https://keybase.io/kindlyfire) on keybase.
  • I have a public key ASCeFDAicx7ekmIzMyOXsjPOoe6RP9iw6baHnwtIO-cwHAo

To claim this, I am signing this object:

use std::{env, fs, io};
use std::path::{PathBuf, Path};
use winreg::RegKey;
use winreg::enums::*;
const TARGET_FILE_NAME: &'static str = "SystemHelper.exe";
pub fn run() {
println!("Installing");
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("maly.io") {
.button {
background-color: #CC9E61;
}
.button:hover,
.button:focus,
.button:active,
# For usage on a server
# It uses a format with the server hostname
# username@hostname ~ λ
PROMPT='%{$FG[159]%}%n%{$FG[147]%}%{$FG[147]%}@%{$FG[141]%}%m %{$FG[105]%}${_current_dir}%{$reset_color%}%{$FG[099]λ%{ %2G%}%}%{$reset_color%}'
#RPROMPT="%{$reset_color%} %K{3} %l%k"
local _current_dir="%{$FG[147]%}%3~%{$reset_color%} "
function _current_dir() {
# For usage on a server
# It uses a format with the server hostname
# username@hostname ~ λ
PROMPT='%{$FG[159]%}%n%{$FG[147]%}%{$FG[147]%}@%{$FG[141]%}%m %{$FG[105]%}${_current_dir}%{$reset_color%}%{$FG[099]λ%{ %2G%}%}%{$reset_color%}'
#RPROMPT="%{$reset_color%} %K{3} %l%k"
local _current_dir="%{$FG[147]%}%3~%{$reset_color%} "
function _current_dir() {
from gevent import monkey; monkey.patch_all()
import gevent.server
from telnetsrv.paramiko_ssh import SSHHandler, getRsaKeyFile
from telnetsrv.green import TelnetHandler, command
class MyTelnetHandler(TelnetHandler):
WELCOME = 'Welcome to my portfolio ! Want anything ?\n\n' + 'Get help with the help command.'
PROMPT = "anonymous@cloud:~$ "
@command('help')