Skip to content

Instantly share code, notes, and snippets.

View ryukinix's full-sized avatar
☢️
IN RESEARCH

Manoel V. Machado ryukinix

☢️
IN RESEARCH
View GitHub Profile
@brettlangdon
brettlangdon / Wallpapers.md
Last active December 16, 2024 19:47
Wallpapers

Wallpapers

Install with git git clone https://gist.github.com/85942af486eb79118467.git ~/Pictures/wallpapers

@fukamachi
fukamachi / common-lisp-scripting-with-roswell.md
Last active April 10, 2021 16:39
Common Lisp Scripting with Roswell (Draft)

Common Lisp Scripting with Roswell

"Roswell Script" is implementation-independent Common Lisp scripting program which uses Roswell. Although Roswell itself is a unified interface to Common Lisp implementations, it also encourages writing scripts with it.

To start writing it, run ros init in your terminal:

$ ros init
Usage: ros init [template] name [options...]
@onlurking
onlurking / 2048.py
Last active November 4, 2018 18:57
Python 3 port and PEP8 compliant version of David Sousa's 2048 game, to run install the latest version of pygame with python 3: https://bitbucket.org/pygame/pygame/get/default.zip, original source: https://github.com/davidsousarj/2048py/blob/master/2048py.py
# 2048.py
# Written in python / pygame by DavidSousaRJ - [email protected]
# License: Creative Commons
# Sorry about some comments in portuguese!
import os
import sys
import pygame
from pygame.locals import *
from random import randint

This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
@j-alberto
j-alberto / application.desktop
Last active July 23, 2025 16:13
Very basic ubuntu desktop-file template
[Desktop Entry]
Type=Application
Name=myAppName
Icon=~/myApp/icon.xpm
Exec=~/myApp/launcher
Comment=brief description
Categories=Development;IDE;
Terminal=false
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration.
This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place your code here."
(spacemacs/set-leader-keys-for-major-mode 'oz-mode
"sb" 'oz-feed-buffer
"sl" 'oz-feed-line
var shitPosting;
function clearShitFromAPDA() {
Array.prototype.slice.call(document.getElementsByClassName('userContent'), 0)
.filter(x => x.innerText.match(/^\[off\]/i))
.map(x => x.parentNode.parentNode)
.forEach(x => x.parentNode.removeChild(x));
shitPosting = setTimeout(clearShitFromAPDA, 1000);
}
@onlurking
onlurking / fizzbuzz.md
Last active September 6, 2016 01:01
Python FizzBuzz Oneliners
for x in ("FizzBuzz" if num % 15 == 0 else "Fizz" if num % 3 == 0 else "Buzz" if num % 5 == 0 else num for num in range(1,101)): print(x)
for x in ["fizzbuzz" if not x % 15 else "buzz" if not x % 5 else "fizz" if not x % 3 else str(x) for x in range(100)]: print(x)
@Irio
Irio / email.md
Last active October 5, 2016 05:12
[Serenata de Amor] Email de caso disponível

Olá!

Você foi escolhido para participar das primeiras investigações da Operação Serenata de Amor. Se você ainda não se deu conta, você já está fazendo sua parte na Serenata ao Brasil, trabalhando na transparência nas contas públicas. Com a sua ajuda, chegaremos no estágio onde o trabalho manual será o mínimo possível, à cargo do próprio Poder Judiciário.

Mas antes de começarmos, aqui vão algumas dicas que podem facilitar o seu trabalho:

O caso que você vai investigar foi denunciado pelo Robô. Porém, como esse sistema ainda está aprendendo, não temos certeza se o que foi detectado realmente é ilegal. Por isso precisamos muito da sua contribuição.

Não queremos influenciar o seu trabalho. O que você está recebendo é um conjunto de notas que pode ou não ter irregularidades. Nos ajude a entender esses detalhes para identificar se o caso pode ou não ser denunciado ao Ministério Público.

@mpneuried
mpneuried / Makefile
Last active July 4, 2025 23:21
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)