Skip to content

Instantly share code, notes, and snippets.

View atmosmps's full-sized avatar
👨‍💻
Focusing

Atmos Maciel atmosmps

👨‍💻
Focusing
View GitHub Profile
@ramcoelho
ramcoelho / regras_phpmaranhao.md
Last active February 8, 2018 21:28
PHP Maranhão: Regras do Grupo

Regras do grupo

Para tópicos

Antes de abrir um novo tópico verifique se já não existe um outro tópico aberto com o mesmo assunto/dúvida. Verifique antes também possíveis soluções para as suas dúvidas no Google.

@skarllot
skarllot / make-icpbrasil-bundle.sh
Last active November 16, 2024 21:48
Download ICP-Brasil certificates and make a bundle
#!/bin/bash
HTTPADDR=http://acraiz.icpbrasil.gov.br/credenciadas/CertificadosAC-ICP-Brasil/ACcompactado.zip
DEST=/etc/ssl/certs/icp-brasil
mkdir -p ${DEST}
cd ${DEST}
rm -f *.crt
rm -f *.zip
@pgmccann
pgmccann / styles.less
Created April 17, 2014 08:59
Condensed tree view for http://atom.io. Modify stylesheet using Atom > Open Your Stylesheet.
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
@amaudy
amaudy / reset_db.py
Created July 10, 2014 05:59
Python+psycopg2 for drop all tables of database you given.
#!/usr/bin/env python
import psycopg2
import sys
"""
Drop all tables of database you given.
"""
try:
anonymous
anonymous / Default.sublime-theme
Created September 5, 2014 22:13
Sublime Text 2 Default theme file
[
{
"class": "label_control",
"color": [255, 255, 255],
"shadow_color": [24, 24, 24],
"shadow_offset": [0, -1]
},
{
"class": "button_control",
"content_margin": [6, 5, 6, 6],
@limingjie
limingjie / UbuntuProxy.md
Last active March 23, 2023 12:43
Ubuntu Proxy Configuration

Ubuntu Proxy Configuration

Tested under Ubuntu 14.04.2 LTS

Global Proxy

Add proxies in /etc/environment

$ sudo vi /etc/environment
# Proxies
http_proxy="http://proxy.server.com:port/"
https_proxy=$http_proxy
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 18, 2025 02:49
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@alexserver
alexserver / rest-basics.md
Created October 28, 2015 18:56
REST basics, Theory, Principles, and examples.

RESTful API know-how

Motivation

I place my learning process in this document with 2 motives:

  1. To have a quick guide whenever I lost the track of knowledge.
  2. To share the knowledge with anyone wants to learn RESTful APIs

1. Before, some theory

@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE