Skip to content

Instantly share code, notes, and snippets.

🐧
🦀

Leandro Lisboa Penz lpenz

🐧
🦀
Block or report user

Report or block lpenz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tboby
tboby / Referee.java
Created May 14, 2017
Code4life cg-brutaltester referee
View Referee.java
import java.awt.Point;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
View nix-multi.md

Multi user nix installation

Each section should be run as the user or as root, pay attention to which one!

Install nix single user

As $USER

curl https://nixos.org/nix/install | sh
@suewonjp
suewonjp / toggle-qf-win.vim
Created Jun 7, 2016
[vim tip] Toggle Quickfix Window
View toggle-qf-win.vim
function! ToggleQuickfix()
let l:nr = winnr("$")
if l:nr == 1
copen
else
cclose
endif
endfunction
@joepie91
joepie91 / .md
Last active Jan 1, 2020
Nix in multi-user mode on a non-NixOS (eg. Debian) system
View .md

This post is deprecated!

Its contents have been moved to the NixOS wiki here, where they are being kept up to date. Please follow the instructions there instead!

The original post is below for posterity.

 

 

View orthodoxc++.md

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@diogob
diogob / .spacemacs
Last active Jan 26, 2017
Spacemacs config file
View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@NegativeMjark
NegativeMjark / identicon.py
Last active Jul 3, 2017
Identicon Generator Webapp
View identicon.py
#! /usr/bin/env python
from flask import Flask, make_response
from io import BytesIO
from pydenticon import Generator
app = Flask(__name__)
foreground = [
"rgb(45,79,255)",
@nrc
nrc / tools.md
Last active Jan 2, 2020
Rust tooling
View tools.md

Rust developer tools - status and strategy

Availability and quality of developer tools are an important factor in the success of a programming language. C/C++ has remained dominant in the systems space in part because of the huge number of tools tailored to these lanaguages. Succesful modern languages have had excellent tool support (Java in particular, Scala, Javascript, etc.). Finally, LLVM has been successful in part because it is much easier to extend than GCC. So far, Rust has done pretty well with developer tools, we have a compiler which produces good quality code in reasonable time, good support for debug symbols which lets us leverage C++/lanaguge agnostic tools such as debuggers, profilers, etc., there are also syntax highlighting, cross-reference, code completion, and documentation tools.

In this document I want to layout what Rust tools exist and where to find them, highlight opportunities for tool developement in the short and long term, and start a discussion about where to focus our time an

You can’t perform that action at this time.