Skip to content

Instantly share code, notes, and snippets.

View stripthis's full-sized avatar
😼

Remy Bertot stripthis

😼
View GitHub Profile
alert('ok');
@stripthis
stripthis / Passbolt Individual Contributor License Agreement.md
Last active May 31, 2023 08:25
Passbolt Individual Contributor License Agreement

Passbolt Contributor License Agreement

This contributor agreement ("Agreement") documents the rights granted by contributors to Passbolt SA, a private company organised under the laws of the Duchy of Luxembourg with registered office in 9 Avenue du Blues, L-4368 Belvaux, Luxembourg (hereinafter referred to as "Passbolt", "We" or "Us").

To make this document effective, please sign it and send it to Us by email or electronic submission. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.

1. Definitions

"You" means the the person or legal entity including its affiliates asked to accept this agreement. An affiliate is any entity that controls or is controlled by the legal entity, or is under common control with it.

@stripthis
stripthis / GWBR Monthly Newspaper (Conexão Verde)
Created June 15, 2016 05:28
GWBR Monthly Newspaper (Conexão Verde)
<style type="text/css">.con-container img { margin: inherit; display: inherit !important;}
.treinamentos-box { margin-bottom: 77px; float: left; width: 100%}
.treinamentos-box-img { float: left;}
.treinamentos-box-img img { height: 120px; width: 180px; margin-right: 30px}
.treinamentos-box h2 { font-size: 16px; margin-top: 10px}
.treinamentos-box h3 { font-size: 15px; font-weight: lighter; margin-top: 19px}
.treinamentos-box-txt { float: left; width: 300px}
@media (max-width:960px){
<style type="text/css">.especial{ width:930px; background-
image:url(https://static.greenwire.greenpeace.org/sites/default/files/f141e3ec-d5e6-42ed-b09c-3ad7100788a9.jpg); min-height:1543px;}
.listagem_especial{ width:164px; border:solid 0px; display:inline-block; margin-left:16px;margin-bottom:15px; margin-top:15px;}
.listagem_especial a img:hover{ opacity:.7; filter:alpha(opacity=70); transition:All .2s ease; -webkit-transition:All .2s ease;-moz-transition:All .2s ease; -o-transition:All .2s ease;cursor:pointer;}
.especial p{ text-align:center; font-size:16px; padding-left:20px; padding-right:20px;color:#3f4b61; line-height:22px;}
</style>
body {
background:#FFF;
font-family:sans-serif;
}
table {
border:1px solid #CCC;
border-collapse:collapse;
text-align:left;
}
table th,
.container {
background:red;
width:500px;
border:1px solid blue;
float:left;
}
.right,
.left {
padding:5px;
margin:5px;
@stripthis
stripthis / buttons
Last active December 19, 2015 19:38
/* ==========================================================================
Buttons
========================================================================== */
/*
Generic button
Description : We support <input[submit]>, <input.button>, <button> and <a.button>
Compatible : IE6+, Firefox 2+, Safari 4+, Chrome 1+, Opera 11+
Since : version 3.0
@stripthis
stripthis / 42.php
Created April 21, 2013 16:48
List of english words that sum of letters is 42
<?php
// words are there
// http://www.infochimps.com/datasets/word-list-100000-official-crossword-words-excel-readable/downloads/144625
$handle = @fopen("words.txt", "r");
if ($handle) {
while (($buffer = fgets($handle, 4096)) !== false) {
$w = str_split(rtrim($buffer));
$sum = 0;
foreach ($w as $letter) {
$sum += (ord($letter)-96);