Skip to content

Instantly share code, notes, and snippets.

View gildemberg-santos's full-sized avatar

Gildemberg Santos gildemberg-santos

View GitHub Profile
@skoqaq
skoqaq / build4123.sublime4.key
Last active November 19, 2024 04:18
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
@redbaty
redbaty / darkmode.css
Created October 24, 2019 02:43
Franz dark mode theme for Whatsapp (updated 23/10/19)
/*
- OSX: ~/Library/Application\ Support/Franz/recipes/whatsapp/darkmode.css
- Windows: %appdata%/Franz/recipes/whatsapp/darkmode.css
- Linux: ~/.config/Franz/recipes/whatsapp/darkmode.css
*/
/* ==UserStyle==
@name WhatsApp by Mew
@BenjaminWegener
BenjaminWegener / andronix.md
Last active January 1, 2024 07:19
install xfce debian in termux android
@cadr10
cadr10 / thesims4.sh
Last active October 12, 2024 17:12
The Sims 4 LINUX LUTRIS installer
#!/bin/bash
##TESTED WITH: FITGIRL REPACK LIVING ISLAND (NEED TO RUN TROUBLESHOOTING AFTER INSTALL) and CODEX.
##TESTADO COM: FITGIRL REPACK LIVING ISLAND (PRECISA RODAR O CONSERTAR DEPOIS DE INSTALAR) e CODEX.
#This can fix: executable not found error; game opens then closes after a sec; games opens with wrong language
#A seção consertar vai arrumar: problema de 'executable not found', o jogo abre e fecha depois de 1 segundo e o jogo abre em inglês.
trouble1() {
@schweigert
schweigert / Embedding GoLang into a Ruby application.md
Last active October 31, 2024 21:59
Embedding GoLang into a Ruby application - Blogpost to Magrathealabs

Go Title

I am passionate about Ruby, but its execution time compared to other languages is extremely high, especially when we want to use more complex algorithms. In general, data structures in interpreted languages become incredibly slow compared to compiled languages. Some algorithms such as ´n-body´ and ´fannkuch-redux´ can be up to 30 times slower in Ruby than Go. This is one of the reasons I was interested in embedding Go code in a Ruby environment.

For those who do not know how shared libraries operate, they work in a similar way as DLLs in Windows. However, they have a native code with a direct interface to the C compiler.

Note Windows uses the DLL system, and in this case, this does not necessarily have to be in native code.

One example is DLLs written in C#, which runs on a virtual machine. Because I do not use windows, I ended up not testing if it is poss

@kelvinst
kelvinst / create-ruby-gem.md
Last active July 19, 2024 14:20
Como criar uma gem ruby?

Como criar uma gem ruby?

Escolhi tratar sobre esse assunto hoje simplesmente porque foi uma das primeiras coisas que me perguntei "como eu faço isso?" no mundo ruby. Acredito que muita gente se pergunte a mesma coisa e espero que eu possa ajudar em algo para elas. 😀

O que é uma gem?

Bem, se você é um programador java, você chama sua gem de jar, se você é um programador C#, você chama de dll. Resumindo, é uma lib, uma biblioteca contendo códigos que você pode reaproveitar importando em outros projetos.

E usar gems no ruby é muito fácil, se você já deu uma brincada com rails por exemplo, é só você adicionar o código gem 'nome_da_gem' no arquivo Gemfile que está no root, depois executar o comando bundle install para baixar sua gem do repositório e pronto, só sair usando a biblioteca!

@henrik
henrik / README.markdown
Created June 26, 2012 07:30
This is how we test that all translation keys match up between locales, in Rails.

This is how we test that all translation keys match up between locales.

Stuff that only goes in one locale (such as an admin section) or that can't be translated yet (if you use external translators) can simply go in files that don't match the path "config/locales/??.yml", like "config/locales/wip.fo.yml".