Skip to content

Instantly share code, notes, and snippets.

View loloof64's full-sized avatar
💻
Developing projects in Rust

laurent bernabé loloof64

💻
Developing projects in Rust
  • Bayonne (France) in Pyrénées Atlantiques (64)
View GitHub Profile
@aliostad
aliostad / stockfish-interface.txt
Created August 17, 2019 10:41
stockfish - Description of the universal chess interface (UCI)
COPIED FROM https://build.opensuse.org/package/view_file/games/stockfish/stockfish-interface.txt?expand=1
Description of the universal chess interface (UCI) April 2006
=================================================================
* The specification is independent of the operating system. For Windows,
the engine is a normal exe file, either a console or "real" windows application.
* all communication is done via standard input and output with text commands,
@nikhita
nikhita / update-golang.md
Last active May 20, 2024 11:47
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by:

How to add an image to a gist

  1. Create a gist if you haven't already.
  2. Clone your gist:
    # make sure to replace `<hash>` with your gist's hash
    git clone https://gist.github.com/<hash>.git # with https
    git clone git@gist.github.com:<hash>.git     # or with ssh
@kripken
kripken / hello_world.c
Last active January 17, 2024 12:15
Standalone WebAssembly Example
int doubler(int x) {
return 2 * x;
}
@DanielGGordon
DanielGGordon / updateScalaVersion.sh
Last active January 20, 2023 14:55
Update Scala Version to Some Version on Debian/Ubuntu/Mint Linux Distrubtions via CLI
# Author: Daniel Gordon
# License: MIT
# Created: 10/28/2016
#
# Mini Script for Updating Scala to some Scala version
# Does not update SBT. Just Scala.
# See <http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Linux.html> for upgrading SBT
# This is for Debian/Mint/Ubuntu distributions only
#
# TO USE AS A SCRIPT:
@mondain
mondain / public-stun-list.txt
Last active May 15, 2024 02:39
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
@ddeveloperr
ddeveloperr / fast_push.txt
Last active May 17, 2024 09:47
How to avoid Git push: username, password in my terminal ?
Problem: Every push prompt me to input username and password.
I would like to avoid it for every push, but how to configure to avoid it?
Answer: Using SSH authentication on terminal.
1. Generate an SSH key
Linux/Mac
Open terminal to create ssh keys:
@ashelly
ashelly / getopt.c
Last active November 9, 2023 23:22
"Port of GNU getopt() to Win32 for anyone who's tired of dealing with getopt() calls in Unix-to-Windows ports." Ported by Pete Wilson. Recovered from the Internet Archive's snapshot of www.pwilson.net/sample.html.
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public