Skip to content

Instantly share code, notes, and snippets.

View raul1991's full-sized avatar
💭
Looking for a job change.

cafebabe1991 raul1991

💭
Looking for a job change.
View GitHub Profile
@raul1991
raul1991 / MERGE_COMMIT_TEMPLATE.md
Last active September 14, 2022 05:06
Merge template for my PR

(): <title>

@raul1991
raul1991 / zsh-custom.sh
Created October 7, 2021 06:19
Installing zsh with plugins and spaceship theme
#!/bin/bash
set -e
# install zsh shell
brew install zsh
# install ohmyzsh for customizations
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# adding the syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
@raul1991
raul1991 / file.rb
Created November 15, 2014 09:58
Adb commands for rwx
First command
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
Second command
adb shell chmod 777 /system/etc
@raul1991
raul1991 / alphas
Created July 30, 2014 11:58
SurpriseAlphabets
S- saby
T - gunjan
A - anmol
Y - Puneet
H - priyanka (komal's frend)
A - gaurav
P - Suman
P- Madu
Y!😀- Rahul
@raul1991
raul1991 / DataModel
Created July 3, 2014 05:43
Gson programs
import java.util.ArrayList;
import java.util.List;
public class DataModel {
private String title = "GsonDemo";
private int length = 1;
private float temperature = 37.5f;
private List<String> items = new ArrayList<String>() {
@raul1991
raul1991 / test
Created June 25, 2014 13:03
Xslt file
<?xml version="1.0"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xalan="http://xml.apache.org/xalan">
<xsl:output method="xml" indent="yes" xalan:indent-amount="2" omit-xml-declaration="no"/>
<xsl:template match="FlatRateSMSConfiguration">
<FlatRateSMSConfiguration>
<xsl:attribute name="xsi:noNamespaceSchemaLocation"><xsl:value-of select="@xsi:noNamespaceSchemaLocation"/></xsl:attribute>
<xsl:for-each select="Configuration">
<xsl:element name="Configuration">
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
<xsl:copy-of select="SMSServiceDays"/>