Skip to content

Instantly share code, notes, and snippets.

View chepe263's full-sized avatar
📠
now I'm into nodejs

Capitan Nemo chepe263

📠
now I'm into nodejs
  • Interenet
View GitHub Profile
@chepe263
chepe263 / Filelist
Created January 12, 2013 06:26
Content of /system/app
AccountAndSyncSettings.apk
AccountAndSyncSettings.odex
AdminFeedNotifier.apk
AdminFeedNotifier.odex
AdService.apk
AdService.odex
ApplicationsProvider.apk
ApplicationsProvider.odex
ArcVideoEditorLite.apk
ArcVideoEditorLite.odex
@chepe263
chepe263 / KyauAlbertPlaylistScript
Created November 4, 2013 17:45
"Pretty playlist" This little script changes the playlist in the page http://www.kyauandalbert.com/en/radio.html to the following format ##. Artist "Trackname" (Remixed) Just open the developer tools of your browser (Chrome=F12 key) and find the "console" tab. Copy the script and press enter.
/*
"Pretty playlist"
This little script changes the playlist in the page http://www.kyauandalbert.com/en/radio.html to the following format
##. Artist "Trackname" (Remixed)
01. SHato & Paul Rockseek "The Hunt" (No-Name-Exist Remix)
Original format
##Artist Tracname (Remixed)
01Armin van Buuren Wont Let You Go (Tritonal Club Mix)
*/
ぼくに押し倒されたのに
動揺の色見せない
というより
表情が
まるで変わらない
でも
かわいい
@chepe263
chepe263 / Separar palabras con tildes
Last active August 29, 2015 14:11
VBA-Excel: Buscar si palabra tiene tilde
'http://stackoverflow.com/questions/22542834/how-to-use-regular-expressions-regex-in-microsoft-excel-both-in-cell-and-loops
Sub buscarAcentos()
Dim regEx As New RegExp
Dim strPattern As String: strPattern = "[áéíóúÁÉÍÓÚ]"
Dim Myrange As Range
Dim i As Integer
With regEx
['<span class="icon-ninos icon-ninos-01">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-02">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-03">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-04">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-05">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-06">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-07">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-08">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-09">&nbsp;</span>',
'<span class="icon-ninos icon-ninos-10">&nbsp;</span>',
@chepe263
chepe263 / README.md
Created February 18, 2016 16:22 — forked from fnichol/README.md
Download a cacert.pem for RailsInstaller

Why?

There is a long standing issue in Ruby where the net/http library by default does not check the validity of an SSL certificate during a TLS handshake. Rather than deal with the underlying problem (a missing certificate authority, a self-signed certificate, etc.) one tends to see bad hacks everywhere. This can lead to problems down the road.

From what I can see the OpenSSL library that Rails Installer delivers has no certificate authorities defined. So, let's go fetch some from the curl website. And since this is for ruby, why don't we download and install the file with a ruby script?

Installation

The Ruby Way! (Fun)

March 21, 2016:
http://www.mediafire.com/download/w3c1h96dbny45dd/cm-13.0-20160321-UNOFFICIAL-surnia.zip
- Support for XT1529
- Fixed call log crash
March 20, 2016:
http://www.mediafire.com/download/se4s93flcl2q2s0/cm-13.0-20160320-UNOFFICIAL-surnia.zip
- Updated kernel
- Adjusted vibration levels
- CDMA APN changes
@chepe263
chepe263 / forex
Created April 17, 2016 01:57
Get exchange rates from https://openexchangerates.org/
rExchange = function(symbol, apikey){
if (symbol === undefined || symbol.length !==3 ){
return null;
}
if (apikey === undefined && apikey.length !==32){
return null;
}
var xhr = new XMLHttpRequest();
xhr.open('GET', encodeURI("https://openexchangerates.org/api/latest.json?app_id="+apikey));
rate =
@chepe263
chepe263 / AiFitToArtboard.jsx
Created June 10, 2016 18:12 — forked from ruandre/AiFitToArtboard.jsx
Adobe Illustrator script to resize objects proportionally to fit inside the artboard.
/*
License: GPLv2 or later
Adobe Illustrator script to resize objects proportionally to fit inside the artboard.
Works in CS6 (should work in later versions).
Doesn't work in CS3 (and probably won't work in earlier versions).
<script>
xModalidad = "1";
</script>
<script src="<%=ResolveUrl("asset/main.js") %>"></script>
<link rel="Stylesheet" href="<%=ResolveUrl("asset/main.css") %>" />
<div id="clockContainer">
<i class="fa fa-clock-o"></i>&nbsp;&nbsp;<span id="lblSegundos"></span>
</div>
<div ng-app="app" >