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
/* | |
1. Set two variables below | |
2. Run > setup (twice, once to authenticate the script, second to actually run | |
3. Rescources > Current project trigger's and then click 'No triggers set up. Click here to add one now.' | |
You can accept the defaults to run emailAnnouncements() every hour | |
*/ | |
var url_of_announcements_page = "https://sites.google.com/site/appsscripttemplates/home/announcetest"; // where your site page is | |
var who_to_email = "youremail@example.com" // who to send to (it can be a comma seperated list) |
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
sp_configure ‘show advanced options’, 1; | |
GO | |
RECONFIGURE; | |
GO | |
sp_configure ‘Ole Automation Procedures’, 1; | |
GO | |
RECONFIGURE; | |
GO |
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
function (startDate, endDate, addFn, interval) { | |
addFn = addFn || Date.prototype.addDays; | |
interval = interval || 1; | |
var retVal = []; | |
var current = new Date(startDate); | |
while (current <= endDate) { | |
retVal.push(new Date(current)); |
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
{ | |
"rules": [ | |
{ | |
"rule-type": "selection", | |
"rule-id": "1", | |
"rule-name": "1", | |
"object-locator": { | |
"schema-name": "Test", | |
"table-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
Check for the ports open | |
give password to root user | |
GRANT ALL ON *.* TO root@'%' IDENTIFIED BY 'yourpass' |
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
import java.io.IOException; | |
import java.lang.reflect.Method; | |
import java.util.AbstractCollection; | |
import java.util.ArrayList; | |
import java.util.EnumSet; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map; | |
import android.media.AudioManager; | |
import android.media.MediaPlayer; |
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
import android.util.Log; | |
public class Logcat{ | |
/* | |
* ALLOW_LOG to enable or disable debugging log | |
*/ | |
private static final boolean ALLOW_LOG = true; |
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
git config core.filemode false |
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
<?php | |
class Imaging | |
{ | |
// Variables | |
private $img_input; | |
private $img_output; | |
private $img_src; | |
private $format; |
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
import java.io.BufferedInputStream; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; | |
import java.io.OutputStreamWriter; | |
import java.io.PrintWriter; |
NewerOlder