Easy to remember, easy to forget.
It's nice to be able to run subl
in a terminal.
/* | |
@description GOOGLE APPS SCRIPT - Simple REST method POST example with payload and header parameters. | |
@author raphael.alex@gmail.com | |
@github aelkz | |
*/ | |
// receives a HTML form element for parsing authentication data. | |
function getBasicAuth(htmlForm) { | |
var userAndPassword = htmlForm.username+":"+htmlForm.password; | |
// encode the string to base 64 |
<!-- @description The content bellow can be used on GAS - Google Apps Script for embed jquey and bootstrap into your customized html --> | |
<!-- @author raphael.alex@gmail.com --> | |
<!-- @github aelkz --> | |
<!-- Include Twitter Bootstrap and jQuery: --> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
/** @description | |
* javaScript/Google Apps script functions that are equivalent to common VBA functions | |
* in general these provide the same functionality and have the same calling stack | |
* See http://ramblings.mcpher.com/Home/excelquirks/codeuse for more details | |
* @author <a href="mailto:bruce@mcpher.com">Bruce McPherson</a><a href="http://ramblings.mcpher.com"> ramblings.mcpher.com</a> | |
*/ | |
/** | |
* Removes leading and trailing whitespace | |
* @param {string|number} v the item to be trimmed |
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app | |
xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | |
version="3.0"> | |
<display-name>JSF CDI Wildfly Demo</display-name> | |
<context-param> |
/******************************************************************************* | |
* Copyright (c) 2012 Rüdiger Herrmann | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: | |
* Rüdiger Herrmann - initial API and implementation | |
* Frank Appel - code review, idea for assertEquals( T, Object, Object ) |
-server | |
-Xms2048m | |
-Xmx2048m | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m | |
-XX:PermSize=512m | |
-XX:MaxPermSize=512m | |
-XX:+UseParNewGC | |
-XX:ParallelGCThreads=4 | |
-XX:MaxTenuringThreshold=1 |
Easy to remember, easy to forget.
It's nice to be able to run subl
in a terminal.
# | |
# /etc/nsswitch.conf | |
# | |
# An example Name Service Switch config file. This file should be | |
# sorted with the most-used services at the beginning. | |
# | |
# The entry '[NOTFOUND=return]' means that the search for an | |
# entry should stop if the search in the previous entry turned | |
# up nothing. Note that if the search failed due to some other reason | |
# (like no NIS server responding) then the search continues with the |
#!/bin/bash | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# Extract the Kraken | |
tar -xvzf gitkraken-amd64.tar.gz | |
# Move the Kraken |