Skip to content

Instantly share code, notes, and snippets.

View agripinoduarte's full-sized avatar

Agripino Duarte agripinoduarte

View GitHub Profile
### Keybase proof
I hereby claim:
* I am agripinoduarte on github.
* I am agripinoduarte (https://keybase.io/agripinoduarte) on keybase.
* I have a public key whose fingerprint is F217 EE9A 6CDF A1B8 E686 CC69 A85F 7D39 0B57 3506
To claim this, I am signing this object:
@agripinoduarte
agripinoduarte / 280.js
Created October 27, 2017 12:53
Habilita 280 caracteres no Tweetdeck
TD.services.TwitterClient.prototype.makeTwitterCall=function(b,e,f,g,c,d,h){c=c||function(){};d=d||function(){};b=this.request(b,{method:f,params:Object.assign(e,{weighted_character_count:!0}),processor:g,feedType:h});return b.addCallbacks(function(a){c(a.data)},function(a){d(a.req,"",a.msg,a.req.errors)}),b};
twttrTxt=Object.assign({},twttr.txt,{isInvalidTweet:function(){return!1},getTweetLength:function(){return twttr.txt.getTweetLength.apply(this,arguments)-140}});
{
"color_scheme": "Packages/Color Scheme - Default/iPlastic.tmTheme",
"font_face": "Inconsolata",
"font_size": 11.3,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[

Keybase proof

I hereby claim:

  • I am agripinoduarte on github.
  • I am agripinoduarte (https://keybase.io/agripinoduarte) on keybase.
  • I have a public key whose fingerprint is 56EC BE13 4284 A5F4 A7CB 77AD 66C5 510C 1766 7F79

To claim this, I am signing this object:

@agripinoduarte
agripinoduarte / subl-3-ext
Created March 17, 2015 21:10
Extensões Sublime Text 3
* PHPLint
* DocBlockr
* SublimeCodeIntel
@agripinoduarte
agripinoduarte / gist:4b2a1244ad900781c96c
Created March 16, 2015 14:28
disable UEFI on Acer Aspire
How to disable UEFI on Acer Aspire laptop and switch from WIndows 8 to Windows 7
Disclaimer: follow the steps at you own risk, I am just relating my experience with this situation. You may invalidate the laptop warrant by changing the factory configurations.
To enter factory BIOS turn off the laptop and then turn on. Press F2 during the boot until que BIOS screen appears. With the directional keys select the tab Boot, tap Enter then use up and down keys to switch between UEFI and Normal BIOS.
Now the laptop is ready to boot an usb stick or DVD.
If the Windows 7 installation fails with this error:
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
PING 179.185.69.164 (179.185.69.164) 56(84) bytes of data.
--- 179.185.69.164 ping statistics ---
22 packets transmitted, 0 received, 100% packet loss, time 21166ms
PING 187.54.72.78 (187.54.72.78) 56(84) bytes of data.
--- 187.54.72.78 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1008ms

Keybase proof

I hereby claim:

  • I am agripinoduarte on github.
  • I am agripinoduarte (https://keybase.io/agripinoduarte) on keybase.
  • I have a public key whose fingerprint is 73AE 1465 EAD9 6C18 281B B1AF B363 599C 87D8 1439

To claim this, I am signing this object:

@agripinoduarte
agripinoduarte / multiFields.js
Created February 5, 2013 20:06
Incrementa campos hasmany-like usados nos formulários do cakephp
multiField = function (buttonId, fieldSelector) {
$('#' + buttonId).click(function() {
div = $(fieldSelector + ':last').clone();
inputs = $(div).find('input,select');
$(inputs).each(function(i,e) {
incrementInputIndexes(i,e)
});
$(fieldSelector + ':last').after(div);
});
}