This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.app.splash; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import java.util.Timer; | |
import java.util.TimerTask; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.app.splash" > | |
<application | |
android:allowBackup="true" | |
android:icon="@drawable/ic_launcher" | |
android:label="@string/app_name" | |
android:theme="@style/AppTheme"> | |
<activity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private View.OnClickListener btnJagger_onClickListener = new View.OnClickListener() { | |
String message=""; | |
@Override | |
public void onClick(final View v) { | |
AlertDialog.Builder builder = new AlertDialog.Builder(v.getContext()); | |
message=(getString(R.string.thanks)+"\n"+getString(R.string.about)) ; | |
builder.setTitle(R.string.company_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="red_50">#fde0dc</color> | |
<color name="red_100">#f9bdbb</color> | |
<color name="red_200">#f69988</color> | |
<color name="red_300">#f36c60</color> | |
<color name="red_400">#e84e40</color> | |
<color name="red_500">#e51c23</color> | |
<color name="red_600">#dd191d</color> | |
<color name="red_700">#d01716</color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if (($permissionChecker.isOmniadmin())||$permissionChecker.isCompanyAdmin($themeDisplay.getCompanyId())|| | |
$permissionChecker.isCommunityAdmin($themeDisplay.getScopeGroupId())) | |
#dockbar() | |
#end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### [Utilizacion en entornos/herramientas que utilizen comandos de GNU/Linux] | |
### Ubicarse en el directorio que se reemplazaran las cadenas | |
##Recursivo | |
grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g' | |
##Incluido elementos ocultos | |
find . -type f -exec sed -i 's/foo/bar/g' {} + | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Check that have added these properties in the portal-ext.properties file | |
journal.template.velocity.restricted.variables= | |
velocity.engine.restricted.classes= | |
velocity.engine.restricted.variables= | |
## Way to add a web content by id | |
#set ($group_id = $getterUtil.getLong($request.theme-display.scope-group-id)) | |
#set ($webcontent-id = "0101") | |
#set ($webcontent=$journalContentUtil.getContent($group_id, $webcontent-id, "", "$locale", "")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## One way | |
if(!("jQuery" in window)) { | |
var head = document.getElementsByTagName('head')[0], | |
script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = '/resources/js/lib/jquery-2.1.0.min.js'; | |
head.appendChild(script); | |
} |
OlderNewer