Skip to content

Instantly share code, notes, and snippets.

View marti1125's full-sized avatar
🐍

Willy Aguirre marti1125

🐍
View GitHub Profile
https://dtrinf.wordpress.com/2012/02/29/como-escribir-enes-n-y-acentos-en-java/
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Recent Changes (React JS Project)</title>
<script src="https://fb.me/react-15.1.0.min.js"></script>
<script src="https://fb.me/react-dom-15.1.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.js"></script>
</head>
<body>
git config --global alias.go checkout
git config --global alias.br branch
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.a "add ."
git config --global alias.u "add -u"
git config --global alias.pullmaster 'pull origin master'
git config --global alias.pushmaster 'push origin master'
@marti1125
marti1125 / gist:b22c6f80b7e1ed48dcce3f53ba6720c8
Created May 6, 2016 21:25
front-end tools and icons fonts
http://fredsarmento.me/frontend-tools/
https://github.com/marti1125/Symbols/blob/master/stylesheets/symbols.css (proyecto antiguo)
http://weloveiconfonts.com/
http://stackicons.com/
http://fontello.com/
@marti1125
marti1125 / gist:4339ed5e595fc8fec19b
Created March 14, 2016 13:58
taverna workkflow
<workflow xmlns="http://taverna.sf.net/2008/xml/t2flow" version="1" producedBy="taverna-core-2.5.0"><dataflow id="752f564d-f407-4495-a48e-f6e866787edc" role="top"><name>Workflow1</name><inputPorts><port><name>ID</name><depth>0</depth><granularDepth>0</granularDepth><annotations /></port></inputPorts><outputPorts><port><name>pscanOut</name><annotations /></port></outputPorts><processors><processor><name>Get_Protein_FASTA</name><inputPorts><port><name>id</name><depth>0</depth></port></inputPorts><outputPorts /><annotations /><activities><activity><raven><group>net.sf.taverna.t2.activities</group><artifact>localworker-activity</artifact><version>1.5</version></raven><class>net.sf.taverna.t2.activities.localworker.LocalworkerActivity</class><inputMap><map from="id" to="id" /></inputMap><outputMap /><configBean encoding="xstream"><net.sf.taverna.t2.activities.localworker.LocalworkerActivityConfigurationBean xmlns="">
<inputs>
<net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinit
@marti1125
marti1125 / js
Created February 29, 2016 12:57
get vowels and consonants
// complete the function
function vowelsAndConsonants(s) {
for(var i = 0; i < s.length; i++){
if( vowelTest(s[i]) ){
console.log(s[i])
}
}
@marti1125
marti1125 / javascript
Created February 12, 2016 16:01
get palindromes
//Write your code below this line.
function reverse(s) {
return s.split('').reverse().join('');
}
for(var i = 0; i < my_array.length; i++ ){
if(my_array[i] === reverse(my_array[i])){
console.log(my_array[i])
}
@marti1125
marti1125 / json
Created February 11, 2016 23:11
json categorias
{
"categorias": [
{
"categoria": "banco",
"cantidad": 10,
"activo": false
},
{
"categoria": "analisis",
"cantidad": 33,
@marti1125
marti1125 / javascript
Last active February 11, 2016 18:58
es6 array map filter result
var a = [
"Hydrogen",
"Helium",
"Lithium",
"Beryl­lium"
];
var test = a.map( s => {
if (s.length > 6)
return s.length;
@marti1125
marti1125 / gist:91ef6af42d76362d71c9
Created January 4, 2016 20:41
list of grunt tasks jquery-mobile
Available tasks
ci Alias for "ci:undefined" task.
ci:demos Alias for "test:demos" task.
ci:test Alias for "test", "coveralls" tasks.
release:init Custom task.