This file contains hidden or 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
<!-- Initialize JQuery and SPCB --> | |
<script type="text/javascript" src="/sites/SPCB/Customization/js/jquery-3.5.1.min.js"></script> | |
<script type="text/javascript" src="/sites/SPCB/Customization/js/SPCB.js"></script> | |
<script> | |
$(document).ready(function () { | |
// Initialize form fields | |
This file contains hidden or 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
//Usage | |
function IsCurrentUserWithContributePerms() | |
{ | |
IsCurrentUserMemberOfGroup("Members", function (isCurrentUserInGroup) { | |
if(isCurrentUserInGroup) | |
{ | |
// The current user is in the [Members] group | |
} | |
}); |
This file contains hidden or 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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Notepad++</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
This file contains hidden or 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
<script type="text/JavaScript" src="/2013/MD/Scripts%20%20Styles/Scripts/jquery.min.js"></script> | |
<script type="text/JavaScript"> | |
//alert("test1"); | |
$(document).ready(function() | |
{ | |
var columnName = "Project Status"; // Enter your column name where you want to append the KPI | |
var kpiColumnName="KPI Column"; | |
var getProjectStatusColIndex = parseInt($('tr').find('th:contains("'+columnName+'")').index()); | |
var kpiColumnIndex= parseInt($('tr').find('th:contains("'+kpiColumnName+'")').index()); |
This file contains hidden or 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
<script type="text/JavaScript" src="/2013/MD/Scripts%20%20Styles/Scripts/jquery.min.js"></script> | |
<script type="text/JavaScript"> | |
//alert("test1"); | |
$(document).ready(function() | |
{ | |
var columnName = "Project Status"; // Enter your column name where you want to append the KPI | |
var getProjectStatusColIndex = parseInt($('tr').find('th:contains("'+columnName+'")').index()); | |
var table=$('tr').find('th:contains("'+columnName+'")').closest('table'); |
This file contains hidden or 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(([Client Rating]+[Performance Rating])>7, "Good", | |
IF( AND(([Client Rating]+[Performance Rating])<=7,([Client Rating]+[Performance Rating])>=5),"Need Help", | |
IF(([Client Rating]+[Performance Rating])<5, "At Risk", "NA") | |
) | |
) |
This file contains hidden or 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
// The source for the Android application can be found at the following link: https://github.com/Lauszus/ArduinoBlinkLED | |
// The code for the Android application is heavily based on this guide: http://allaboutee.com/2011/12/31/arduino-adk-board-blink-an-led-with-your-phone-code-and-explanation/ by Miguel | |
#include <adk.h> | |
// | |
// CAUTION! WARNING! ATTENTION! VORSICHT! ADVARSEL! ¡CUIDADO! ВНИМАНИЕ! | |
// | |
// Pin 13 is occupied by the SCK pin on various Arduino boards, | |
// including Uno, Duemilanove, etc., so use a different pin for those boards. | |
// |
This file contains hidden or 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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion "Google Inc.:Google APIs:19" | |
buildToolsVersion '19.1.0' | |
defaultConfig { | |
applicationId "adk.srichakram.in.adk_googleapi" | |
minSdkVersion 19 | |
targetSdkVersion 19 |
This file contains hidden or 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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" | |
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"> | |
<ToggleButton | |
android:text="@string/ToggleButton" | |
android:id="@+id/toggleButtonLED" |
This file contains hidden or 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
import android.app.Activity; | |
import android.app.AlertDialog; | |
import android.app.PendingIntent; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.DialogInterface; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.hardware.usb.UsbAccessory; | |
import android.hardware.usb.UsbManager; |
NewerOlder