Skip to content

Instantly share code, notes, and snippets.

View marcialwushu's full-sized avatar
💭
👍 'If you lie to the compiler, it will get its revenge.' -- Henry Spencer

Cleilson marcialwushu

💭
👍 'If you lie to the compiler, it will get its revenge.' -- Henry Spencer
View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
titulo,conteudo
Desenhos que icebergs deixam no fundo do mar contam história do clima,"A imagem acima parece um desenho com giz de cera feito por uma criança. Mas, na verdade, trata-se de uma foto das imensas ""cicatrizes"" deixadas no leito marinho pelo movimento de um imenso bloco de gelo. Os traços registram a trajetória de um iceberg à medida que ele foi movido por ventos, correntes e marés. E essa ""arte glacial"" faz parte de uma incrível coleção de imagens que detalha como a ação do gelo moldou o fundo do mar nas regiões polares da Terra. Um atlas compilado pela Sociedade Geológica de Londres reúne o trabalho de mais de 250 cientistas de 20 países e representa a mais abrangente perspectiva do leito marinho nas altas latitudes. ""Temos um grande número de imagens de alta resolução das marcas deixadas pela ação do gelo"", diz Kelly Hogan, uma das editoras do trabalho. ""Podemos ver onde o gelo esteve e o que fez. Isso permite com que façamos comparações com o presente e nos ajuda a entender o que po
@theabbie
theabbie / bankers.c
Last active April 5, 2021 03:40
Banker’s Algorithm
#include <stdio.h>
#define MAX 20
typedef struct {
int id;
int done;
int claims[MAX];
int allocations[MAX];
int needs[MAX];
} Process;
@sibelius
sibelius / backendLearningPath.md
Created January 15, 2021 14:59
Backend Learning Path - Basics that you should learn
  • learn about basic database modelling, use excalidraw
  • learn how to connect to a database and performe queries
  • learn how to expose a CRUD API REST and/or GraphQL
  • learn how to document the API using Swagger, swagger-jsdoc is the best for it
  • learn how to test your API using Postman, and also automated using jest and supertest
  • learn how to consume other APIs using fetch

Also check Docker Learning Path and Lambda Learning Path

@Techbrunch
Techbrunch / xamarin-reverse-engineering.md
Last active July 12, 2024 16:31
Xamarin Reverse Engineering

Notes:

Regarding the interception of HTTP:

We did it through USB reverse tunneling and iptable rules local to the phone.

@akitaonrails
akitaonrails / links.md
Created November 6, 2019 01:28
Links de referência pro Episódio 66 do Canal Akitando
@allefgomes
allefgomes / merged-files.rb
Last active April 4, 2021 22:22
Merge all pdfs
require 'combine_pdf'
pdf = CombinePDF.new
# Verify all files
p '##################### Search files #####################'
Dir.entries(Dir.pwd).each do |file|
# Merge files
pdf << CombinePDF.load(file) unless File.extname(file) != ".pdf"
end
# Save file
@oseiskar
oseiskar / swagger-yaml-to-html.py
Last active April 30, 2024 10:57
Converts Swagger YAML to a static HTML document (needs: pip install PyYAML)
#!/usr/bin/python
#
# Copyright 2017 Otto Seiskari
# Licensed under the Apache License, Version 2.0.
# See http://www.apache.org/licenses/LICENSE-2.0 for the full text.
#
# This file is based on
# https://github.com/swagger-api/swagger-ui/blob/4f1772f6544699bc748299bd65f7ae2112777abc/dist/index.html
# (Copyright 2017 SmartBear Software, Licensed under Apache 2.0)
#
@MoOx
MoOx / README.md
Last active May 11, 2023 13:59
How to keep in sync your Git repos on GitHub, GitLab & Bitbucket easily
@snake575
snake575 / GuidUtility.cs
Last active January 12, 2021 19:06
Deterministic GUID utility class for C# according to RFC 4122 (from: http://faithlife.codes/blog/2011/04/generating_a_deterministic_guid)
using System;
using System.Security.Cryptography;
using System.Text;
/// <summary>
/// Helper methods for working with <see cref="Guid"/>.
/// </summary>
public static class GuidUtility
{
/// <summary>
@suriyaa
suriyaa / varnish-on-windows.md
Created July 7, 2017 11:04
Install Varnish Cache on Windows with cygwin

Varnish Cache on Windows

Build instructions with cygport packages (for development)

Cygport source packages can be build using cygport program. Cygport can be installed using cygwin setup.exe.