Skip to content

Instantly share code, notes, and snippets.

View thewarpaint's full-sized avatar
馃巹
https://dosmilveinte.mx

Eduardo Garcia thewarpaint

馃巹
https://dosmilveinte.mx
View GitHub Profile
@thewarpaint
thewarpaint / github.js
Created January 15, 2014 18:51
Change GitHub's code review column width
var newWidth = 1280;
$('.container').css('width', newWidth + 'px');
$('.repository-content').css('width', (newWidth - 60) + 'px');
{
"projectId": 9999,
"statusId": 3,
"responsibleId": 254,
"petitionerId": 254,
"priorityId": 3,
"groupId": null,
"petitionId": null,
"taskSourceId": 1,
"concept": "TRY ME",
@thewarpaint
thewarpaint / README.md
Last active August 29, 2015 14:00
SAT 2012, 2013 and 2014 exchange rates
@thewarpaint
thewarpaint / noah-transcription.md
Last active August 29, 2015 14:01
Noah creation sequence transcription

Noah creation sequence transcription

In the beginning there was nothing, nothing but the silence of infinite darkness. The breath of the Creator flooded against the face of the void whispering "Let there be light" and light was, and it was good. The first day.

And then the formless light began to take on substance and shape, the second day.

And the whole world was born, our beautiful, fragile home. And a great warming light nurtured its days, and a lesser light ruled the nights, and there was evening and morning, another day.

And the waters of the world gathered together, and in their midst emerged dry land. Another day passed.

@thewarpaint
thewarpaint / observaciones.md
Created May 26, 2014 21:39
Observaciones Startup

Cada seis meses:

  • Dos semanas de definici贸n de proyecto.
  • Una semana de recepci贸n.
  • Una semana de evaluaci贸n en comit茅.
  • Una semana de presentaci贸n.
  • Una semana de votaci贸n.
  • Anuncio de propuesta ganadora.
  • Reclutamiento y selecci贸n, si aplica.
  • Ocho semanas de desarrollo, con revisiones peri贸dicas cada dos.
  • Reuni贸n de presentaci贸n del producto terminado.
@thewarpaint
thewarpaint / angular.html
Created July 7, 2014 15:59
Angular from CDN with fallback
<!-- attempt to load AngularJS from CDN -->
<script src="https://code.angularjs.org/1.2.16/angular.min.js"></script>
<!-- if AngularJS fails to load fallback a local version -->
<script>window.angular || document.write('<script src="local/path/to/angular.min.js"><\/script>');</script>
@thewarpaint
thewarpaint / filter.js
Created August 25, 2014 04:30
Angular filter to convert numbers to thousand suffixes (1234 > 1.2k)
// Based on http://stackoverflow.com/questions/1571374/converting-values-to-unit-prefixes-in-jsp-page.
// The inner filter function can be used standalone.
angular.module('Utils')
.filter('thousandSuffix', function () {
return function (input, decimals) {
var exp, rounded,
suffixes = ['k', 'M', 'G', 'T', 'P', 'E'];
if(window.isNaN(input)) {
@thewarpaint
thewarpaint / hyperlogout-co.md
Last active January 4, 2017 08:46
hyperlogout.co

What is it?

Hyperlogout is a website that will log you out from popular internet services that probably implement logout in an unsafe way, such as Amazon, Gmail, Hacker News, Instagram, Spotify and others. See the full list here.

Yes, you've probably seen it before. This is a shameless clone of Superlogout, but you can contribute by adding more vulnerable websites.

How does it work?

We try to trigger logout on your behalf by doing GET and POST requests to some services. If those services don't check whether or not you're manually doing it, they just terminate your session.

@thewarpaint
thewarpaint / flat-ui.json
Last active August 29, 2015 14:23
Color Palette
{
"name": "Flat UI",
"colors": [
{
"name": "Turquoise",
"variable": "$palette-turquoise",
"color": "#1abc9c"
},
{
"name": "Green Sea",
@thewarpaint
thewarpaint / README.md
Last active September 4, 2015 04:33
Google Time Machine!

Google Time Machine!

Execute any of the code snippets below on google.com to randomize your logo and favicon. Works also for any other regional Google.com page.